[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r8804 - /libdfp/trunk/Makefile.in



Author: ryanarn
Date: Wed Aug 12 11:10:35 2009
New Revision: 8804

Log:
2009-08-11	Carlos Eduardo Seo  <cseo@xxxxxxxxxxxxxxxxxx>

	* Makefile.in: Added 'make install' feature.


Modified:
    libdfp/trunk/Makefile.in

Modified: libdfp/trunk/Makefile.in
==============================================================================
--- libdfp/trunk/Makefile.in (original)
+++ libdfp/trunk/Makefile.in Wed Aug 12 11:10:35 2009
@@ -4,6 +4,9 @@
 
 top_srcdir := @top_srcdir@
 top_builddir = .
+
+libdir := @exec_prefix@/lib
+includedir := @prefix@/include
 
 dfp_name = @PACKAGE_NAME@
 dfp_version = @PACKAGE_VERSION@
@@ -19,6 +22,7 @@
 CC = @CC@
 RANLIB = @RANLIB@
 AWK = @AWK@
+INSTALL := install
 
 # libdecnumber or libbid
 dfp_backend = @dfp_backend@
@@ -293,6 +297,16 @@
 
 .PHONY: clean
 
+install: all
+	$(INSTALL) -d $(install_root)/$(libdir)
+	$(INSTALL) -t $(install_root)/$(libdir) $(top_builddir)/$(STATIC_LIBRARY)
+	$(INSTALL) -t $(install_root)/$(libdir) $(top_builddir)/$(SHARED_LIBRARY)
+	$(INSTALL) -t $(install_root)/$(libdir) $(top_builddir)/$(SHARED_VERSION_LIBRARY)
+	$(INSTALL) -d $(install_root)/$(includedir)
+	$(INSTALL) -d $(install_root)/$(includedir)/dfp
+	$(INSTALL) -t $(install_root)/$(includedir)/dfp '$(top_srcdir)'/dfp/*
+.PHONY: install
+
 # Clean out the existing .SUFFIXES setting.
 .SUFFIXES:
 # Prioritize .S over .c when searching for target files.  The .os suffix