Move TRP messaging to tr_msg.c. Fix old bug.
[trust_router.git] / Makefile.am
index 63d4e95..eadc2df 100644 (file)
@@ -1,6 +1,6 @@
 DISTCHECK_CONFIGURE_FLAGS = \
        --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
-bin_PROGRAMS= tr/trust_router tid/example/tidc tid/example/tids common/dh_test/tr_dh_test
+bin_PROGRAMS= tr/trust_router tr/trpc tid/example/tidc tid/example/tids common/dh_test/tr_dh_test trp/msgtst
 AM_CPPFLAGS=-I$(srcdir)/include $(GLIB_CFLAGS)
 AM_CFLAGS = -Wall -Werror=missing-prototypes -Werror -Wno-parentheses $(GLIB_CFLAGS)
 SUBDIRS = gsscon 
@@ -27,10 +27,35 @@ common/tr_idp.c \
 common/tr_comm.c \
 common/tr_filter.c \
 common/tr_rp.c \
-tr/tr.c
+tr/tr.c \
+tr/tr_event.c \
+tr/tr_cfgwatch.c \
+tr/tr_tid.c \
+tr/tr_trp.c
 
 tr_trust_router_LDADD = gsscon/libgsscon.la libtr_tid.la $(GLIB_LIBS)
 
+tr_trpc_SOURCES = tr/trpc_main.c \
+common/tr_rp.c \
+tr/tr_trp.c
+
+tr_trpc_LDADD = gsscon/libgsscon.la libtr_tid.la $(GLIB_LIBS)
+
+trp_msgtst_SOURCES = trp/msgtst.c \
+trp/trp_msg.c \
+tid/tid_req.c \
+tid/tid_resp.c \
+common/tr_name.c \
+common/tr_msg.c \
+common/tr_idp.c \
+common/tr_comm.c \
+common/tr_filter.c \
+common/tr_rp.c \
+common/tr_config.c \
+common/tr_debug.c 
+
+trp_msgtst_LDADD = libtr_tid.la $(GLIB_LIBS)
+
 tid_example_tidc_SOURCES = tid/example/tidc_main.c 
 
 tid_example_tidc_LDADD = gsscon/libgsscon.la libtr_tid.la $(GLIB_LIBS)
@@ -60,6 +85,7 @@ noinst_HEADERS = include/gsscon.h include/tr_config.h \
        include/tr_msg.h include/tr.h \
        include/tr_idp.h include/tr_rp.h \
        include/tr_comm.h include/tr_apc.h \
+       include/tr_tid.h include/tr_trp.h \
        include/tr_filter.h \
        include/tid_internal.h