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/tests/tr_dh_test common/tests/mq_test common/tests/thread_test trp/msgtst trp/test/rtbl_test trp/test/ptbl_test common/tests/cfg_test common/tests/commtest
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 \
8 common/tr_constraint.c \
9 common/jansson_iterators.h \
21 tid_srcs = tid/tid_resp.c \
26 trp_srcs = trp/trp_conn.c \
36 check_PROGRAMS = common/t_constraint
37 TESTS = common/t_constraint
39 common_t_constraint_SOURCES = common/t_constraint.c \
42 common/tr_constraint.c \
46 common_t_constraint_CPPFLAGS = $(AM_CPPFLAGS) -DTESTS=\"$(srcdir)/common/tests.json\"
47 common_t_constraint_LDADD = gsscon/libgsscon.la
49 tr_trust_router_SOURCES =tr/tr_main.c \
59 tr_trust_router_LDFLAGS = $(AM_LDFLAGS) -levent_pthreads -pthread
60 tr_trust_router_LDADD = gsscon/libgsscon.la $(GLIB_LIBS)
61 tr_trpc_SOURCES =tr/trpc_main.c \
67 tr_trpc_LDADD = gsscon/libgsscon.la $(GLIB_LIBS)
68 tr_trpc_LDFLAGS = $(AM_LDFLAGS) -pthread
70 trp_msgtst_SOURCES = trp/msgtst.c \
76 trp_msgtst_LDADD = $(GLIB_LIBS)
78 trp_test_rtbl_test_SOURCES = trp/test/rtbl_test.c \
83 trp_test_rtbl_test_LDADD = $(GLIB_LIBS)
85 trp_test_ptbl_test_SOURCES = trp/test/ptbl_test.c \
89 trp_test_ptbl_test_LDADD = gsscon/libgsscon.la $(GLIB_LIBS)
90 trp_test_ptbl_test_LDFLAGS = $(AM_LDFLAGS) -pthread
92 tid_example_tidc_SOURCES = tid/example/tidc_main.c \
96 tid_example_tidc_LDADD = gsscon/libgsscon.la $(GLIB_LIBS)
97 tid_example_tidc_LDFLAGS = $(AM_LDFLAGS) -pthread
99 tid_example_tids_SOURCES = tid/example/tids_main.c \
103 tid_example_tids_LDADD = gsscon/libgsscon.la $(GLIB_LIBS)
104 tid_example_tids_LDFLAGS = $(AM_LDFLAGS) -pthread
106 common_tests_tr_dh_test_SOURCES = common/tr_dh.c \
108 common/tests/dh_test.c
110 common_tests_mq_test_SOURCES = common/tr_mq.c \
111 common/tests/mq_test.c \
114 common_tests_mq_test_LDFLAGS = $(AM_LDFLAGS) -ltalloc -pthread
116 common_tests_cfg_test_SOURCES = common/tests/cfg_test.c \
120 common_tests_cfg_test_LDADD = gsscon/libgsscon.la $(GLIB_LIBS)
121 common_tests_cfg_test_LDFLAGS = $(AM_LDFLAGS) -ltalloc -pthread
123 common_tests_thread_test_SOURCES = common/tr_mq.c \
125 common/tests/thread_test.c
127 common_tests_commtest_SOURCES = common/tests/commtest.c \
131 common_tests_commtest_LDADD = gsscon/libgsscon.la $(GLIB_LIBS)
132 common_tests_commtest_LDFLAGS = $(AM_LDFLAGS) -ltalloc -pthread
134 common_tests_thread_test_LDFLAGS = $(AM_LDFLAGS) -ltalloc -pthread
136 pkginclude_HEADERS = include/trust_router/tid.h include/trust_router/tr_name.h \
138 include/trust_router/tr_dh.h \
139 include/trust_router/tr_constraint.h \
140 include/trust_router/tr_versioning.h
142 noinst_HEADERS = include/gsscon.h include/tr_config.h \
143 include/tr_msg.h include/tr.h \
144 include/tr_idp.h include/tr_rp.h \
145 include/tr_comm.h include/tr_apc.h \
146 include/tr_tid.h include/tr_trp.h \
147 include/tr_filter.h \
148 include/tid_internal.h
150 pkgdata_DATA=schema.sql
151 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
154 systemdsystemunit_DATA = tids.service
157 EXTRA_DIST = trust_router.spec common/tests.json schema.sql tids.service \
158 tr/manual.cfg tr/portal.cfg \