factored the source into smaller files covering single functionality
[rxpd] / Makefile.am
index be5515a..02e95ab 100644 (file)
@@ -24,11 +24,16 @@ bin_PROGRAMS = rxpd
 rxpd_CFLAGS = $(CFLAGS) -std=gnu99 -Wall -Wextra
 rxpd_LDADD = -levent
 
-rxpd_SOURCES =                         \
-       $(rxpd_srcdir)/main.c   \
-       $(rxpd_srcdir)/psplay.c \
-       $(rxpd_srcdir)/rxpd.c   \
-       $(rxpd_srcdir)/llist.h  \
-       $(rxpd_srcdir)/psplay.h \
-       $(rxpd_srcdir)/rxpd.h
-
+rxpd_SOURCES =                                 \
+       $(rxpd_srcdir)/rxpd.h                   \
+       $(rxpd_srcdir)/main.c                   \
+       $(rxpd_srcdir)/psplay.c                 \
+       $(rxpd_srcdir)/llist.h                  \
+       $(rxpd_srcdir)/psplay.h                 \
+       $(rxpd_srcdir)/rxpd_base.c              \
+       $(rxpd_srcdir)/rxpd_buffer.c            \
+       $(rxpd_srcdir)/rxpd_connection.c        \
+       $(rxpd_srcdir)/rxpd_connection_cmd.c    \
+       $(rxpd_srcdir)/rxpd_file.c              \
+       $(rxpd_srcdir)/rxpd_rule.c              \
+       $(rxpd_srcdir)/rxpd_socket.c