X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=ddfd8d259e717c89b92cc8c2ec1103464246ba9d;hb=36a471285d0cafbbe74f49d736e472dbfe317a38;hp=ae745ef1e651a5e76bf97e47ffbd00b67cef1dae;hpb=eaa1a8ceed54fbfadc2638cf383aaa12ab446a57;p=trust_router.git diff --git a/Makefile.am b/Makefile.am index ae745ef..ddfd8d2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,10 @@ +ACLOCAL_AMFLAGS = -I m4 DISTCHECK_CONFIGURE_FLAGS = \ --with-systemdsystemunitdir=$$dc_install_base/$(systemdsystemunitdir) 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 common/tests/name_test common/tests/filt_test + common/tests/commtest common/tests/name_test common/tests/filt_test mon/tests/test_mon_req_encode \ + mon/tests/test_mon_req_decode mon/tests/test_mon_resp_encode AM_CPPFLAGS=-I$(srcdir)/include $(GLIB_CFLAGS) AM_CFLAGS = -Wall -Werror=missing-prototypes -Werror -Wno-parentheses $(GLIB_CFLAGS) SUBDIRS = gsscon @@ -35,6 +37,14 @@ trp/trp_upd.c \ common/tr_config.c \ common/tr_mq.c +mon_srcs = \ + mon/tr_mon.c \ + mon/tr_mon_req.c \ + mon/tr_mon_req_encode.c \ + mon/tr_mon_req_decode.c \ + mon/tr_mon_resp.c \ + mon/tr_mon_resp_encode.c + check_PROGRAMS = common/t_constraint TESTS = common/t_constraint TEST_CFLAGS = -Wno-missing-prototypes @@ -164,6 +174,24 @@ common_tests_filt_test_LDADD = gsscon/libgsscon.la $(GLIB_LIBS) common_tests_filt_test_LDFLAGS = $(AM_LDFLAGS) -ltalloc -pthread common_tests_filt_test_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS) +mon_tests_test_mon_req_encode_SOURCES = mon/tests/test_mon_req_encode.c \ + $(mon_srcs) \ + common/tr_name.c +mon_tests_test_mon_req_encode_LDADD = $(GLIB_LIBS) +mon_tests_test_mon_req_encode_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS) + +mon_tests_test_mon_req_decode_SOURCES = mon/tests/test_mon_req_decode.c \ + $(mon_srcs) \ + common/tr_name.c +mon_tests_test_mon_req_decode_LDADD = $(GLIB_LIBS) +mon_tests_test_mon_req_decode_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS) + +mon_tests_test_mon_resp_encode_SOURCES = mon/tests/test_mon_resp_encode.c \ + $(mon_srcs) \ + common/tr_name.c +mon_tests_test_mon_resp_encode_LDADD = $(GLIB_LIBS) +mon_tests_test_mon_resp_encode_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS) + pkginclude_HEADERS = include/trust_router/tid.h include/trust_router/tr_name.h \ include/tr_debug.h include/trust_router/trp.h \ include/trust_router/tr_dh.h \