1 DISTCHECK_CONFIGURE_FLAGS = \
2 --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir)
3 bin_PROGRAMS= tr/trust_router tr/trpc tid/example/tidc tid/example/tids common/dh_test/tr_dh_test common/mq_test/mq_test common/mq_test/thread_test trp/msgtst trp/test/rtbl_test trp/test/ptbl_test common/cfg_test/cfg_test
4 AM_CPPFLAGS=-I$(srcdir)/include $(GLIB_CFLAGS)
5 AM_CFLAGS = -Wall -Werror=missing-prototypes -Werror -Wno-parentheses $(GLIB_CFLAGS)
7 common_srcs = common/tr_name.c \
9 common/tr_constraint.c \
10 common/jansson_iterators.h \
16 tid_srcs = tid/tid_resp.c \
21 trp_srcs = trp/trp_upd.c \
29 check_PROGRAMS = common/t_constraint
30 TESTS = common/t_constraint
32 common_t_constraint_SOURCES = common/t_constraint.c
33 common_t_constraint_CPPFLAGS = $(AM_CPPFLAGS) -DTESTS=\"$(srcdir)/common/tests.json\"
34 common_t_constraint_LDADD = gsscon/libgsscon.la
36 tr_trust_router_SOURCES = $(common_srcs) \
53 tr_trust_router_CFLAGS = $(AM_CFLAGS) -pthread -v -da -Q
54 tr_trust_router_LDFLAGS = $(AM_LDFLAGS) -levent_pthreads
55 tr_trust_router_LDADD = gsscon/libgsscon.la $(GLIB_LIBS)
57 tr_trpc_SOURCES = $(common_srcs) \
70 tr_trpc_LDADD = gsscon/libgsscon.la $(GLIB_LIBS)
72 trp_msgtst_SOURCES = trp/msgtst.c \
86 trp_msgtst_LDADD = $(GLIB_LIBS)
88 trp_test_rtbl_test_SOURCES = trp/test/rtbl_test.c \
94 trp_test_rtbl_test_LDADD = $(GLIB_LIBS)
96 trp_test_ptbl_test_SOURCES = trp/test/ptbl_test.c \
102 trp_test_ptbl_test_LDADD = gsscon/libgsscon.la $(GLIB_LIBS)
104 tid_example_tidc_SOURCES = tid/example/tidc_main.c \
110 tid_example_tidc_LDADD = gsscon/libgsscon.la $(GLIB_LIBS)
112 tid_example_tids_SOURCES = tid/example/tids_main.c \
118 tid_example_tids_LDADD = gsscon/libgsscon.la $(GLIB_LIBS)
120 common_dh_test_tr_dh_test_SOURCES = common/tr_dh.c \
122 common/dh_test/dh_test.c
124 common_mq_test_mq_test_SOURCES = common/tr_mq.c \
125 common/mq_test/mq_test.c
127 common_mq_test_mq_test_CFLAGS = -pthread
128 common_mq_test_mq_test_LDFLAGS = $(AM_LDFLAGS) -ltalloc
130 common_cfg_test_cfg_test_SOURCES = common/tr_config.c \
140 common/cfg_test/cfg_test.c
142 common_cfg_test_cfg_test_LDADD = gsscon/libgsscon.la $(GLIB_LIBS)
143 common_cfg_test_cfg_test_CFLAGS = -pthread
144 common_cfg_test_cfg_test_LDFLAGS = $(AM_LDFLAGS) -ltalloc
146 common_mq_test_thread_test_SOURCES = common/tr_mq.c \
148 common/mq_test/thread_test.c
150 common_mq_test_thread_test_CFLAGS = -pthread
151 common_mq_test_thread_test_LDFLAGS = $(AM_LDFLAGS) -ltalloc
153 pkginclude_HEADERS = include/trust_router/tid.h include/trust_router/tr_name.h \
155 include/trust_router/tr_dh.h \
156 include/trust_router/tr_constraint.h \
157 include/trust_router/tr_versioning.h
159 noinst_HEADERS = include/gsscon.h include/tr_config.h \
160 include/tr_msg.h include/tr.h \
161 include/tr_idp.h include/tr_rp.h \
162 include/tr_comm.h include/tr_apc.h \
163 include/tr_tid.h include/tr_trp.h \
164 include/tr_filter.h \
165 include/tid_internal.h
167 pkgdata_DATA=schema.sql
168 nobase_dist_pkgdata_DATA=redhat/init redhat/sysconfig redhat/trusts.cfg redhat/tidc-wrapper redhat/trust_router-wrapper redhat/tr-test-main.cfg redhat/default-main.cfg redhat/tids-wrapper redhat/sysconfig.tids
171 systemdsystemunit_DATA = tids.service
174 EXTRA_DIST = trust_router.spec common/tests.json schema.sql tids.service \
175 tr/manual.cfg tr/portal.cfg \