[uClibc-cvs] CVS uClibc/libc

CVS User vapier vapier at codepoet.org
Wed Jan 19 01:47:58 UTC 2005


Update of /var/cvs/uClibc/libc
In directory nail:/tmp/cvs-serv20360

Modified Files:
	Makefile 
Log Message:
fix target dependencies to support parallel building

--- /var/cvs/uClibc/libc/Makefile	2005/01/19 00:50:20	1.37
+++ /var/cvs/uClibc/libc/Makefile	2005/01/19 01:47:58	1.38
@@ -37,18 +37,15 @@
 VERSION_SCRIPT:=${shell if [ -f sysdeps/linux/$(TARGET_ARCH)/libc.map ] ; then \
         echo "--version-script sysdeps/linux/$(TARGET_ARCH)/libc.map"; fi}
 
-all: halfclean subdirs $(LIBNAME) $(DO_SHARED)
+all: halfclean $(LIBNAME) $(DO_SHARED)
 
-ar-target:
+$(LIBNAME) ar-target: subdirs
 	$(RANLIB) $(LIBNAME)
 	$(INSTALL) -d $(TOPDIR)lib
 	$(RM) $(TOPDIR)lib/$(LIBNAME)
 	$(INSTALL) -m 644 $(LIBNAME) $(TOPDIR)lib
 
-$(LIBNAME): subdirs ar-target
-
-
-shared: $(TOPDIR)lib/$(LIBNAME)
+shared: $(LIBNAME)
 	$(LD) $(LDFLAGS) $(VERSION_SCRIPT) -soname=$(SHARED_MAJORNAME) -o $(SHARED_FULLNAME) \
 		--whole-archive $(LIBNAME) \
 		$(TOPDIR)libc/misc/internals/interp.o --no-whole-archive \



More information about the uClibc-cvs mailing list