diff src/Makefile.am @ 21:e5418051878c

switch to automake/autoconf
author carl
date Sun, 19 Feb 2006 21:27:03 -0800
parents c508ee15dfca
children 07177825c91b
line wrap: on
line diff
--- a/src/Makefile.am	Sun Feb 19 20:19:38 2006 -0800
+++ b/src/Makefile.am	Sun Feb 19 21:27:03 2006 -0800
@@ -1,8 +1,9 @@
+hfiles = $(wildcard *.h)
 bin_PROGRAMS = lspst readpst readpstlog pst2ldif
-lspst_SOURCES      = debug.c libpst.c libstrfunc.c lspst.c timeconv.c
-readpst_SOURCES    = readpst.c libpst.c timeconv.c libstrfunc.c debug.c lzfu.c
-readpstlog_SOURCES = readpstlog.c debug.c
-pst2ldif_SOURCES   = pst2ldif.cpp libpst.c timeconv.c libstrfunc.c debug.c lzfu.c
+lspst_SOURCES      = $(hfiles) debug.c libpst.c libstrfunc.c lspst.c timeconv.c
+readpst_SOURCES    = $(hfiles) readpst.c libpst.c timeconv.c libstrfunc.c debug.c lzfu.c
+readpstlog_SOURCES = $(hfiles) readpstlog.c debug.c
+pst2ldif_SOURCES   = $(hfiles) pst2ldif.cpp libpst.c timeconv.c libstrfunc.c debug.c lzfu.c
 EXTRA_DIST = dumpblocks.c getidblock.c testdebug.c
 
 # set the include path found by configure