Index: trunk/psModules/configure.ac
===================================================================
--- trunk/psModules/configure.ac	(revision 5067)
+++ trunk/psModules/configure.ac	(revision 5170)
@@ -37,4 +37,12 @@
 AC_SUBST([AM_CFLAGS])
 
+SRCPATH='${top_srcdir}/src'
+SRCDIRS="astrom camera config detrend imcombine imsubtract objects photom"
+SRCINC=`echo "${SRCDIRS=}" | ${SED} "s|\(\\w\+\)|-I\${SRCPATH=}/\1|g"`
+SRCSUBLIBS=`echo "${SRCDIRS=}" | ${SED} "s|\(\\w\+\)|\1/libpsmodule\1.la|g"`
+AC_SUBST([SRCSUBLIBS],${SRCSUBLIBS=})
+AC_SUBST([SRCDIRS],${SRCDIRS=})
+AC_SUBST([SRCINC],${SRCINC=})
+
 dnl doxygen -------------------------------------------------------------------
 
@@ -55,5 +63,5 @@
 [PSLIB_CONFIG=$withval])
 
-if test -z ${PSLIB_CONFIG} ; then 
+if test -z ${PSLIB_CONFIG} ; then
   PKG_CHECK_MODULES([PSLIB], [pslib >= 0.7.0])
 else
@@ -78,5 +86,21 @@
   Makefile
   src/Makefile
+  src/astrom/Makefile
+  src/camera/Makefile
+  src/config/Makefile
+  src/detrend/Makefile
+  src/imcombine/Makefile
+  src/imsubtract/Makefile
+  src/objects/Makefile
+  src/photom/Makefile
   test/Makefile
+  test/astrom/Makefile
+  test/camera/Makefile
+  test/config/Makefile
+  test/detrend/Makefile
+  test/imcombine/Makefile
+  test/imsubtract/Makefile
+  test/objects/Makefile
+  test/photom/Makefile
   Doxyfile
   psmodule-config
