Fix pointer error.
[trust_router.git] / Makefile.am
index 13666b0..664a5d6 100644 (file)
@@ -52,7 +52,13 @@ libtr_tid_la_CFLAGS = $(AM_CFLAGS) -fvisibility=hidden
 libtr_tid_la_LIBADD = gsscon/libgsscon.la $(GLIB_LIBS)
 libtr_tid_la_LDFLAGS = $(AM_LDFLAGS) -version-info 2 -no-undefined
 
-common_t_constraint_SOURCES = common/t_constraint.c
+common_t_constraint_SOURCES = common/t_constraint.c \
+common/tr_debug.c \
+common/tr_name.c \
+common/tr_constraint.c \
+tid/tid_req.c \
+tid/tid_resp.c
+
 common_t_constraint_CPPFLAGS = $(AM_CPPFLAGS) -DTESTS=\"$(srcdir)/common/tests.json\"
 common_t_constraint_LDADD = gsscon/libgsscon.la 
 
@@ -64,17 +70,25 @@ tr/tr_tid.c \
 tr/tr_trp.c \
 $(trp_srcs)
 
-tr_trust_router_CFLAGS = $(AM_CFLAGS) -pthread -v -da -Q
-tr_trust_router_LDFLAGS = $(AM_LDFLAGS) -levent_pthreads
+tr_trust_router_CFLAGS = $(AM_CFLAGS) -pthread
+tr_trust_router_LDFLAGS = $(AM_LDFLAGS) -levent_pthreads -pthread
 tr_trust_router_LDADD = gsscon/libgsscon.la libtr_tid.la $(GLIB_LIBS)
 
 tr_trpc_SOURCES =tr/trpc_main.c \
 tr/tr_trp.c \
 $(trp_srcs)
 tr_trpc_LDADD = gsscon/libgsscon.la libtr_tid.la $(GLIB_LIBS)
+tr_trpc_LDFLAGS = $(AM_LDFLAGS) -pthread
+tr_trpc_CFLAGS = $(AM_CFLAGS) -pthread
 
 trp_msgtst_SOURCES = trp/msgtst.c \
 common/tr_msg.c \
+common/tr_comm.c \
+common/tr_apc.c \
+common/tr_rp.c \
+common/tr_idp.c \
+common/tr_gss.c \
+common/tr_filter.c \
 trp/trp_req.c \
 trp/trp_upd.c \
 tid/tid_resp.c \