[uClibc-cvs] uClibc/libresolv Makefile,1.12,1.13

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


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

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/libresolv/Makefile,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- Makefile	28 May 2002 23:21:41 -0000	1.12
+++ Makefile	18 Oct 2003 10:07:42 -0000	1.13
@@ -38,9 +38,9 @@
 
 ar-target: $(OBJS)
 	$(AR) $(ARFLAGS) $(LIBRESOLV) $(OBJS)
-	install -d $(TOPDIR)lib
+	$(INSTALL) -d $(TOPDIR)lib
 	rm -f $(TOPDIR)lib/$(LIBRESOLV)
-	install -m 644 $(LIBRESOLV) $(TOPDIR)lib
+	$(INSTALL) -m 644 $(LIBRESOLV) $(TOPDIR)lib
 
 $(OBJS): %.o : %.c
 	$(CC) $(CFLAGS) -c $< -o $@
@@ -53,9 +53,9 @@
 		-o $(LIBRESOLV_SHARED_FULLNAME) --whole-archive $(LIBRESOLV) \
 		--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/$(LIBRESOLV_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBRESOLV_SHARED).$(MAJOR_VERSION)
-	install -m 644 $(LIBRESOLV_SHARED_FULLNAME) $(TOPDIR)lib;
+	$(INSTALL) -m 644 $(LIBRESOLV_SHARED_FULLNAME) $(TOPDIR)lib
 	(cd $(TOPDIR)lib && ln -sf $(LIBRESOLV_SHARED_FULLNAME) $(LIBRESOLV_SHARED)); 
 	(cd $(TOPDIR)lib && ln -sf $(LIBRESOLV_SHARED_FULLNAME) $(LIBRESOLV_SHARED).$(MAJOR_VERSION)); 
 




More information about the uClibc-cvs mailing list