Index: trunk/psphot/src/Makefile.am
===================================================================
--- trunk/psphot/src/Makefile.am	(revision 21356)
+++ trunk/psphot/src/Makefile.am	(revision 21392)
@@ -19,6 +19,14 @@
 	psphotImageLoop.c	\
 	psphotMosaicChip.c	\
-	psphotSetMaskBits.c	\
 	psphotParseCamera.c
+
+psphotDetect_SOURCES =            \
+        psphotDetect.c            \
+	psphotDetectArguments.c	  \
+	psphotDetectParseCamera.c \
+	psphotDetectImageLoop.c	  \
+	psphotDetectReadout.c	  \
+	psphotMosaicChip.c	  \
+	psphotCleanup.c
 
 psphotTest_SOURCES = \
