[NUT-devel] [nut]: r576 - src/trunk/Makefile
diego
subversion at mplayerhq.hu
Sun Feb 3 20:13:26 CET 2008
Author: diego
Date: Sun Feb 3 20:13:25 2008
New Revision: 576
Log:
Separate headers and shared library installation into their own targets.
Modified:
src/trunk/Makefile
Modified: src/trunk/Makefile
==============================================================================
--- src/trunk/Makefile (original)
+++ src/trunk/Makefile Sun Feb 3 20:13:25 2008
@@ -25,10 +25,15 @@ $(NUTUTILS_PROGS): CFLAGS += -Ilibnut
install: install-libnut install-nututils
-install-libnut: libnut
+install-libnut: libnut install-libnut-headers
install -d $(prefix)/lib
install -m 644 libnut/libnut.a $(prefix)/lib
- test -e libnut/libnut.so && install -m 644 libnut/libnut.so $(prefix)/lib
+
+install-libnut-shared: libnut/libnut.so install-libnut-headers
+ install -d $(prefix)/lib
+ install -m 644 libnut/libnut.so $(prefix)/lib
+
+install-libnut-headers:
install -d $(prefix)/include
install -m 644 libnut/libnut.h $(prefix)/include
More information about the NUT-devel
mailing list