diff Makefile.am @ 118:0f1492b7fe8b

patch from Fridrich Strba for building on mingw and general cleanup of autoconf files add processing for pst files of type 0x0f start adding support for properly building and installing libpst.so and the header files required to use it. remove version.h since the version number is now in config.h more const correctness issues regarding getopt()
author Carl Byington <carl@five-ten-sg.com>
date Sat, 31 Jan 2009 12:12:36 -0800
parents 57bc6251f8dd
children f50f4321aa2d
line wrap: on
line diff
--- a/Makefile.am	Fri Jan 16 15:31:11 2009 -0800
+++ b/Makefile.am	Sat Jan 31 12:12:36 2009 -0800
@@ -3,10 +3,12 @@
 html_DATA = AUTHORS COPYING ChangeLog NEWS README
 CLEANFILES = xml/libpst xml/Makefile
 
-if BUILD_LIBPST_SHARED
-    pkgconfigdir = $(libdir)/pkgconfig
-    pkgconfig_DATA = libpst.pc
-endif
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libpst.pc
 
 EXTRA_DIST = Doxyfile libpst.html.tar.gz libpst.spec $(wildcard xml/M*) $(wildcard xml/h*) $(wildcard xml/lib*)
 
+if !STATIC_TOOLS
+    libpstincludedir      = $(includedir)/libpst
+    libpstinclude_HEADERS = config.h
+endif