Index: server/Makefile.am
===================================================================
--- server/Makefile.am	(revision 328)
+++ server/Makefile.am	(working copy)
@@ -10,7 +10,7 @@
 	-DG_DISABLE_DEPRECATED				
 
 if GAMIN_DEBUG
-INCLUDES += -DGAM_DEBUG_ENABLED
+INCLUDES += -DGAM_DEBUG_ENABLED -g
 endif
 
 
@@ -69,6 +69,13 @@
 gam_server_SOURCES += gam_kqueue.c gam_kqueue.h
 endif
 
+if ENABLE_FEN
+gam_server_SOURCES += gam_fen.c gam_fen.h		\
+	fen-kernel.c fen-kernel.h	\
+	fen-thread-pool.c fen-thread-pool.h	\
+	fen-data.c fen-data.h
+endif
+
 if ENABLE_HURD_MACH_NOTIFY
 gam_server_SOURCES += gam_hurd_mach_notify.c gam_hurd_mach_notify.h
 
@@ -79,6 +86,7 @@
 	@MIG@ -s -server $(top_builddir)/server/fs_notify.c $(includedir)/hurd/fs_notify.defs
 endif
 
+gam_server_CFLAGS =
 gam_server_LDFLAGS =
 gam_server_DEPENDENCIES = $(DEPS)
 gam_server_LDADD= $(top_builddir)/lib/libgamin_shared.a $(LDADDS) $(LIBGAMIN_LIBS)
@@ -86,3 +94,8 @@
 if ENABLE_HURD_MACH_NOTIFY
 gam_server_LDADD += -lports -lthreads
 endif
+
+if ENABLE_FEN
+gam_server_CFLAGS += $(GTHREAD_CFLAGS)
+gam_server_LDADD += $(GTHREAD_LIBS)
+endif
