From 130697527bfd32f3a6a6e4dfcc1e80c0cdfa0b37 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Tue, 25 Jan 2005 03:17:00 +0000
Subject: merge parallel build support

---
 libc/unistd/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'libc/unistd')

diff --git a/libc/unistd/Makefile b/libc/unistd/Makefile
index a097f06ea..ed142a8aa 100644
--- a/libc/unistd/Makefile
+++ b/libc/unistd/Makefile
@@ -42,12 +42,12 @@ endif
 COBJS=$(patsubst %.c,%.o, $(CSRC))
 OBJS=$(COBJS) $(MOBJ1)
 
-all: $(SYSCONF) $(OBJS) $(LIBC)
+OBJ_LIST=../obj.unistd
 
-$(LIBC): ar-target subdirs
+all: $(OBJ_LIST)
 
-ar-target: $(OBJS)
-	$(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+$(OBJ_LIST): $(OBJS)
+	echo $(patsubst %, unistd/%, $(OBJS)) > $(OBJ_LIST)
 
 $(MOBJ1): $(MSRC1)
 	$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
-- 
cgit v1.2.3