[uClibc-cvs] uClibc/libnsl Makefile,1.2,1.3

Erik Andersen andersen at uclibc.org
Sat Oct 18 10:08:04 UTC 2003


Update of /var/cvs/uClibc/libnsl
In directory winder:/tmp/cvs-serv5990/libnsl

Modified Files:
	Makefile 
Log Message:
Peter Kjellerstedt writes:

install.patch:
* Define $(INSTALL) as install in Rules.mak.
* Change all occurrences of install into $(INSTALL).
* Change all occurrences of mkdir -p into $(INSTALL) -d.
  install -d is already used in a number of places so
  this should not be an additional compatibility problem.



Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libnsl/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile	12 Feb 2003 11:06:26 -0000	1.2
+++ Makefile	18 Oct 2003 10:07:40 -0000	1.3
@@ -32,9 +32,9 @@
 
 ar-target: $(OBJS)
 	$(AR) $(ARFLAGS) $(LIBNSL) $(OBJS)
-	install -d $(TOPDIR)lib
+	$(INSTALL) -d $(TOPDIR)lib
 	rm -f $(TOPDIR)lib/$(LIBNSL)
-	install -m 644 $(LIBNSL) $(TOPDIR)lib
+	$(INSTALL) -m 644 $(LIBNSL) $(TOPDIR)lib
 
 $(OBJS): %.o : %.c
 	$(CC) $(CFLAGS) -c $< -o $@
@@ -47,9 +47,9 @@
 		-o $(LIBNSL_SHARED_FULLNAME) --whole-archive $(LIBNSL) \
 		--no-whole-archive $(TOPDIR)/libc/misc/internals/interp.o \
 		-L$(TOPDIR)/lib -lc;
-	install -d $(TOPDIR)lib
+	$(INSTALL) -d $(TOPDIR)lib
 	rm -f $(TOPDIR)lib/$(LIBNSL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBNSL_SHARED).$(MAJOR_VERSION)
-	install -m 644 $(LIBNSL_SHARED_FULLNAME) $(TOPDIR)lib;
+	$(INSTALL) -m 644 $(LIBNSL_SHARED_FULLNAME) $(TOPDIR)lib
 	(cd $(TOPDIR)lib && ln -sf $(LIBNSL_SHARED_FULLNAME) $(LIBNSL_SHARED)); 
 	(cd $(TOPDIR)lib && ln -sf $(LIBNSL_SHARED_FULLNAME) $(LIBNSL_SHARED).$(MAJOR_VERSION)); 
 




More information about the uClibc-cvs mailing list