[uClibc-cvs] uClibc Makefile,1.236,1.237
Erik Andersen
andersen at uclibc.org
Thu Nov 13 09:04:25 UTC 2003
- Previous message: [uClibc-cvs] uClibc/libc/sysdeps/linux/common ntp_gettime.c, NONE, 1.1 Makefile, 1.93, 1.94 syscalls.c, 1.119, 1.120
- Next message: [uClibc-cvs] uClibc/include symcat.h,1.1,NONE ansidecl.h,1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/uClibc
In directory winder:/tmp/cvs-serv10716
Modified Files:
Makefile
Log Message:
Teach the install_dev target to behave itself and install
the correct stuff with the correct names, and not install
yet another set of shared libs in the wrong place
-Erik
Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/Makefile,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -d -r1.236 -r1.237
--- Makefile 8 Nov 2003 08:06:38 -0000 1.236
+++ Makefile 13 Nov 2003 09:04:21 -0000 1.237
@@ -244,13 +244,21 @@
-find $(PREFIX)$(DEVEL_PREFIX) -name CVS | xargs $(RM) -r;
-chown -R `id | sed 's/^uid=\([0-9]*\).*gid=\([0-9]*\).*$$/\1.\2/'` $(PREFIX)$(DEVEL_PREFIX)
ifeq ($(strip $(HAVE_SHARED)),y)
- -$(INSTALL) -m 644 lib/*.so $(PREFIX)$(DEVEL_PREFIX)lib/
- -find lib/ -type l -name '*.so' -exec cp -fa {} $(PREFIX)$(DEVEL_PREFIX)lib ';'
- # If we build shared libraries then the static libs are PIC...
- # Make _pic.a symlinks to make mklibs.py and similar tools happy.
+ for i in `find lib/ -type l -name 'lib[a-zA-Z]*.so' | \
+ sed -e 's/lib\///'` ; do \
+ $(LN) -sf $(RUNTIME_PREFIX)lib/$$i.$(MAJOR_VERSION) \
+ $(PREFIX)$(DEVEL_PREFIX)lib/$$i; \
+ done;
+ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y)
+ ln -sf $(RUNTIME_PREFIX)lib/libthread_db.so.1 \
+ $(PREFIX)$(DEVEL_PREFIX)lib/libthread_db.so
+endif
+# # If we build shared libraries then the static libs are PIC...
+# # Make _pic.a symlinks to make mklibs.py and similar tools happy.
for i in `find lib/ -type f -name '*.a' | sed -e 's/lib\///'` ; do \
- $(LN) -sf $$i $(PREFIX)$(DEVEL_PREFIX)lib/`echo $$i | sed -e 's/\.a$$/_pic.a/'`; \
- done
+ $(LN) -sf $$i $(PREFIX)$(DEVEL_PREFIX)lib/`echo $$i \
+ | sed -e 's/\.a$$/_pic.a/'`; \
+ done;
endif
- Previous message: [uClibc-cvs] uClibc/libc/sysdeps/linux/common ntp_gettime.c, NONE, 1.1 Makefile, 1.93, 1.94 syscalls.c, 1.119, 1.120
- Next message: [uClibc-cvs] uClibc/include symcat.h,1.1,NONE ansidecl.h,1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the uClibc-cvs
mailing list