Index: trunk/psLib/src/astro/Makefile.am
===================================================================
--- trunk/psLib/src/astro/Makefile.am	(revision 4446)
+++ trunk/psLib/src/astro/Makefile.am	(revision 4446)
@@ -0,0 +1,33 @@
+#Makefile for astronomy functions of psLib
+#
+AM_CFLAGS=$(CFLAGS) -DPS_CONFIG_FILE_DEFAULT=\"$(sysconfdir)/pslib/psTime.config\"
+
+INCLUDES = \
+	-I$(top_srcdir)/src/astro \
+	-I$(top_srcdir)/src/db \
+	-I$(top_srcdir)/src/fft \
+	-I$(top_srcdir)/src/fits \
+	-I$(top_srcdir)/src/imageops \
+	-I$(top_srcdir)/src/math \
+	-I$(top_srcdir)/src/mathtypes \
+	-I$(top_srcdir)/src/sys \
+	-I$(top_srcdir)/src/types \
+	-I$(top_srcdir)/src/xml \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibastro.la
+libpslibastro_la_SOURCES = \
+	psTime.c \
+	psCoord.c 
+	
+BUILT_SOURCES = psAstroErrors.h
+
+EXTRA_DIST = psAstroErrors.dat astro.i
+
+psAstroErrors.h: psAstroErrors.dat
+	$(top_srcdir)/src/psParseErrorCodes --data=$? $@
+
+pslibincludedir = $(includedir)
+pslibinclude_HEADERS = \
+	psTime.h \
+	psCoord.h
Index: trunk/psLib/src/db/Makefile.am
===================================================================
--- trunk/psLib/src/db/Makefile.am	(revision 4446)
+++ trunk/psLib/src/db/Makefile.am	(revision 4446)
@@ -0,0 +1,35 @@
+#Makefile for dataIO functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astro \
+	-I$(top_srcdir)/src/db \
+	-I$(top_srcdir)/src/fft \
+	-I$(top_srcdir)/src/fits \
+	-I$(top_srcdir)/src/imageops \
+	-I$(top_srcdir)/src/math \
+	-I$(top_srcdir)/src/mathtypes \
+	-I$(top_srcdir)/src/sys \
+	-I$(top_srcdir)/src/types \
+	-I$(top_srcdir)/src/xml \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibdataIO.la
+
+libpslibdataIO_la_SOURCES = \
+	psLookupTable.c \
+	psFits.c \
+	psDB.c
+
+
+BUILT_SOURCES = psFileUtilsErrors.h
+EXTRA_DIST = psFileUtilsErrors.dat psFileUtilsErrors.h dataIO.i
+
+psFileUtilsErrors.h: psFileUtilsErrors.dat
+	$(top_srcdir)/src/psParseErrorCodes --data=$? $@
+
+pslibincludedir = $(includedir)
+pslibinclude_HEADERS = \
+	psLookupTable.h \
+	psFits.h \
+	psDB.h
+
Index: trunk/psLib/src/fft/Makefile.am
===================================================================
--- trunk/psLib/src/fft/Makefile.am	(revision 4446)
+++ trunk/psLib/src/fft/Makefile.am	(revision 4446)
@@ -0,0 +1,38 @@
+#Makefile for dataManip functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astro \
+	-I$(top_srcdir)/src/db \
+	-I$(top_srcdir)/src/fft \
+	-I$(top_srcdir)/src/fits \
+	-I$(top_srcdir)/src/imageops \
+	-I$(top_srcdir)/src/math \
+	-I$(top_srcdir)/src/mathtypes \
+	-I$(top_srcdir)/src/sys \
+	-I$(top_srcdir)/src/types \
+	-I$(top_srcdir)/src/xml \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibdataManip.la
+
+libpslibdataManip_la_SOURCES = psUnaryOp.c psBinaryOp.c psStats.c \
+		psFunctions.c psMatrix.c psVectorFFT.c psMinimize.c psRandom.c
+
+BUILT_SOURCES = psDataManipErrors.h
+EXTRA_DIST = psDataManipErrors.dat psDataManipErrors.h dataManip.i
+
+psDataManipErrors.h: psDataManipErrors.dat
+	$(top_srcdir)/src/psParseErrorCodes --data=$? $@
+
+pslibincludedir = $(includedir)
+pslibinclude_HEADERS = \
+	psConstants.h \
+	psStats.h  \
+	psFunctions.h \
+	psMatrix.h \
+    psBinaryOp.h \
+    psUnaryOp.h \
+	psVectorFFT.h \
+	psMinimize.h \
+	psRandom.h
+
Index: trunk/psLib/src/fits/Makefile.am
===================================================================
--- trunk/psLib/src/fits/Makefile.am	(revision 4446)
+++ trunk/psLib/src/fits/Makefile.am	(revision 4446)
@@ -0,0 +1,35 @@
+#Makefile for dataIO functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astro \
+	-I$(top_srcdir)/src/db \
+	-I$(top_srcdir)/src/fft \
+	-I$(top_srcdir)/src/fits \
+	-I$(top_srcdir)/src/imageops \
+	-I$(top_srcdir)/src/math \
+	-I$(top_srcdir)/src/mathtypes \
+	-I$(top_srcdir)/src/sys \
+	-I$(top_srcdir)/src/types \
+	-I$(top_srcdir)/src/xml \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibdataIO.la
+
+libpslibdataIO_la_SOURCES = \
+	psLookupTable.c \
+	psFits.c \
+	psDB.c
+
+
+BUILT_SOURCES = psFileUtilsErrors.h
+EXTRA_DIST = psFileUtilsErrors.dat psFileUtilsErrors.h dataIO.i
+
+psFileUtilsErrors.h: psFileUtilsErrors.dat
+	$(top_srcdir)/src/psParseErrorCodes --data=$? $@
+
+pslibincludedir = $(includedir)
+pslibinclude_HEADERS = \
+	psLookupTable.h \
+	psFits.h \
+	psDB.h
+
Index: trunk/psLib/src/imageops/Makefile.am
===================================================================
--- trunk/psLib/src/imageops/Makefile.am	(revision 4446)
+++ trunk/psLib/src/imageops/Makefile.am	(revision 4446)
@@ -0,0 +1,43 @@
+#Makefile for image functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astro \
+	-I$(top_srcdir)/src/db \
+	-I$(top_srcdir)/src/fft \
+	-I$(top_srcdir)/src/fits \
+	-I$(top_srcdir)/src/imageops \
+	-I$(top_srcdir)/src/math \
+	-I$(top_srcdir)/src/mathtypes \
+	-I$(top_srcdir)/src/sys \
+	-I$(top_srcdir)/src/types \
+	-I$(top_srcdir)/src/xml \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibimage.la
+
+libpslibimage_la_SOURCES = \
+	psImage.c \
+	psImagePixelExtract.c \
+	psImageStructManip.c \
+	psImageGeomManip.c \
+	psImagePixelManip.c \
+	psImageStats.c \
+	psImageFFT.c \
+	psImageConvolve.c
+
+BUILT_SOURCES = psImageErrors.h
+EXTRA_DIST = psImageErrors.dat psImageErrors.h image.i
+
+psImageErrors.h: psImageErrors.dat
+	$(top_srcdir)/src/psParseErrorCodes --data=$? $@
+
+pslibincludedir = $(includedir)
+pslibinclude_HEADERS = \
+	psImage.h \
+	psImagePixelExtract.h \
+	psImageStructManip.h \
+	psImageGeomManip.h \
+	psImagePixelManip.h \
+	psImageStats.h \
+	psImageFFT.h \
+	psImageConvolve.h
Index: trunk/psLib/src/math/Makefile.am
===================================================================
--- trunk/psLib/src/math/Makefile.am	(revision 4446)
+++ trunk/psLib/src/math/Makefile.am	(revision 4446)
@@ -0,0 +1,38 @@
+#Makefile for dataManip functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astro \
+	-I$(top_srcdir)/src/db \
+	-I$(top_srcdir)/src/fft \
+	-I$(top_srcdir)/src/fits \
+	-I$(top_srcdir)/src/imageops \
+	-I$(top_srcdir)/src/math \
+	-I$(top_srcdir)/src/mathtypes \
+	-I$(top_srcdir)/src/sys \
+	-I$(top_srcdir)/src/types \
+	-I$(top_srcdir)/src/xml \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibdataManip.la
+
+libpslibdataManip_la_SOURCES = psUnaryOp.c psBinaryOp.c psStats.c \
+		psFunctions.c psMatrix.c psVectorFFT.c psMinimize.c psRandom.c
+
+BUILT_SOURCES = psDataManipErrors.h
+EXTRA_DIST = psDataManipErrors.dat psDataManipErrors.h dataManip.i
+
+psDataManipErrors.h: psDataManipErrors.dat
+	$(top_srcdir)/src/psParseErrorCodes --data=$? $@
+
+pslibincludedir = $(includedir)
+pslibinclude_HEADERS = \
+	psConstants.h \
+	psStats.h  \
+	psFunctions.h \
+	psMatrix.h \
+    psBinaryOp.h \
+    psUnaryOp.h \
+	psVectorFFT.h \
+	psMinimize.h \
+	psRandom.h
+
Index: trunk/psLib/src/mathtypes/Makefile.am
===================================================================
--- trunk/psLib/src/mathtypes/Makefile.am	(revision 4446)
+++ trunk/psLib/src/mathtypes/Makefile.am	(revision 4446)
@@ -0,0 +1,49 @@
+#Makefile for collections functions of psLib
+#
+
+INCLUDES = \
+	-I$(top_srcdir)/src/astro \
+	-I$(top_srcdir)/src/db \
+	-I$(top_srcdir)/src/fft \
+	-I$(top_srcdir)/src/fits \
+	-I$(top_srcdir)/src/imageops \
+	-I$(top_srcdir)/src/math \
+	-I$(top_srcdir)/src/mathtypes \
+	-I$(top_srcdir)/src/sys \
+	-I$(top_srcdir)/src/types \
+	-I$(top_srcdir)/src/xml \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibcollections.la
+
+libpslibcollections_la_SOURCES = \
+	psBitSet.c \
+	psVector.c \
+	psPixels.c \
+	psList.c \
+	psScalar.c \
+	psCompare.c \
+	psArray.c \
+	psHash.c \
+	psMetadata.c \
+	psMetadataIO.c
+
+BUILT_SOURCES = psCollectionsErrors.h
+EXTRA_DIST = psCollectionsErrors.dat psCollectionsErrors.h collections.i
+
+psCollectionsErrors.h:psCollectionsErrors.dat
+	$(top_srcdir)/src/psParseErrorCodes --data=$? $@
+
+pslibincludedir = $(includedir)
+pslibinclude_HEADERS = \
+	psBitSet.h \
+	psVector.h \
+	psPixels.h \
+	psList.h \
+	psScalar.h \
+	psCompare.h \
+	psArray.h \
+	psHash.h \
+	psMetadata.h \
+	psMetadataIO.h
+
Index: trunk/psLib/src/sys/Makefile.am
===================================================================
--- trunk/psLib/src/sys/Makefile.am	(revision 4446)
+++ trunk/psLib/src/sys/Makefile.am	(revision 4446)
@@ -0,0 +1,45 @@
+#Makefile for sysUtils functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astro \
+	-I$(top_srcdir)/src/db \
+	-I$(top_srcdir)/src/fft \
+	-I$(top_srcdir)/src/fits \
+	-I$(top_srcdir)/src/imageops \
+	-I$(top_srcdir)/src/math \
+	-I$(top_srcdir)/src/mathtypes \
+	-I$(top_srcdir)/src/sys \
+	-I$(top_srcdir)/src/types \
+	-I$(top_srcdir)/src/xml \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibsysUtils.la
+
+libpslibsysUtils_la_SOURCES = \
+	psMemory.c     \
+	psError.c      \
+	psTrace.c      \
+	psLogMsg.c     \
+	psAbort.c      \
+	psString.c     \
+	psConfigure.c  \
+	psErrorCodes.c
+
+BUILT_SOURCES = psSysUtilsErrors.h
+EXTRA_DIST = psSysUtilsErrors.dat psSysUtilsErrors.h sysUtils.i
+
+psSysUtilsErrors.h: psSysUtilsErrors.dat
+	$(top_srcdir)/src/psParseErrorCodes --data=$? $@
+
+pslibincludedir = $(includedir)
+pslibinclude_HEADERS = \
+	psType.h       \
+	psMemory.h     \
+	psError.h      \
+	psTrace.h      \
+	psLogMsg.h     \
+	psAbort.h      \
+	psString.h     \
+	psConfigure.h  \
+	psErrorCodes.h
+
Index: trunk/psLib/src/types/Makefile.am
===================================================================
--- trunk/psLib/src/types/Makefile.am	(revision 4446)
+++ trunk/psLib/src/types/Makefile.am	(revision 4446)
@@ -0,0 +1,49 @@
+#Makefile for collections functions of psLib
+#
+
+INCLUDES = \
+	-I$(top_srcdir)/src/astro \
+	-I$(top_srcdir)/src/db \
+	-I$(top_srcdir)/src/fft \
+	-I$(top_srcdir)/src/fits \
+	-I$(top_srcdir)/src/imageops \
+	-I$(top_srcdir)/src/math \
+	-I$(top_srcdir)/src/mathtypes \
+	-I$(top_srcdir)/src/sys \
+	-I$(top_srcdir)/src/types \
+	-I$(top_srcdir)/src/xml \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibcollections.la
+
+libpslibcollections_la_SOURCES = \
+	psBitSet.c \
+	psVector.c \
+	psPixels.c \
+	psList.c \
+	psScalar.c \
+	psCompare.c \
+	psArray.c \
+	psHash.c \
+	psMetadata.c \
+	psMetadataIO.c
+
+BUILT_SOURCES = psCollectionsErrors.h
+EXTRA_DIST = psCollectionsErrors.dat psCollectionsErrors.h collections.i
+
+psCollectionsErrors.h:psCollectionsErrors.dat
+	$(top_srcdir)/src/psParseErrorCodes --data=$? $@
+
+pslibincludedir = $(includedir)
+pslibinclude_HEADERS = \
+	psBitSet.h \
+	psVector.h \
+	psPixels.h \
+	psList.h \
+	psScalar.h \
+	psCompare.h \
+	psArray.h \
+	psHash.h \
+	psMetadata.h \
+	psMetadataIO.h
+
Index: trunk/psLib/src/xml/Makefile.am
===================================================================
--- trunk/psLib/src/xml/Makefile.am	(revision 4446)
+++ trunk/psLib/src/xml/Makefile.am	(revision 4446)
@@ -0,0 +1,35 @@
+#Makefile for dataIO functions of psLib
+#
+INCLUDES = \
+	-I$(top_srcdir)/src/astro \
+	-I$(top_srcdir)/src/db \
+	-I$(top_srcdir)/src/fft \
+	-I$(top_srcdir)/src/fits \
+	-I$(top_srcdir)/src/imageops \
+	-I$(top_srcdir)/src/math \
+	-I$(top_srcdir)/src/mathtypes \
+	-I$(top_srcdir)/src/sys \
+	-I$(top_srcdir)/src/types \
+	-I$(top_srcdir)/src/xml \
+	$(all_includes)
+
+noinst_LTLIBRARIES = libpslibdataIO.la
+
+libpslibdataIO_la_SOURCES = \
+	psLookupTable.c \
+	psFits.c \
+	psDB.c
+
+
+BUILT_SOURCES = psFileUtilsErrors.h
+EXTRA_DIST = psFileUtilsErrors.dat psFileUtilsErrors.h dataIO.i
+
+psFileUtilsErrors.h: psFileUtilsErrors.dat
+	$(top_srcdir)/src/psParseErrorCodes --data=$? $@
+
+pslibincludedir = $(includedir)
+pslibinclude_HEADERS = \
+	psLookupTable.h \
+	psFits.h \
+	psDB.h
+
