]> git.tdb.fi Git - libs/datafile.git/commitdiff
static/shared lib extension tweaks
authorNiko Liikanen <cloud@neo-midgar.com>
Thu, 24 Aug 2006 21:09:27 +0000 (21:09 +0000)
committerNiko Liikanen <cloud@neo-midgar.com>
Thu, 24 Aug 2006 21:09:27 +0000 (21:09 +0000)
removed headers and static lib from installation

Makefile

index 295b31576b9699b1e95bd7b89eb66dd6aa91a237..5109b2be70a23349ab08ce3ad9f35b5b61599085 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ $(TMP)/%.o: $(SRC)/%.cpp $(wildcard $(SRC)/*.h)
 
 # Installs
 .PHONY: install
-install: install_headers install_lib install_staticlib
+install: install_lib 
 
 $(TGT)/$(pkgincludedir):
        mkdir -p $@
@@ -71,11 +71,11 @@ install_headers: $(TGT)/$(pkgincludedir)
        $(CP) $(SRC)/*.h $<
 
 .PHONY: install_lib
-install_lib: $(TGT)/$(libdir) $(TMP)/$(LIBFILE).so
+install_lib: $(TGT)/$(libdir) $(TMP)/$(LIBFILE)$(SHARED)
        echo "Installing dynamic library to $<"
-       $(CP) $(TMP)/$(LIBFILE).so $<
+       $(CP) $(TMP)/$(LIBFILE)$(SHARED) $<
 
 .PHONY: install_staticlib
-install_staticlib: $(TGT)/$(libdir) $(TMP)/$(LIBFILE).a
+install_staticlib: $(TGT)/$(libdir) $(TMP)/$(LIBFILE)$(STATIC)
        echo "Installing static library to $<"
-       $(CP) $(TMP)/$(LIBFILE).a $<
+       $(CP) $(TMP)/$(LIBFILE)$(STATIC) $<