[uClibc-cvs] CVS uClibc++/src

CVS User gkajmowi gkajmowi at codepoet.org
Tue Jan 25 21:39:58 UTC 2005


Update of /var/cvs/uClibc++/src
In directory nail:/tmp/cvs-serv25553/src

Modified Files:
	Makefile 
Log Message:
Change Makefiles to support installing either/both static and shared libraries.  Pushed installation responsabilities from main makefile into src/Makefile where appropriate

--- /var/cvs/uClibc++/src/Makefile	2005/01/25 15:07:29	1.17
+++ /var/cvs/uClibc++/src/Makefile	2005/01/25 21:39:58	1.18
@@ -63,6 +63,20 @@
 
 objs:	$(ALLOBJS)
 
+install:
+	$(INSTALL) -d $(PREFIX)$(UCLIBCXX_RUNTIME_PREFIX)$(UCLIBCXX_RUNTIME_LIB_SUBDIR)
+ifneq ($(BUILD_ONLY_STATIC_LIB),y)
+	$(INSTALL) -m 644 lib*.so.$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL) \
+		$(PREFIX)$(UCLIBCXX_RUNTIME_PREFIX)$(UCLIBCXX_RUNTIME_LIB_SUBDIR)
+	cp -fa *.so $(PREFIX)$(UCLIBCXX_RUNTIME_PREFIX)$(UCLIBCXX_RUNTIME_LIB_SUBDIR)
+	cp -fa *.so.$(MAJOR_VERSION) $(PREFIX)$(UCLIBCXX_RUNTIME_PREFIX)$(UCLIBCXX_RUNTIME_LIB_SUBDIR)
+	cp -fa *.so.$(MAJOR_VERSION).$(MINOR_VERSION) $(PREFIX)$(UCLIBCXX_RUNTIME_PREFIX)$(UCLIBCXX_RUNTIME_LIB_SUBDIR)
+endif
+ifeq ($(BUILD_STATIC_LIB),y)
+	$(INSTALL) -m 644 libuClibc++.a $(PREFIX)$(UCLIBCXX_RUNTIME_PREFIX)$(UCLIBCXX_RUNTIME_LIB_SUBDIR)
+endif
+
+
 libgcc_eh:
 	rm -rf libgcc_eh
 	mkdir libgcc_eh



More information about the uClibc-cvs mailing list