From: Lokesh Walase Date: Fri, 12 Jun 2015 11:09:36 +0000 (+0530) Subject: Makefile.am modified for octotint.c file X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08b87bab293542e733f502dc03e28182b99c9542;p=thirdparty%2Fntp.git Makefile.am modified for octotint.c file bk: 557abdf0611AvuiG4OhZ42CVvUGl_Q --- diff --git a/tests/libntp/Makefile.am b/tests/libntp/Makefile.am index 01c6f4d60..bfbda22cf 100644 --- a/tests/libntp/Makefile.am +++ b/tests/libntp/Makefile.am @@ -6,7 +6,7 @@ run_unity = cd $(srcdir) && ruby ../../sntp/unity/auto/generate_test_runner.rb #removed test-libntp check_PROGRAMS = test-modetoa test-uglydate test-ymd2yd test-statestr test-numtoa test-numtohost \ -test-hextoint test-atoint test-atouint test-authkeys test-a_md5encrypt test-lfpfunc +test-hextoint test-atoint test-atouint test-authkeys test-a_md5encrypt test-lfpfunc test-octtoint if GTEST_AVAILABLE check_PROGRAMS += tests @@ -66,7 +66,7 @@ tests_SOURCES = $(top_srcdir)/sntp/tests_main.cpp \ netof.cpp \ g_numtoa.cpp \ g_numtohost.cpp \ - octtoint.cpp \ + g_octtoint.cpp \ prettydate.cpp \ recvbuff.cpp \ refnumtoa.cpp \ @@ -171,6 +171,15 @@ test_atoint_LDADD = \ $(unity_tests_LDADD) $(NULL) +test_octtoint_CFLAGS = \ + -I$(top_srcdir)/sntp/unity \ + $(NULL) + +test_octtoint_LDADD = \ + $(unity_tests_LDADD) + $(NULL) + + test_a_md5encrypt_CFLAGS = \ -I$(top_srcdir)/sntp/unity \ $(NULL) @@ -256,6 +265,12 @@ test_atoint_SOURCES = \ run-test-atoint.c \ $(NULL) +test_octtoint_SOURCES = \ + octtoint.c \ + run-test-octtoint.c \ + $(NULL) + + test_a_md5encrypt_SOURCES = \ a_md5encrypt.c \ run-test-a_md5encrypt.c \ @@ -302,6 +317,9 @@ $(srcdir)/run-test-hextoint.c: $(srcdir)/hextoint.c $(std_unity_list) $(srcdir)/run-test-atoint.c: $(srcdir)/atoint.c $(std_unity_list) $(run_unity) atoint.c run-test-atoint.c +$(srcdir)/run-test-octtoint.c: $(srcdir)/octtoint.c $(std_unity_list) + $(run_unity) octtoint.c run-test-octtoint.c + $(srcdir)/run-test-a_md5encrypt.c: $(srcdir)/a_md5encrypt.c $(std_unity_list) $(run_unity) a_md5encrypt.c run-test-a_md5encrypt.c