From: Lokesh Walase Date: Mon, 22 Jun 2015 07:26:31 +0000 (+0530) Subject: Makefile changes X-Git-Tag: NTP_4_2_8P3_RC3~22^2~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cf52fdf69516d42c6cfa62568ea2f81514961e7;p=thirdparty%2Fntp.git Makefile changes bk: 5587b8a7GOk2jKoVkjyjiLUwjAFtuA --- diff --git a/sntp/tests/Makefile.am b/sntp/tests/Makefile.am index 9ec4b2693..ac4e71a45 100644 --- a/sntp/tests/Makefile.am +++ b/sntp/tests/Makefile.am @@ -15,6 +15,7 @@ check_PROGRAMS = \ test-keyFile \ test-kodDatabase \ test-kodFile \ + test-nameresolution \ test-networking \ $(NULL) @@ -39,6 +40,7 @@ tests_SOURCES = \ g_kodDatabase.cpp \ g_kodFile.cpp \ g_networking.cpp \ + g_nameresolution.cpp \ packetHandling.cpp \ packetProcessing.cpp \ utilities.cpp \ @@ -114,6 +116,7 @@ BUILT_SOURCES += \ $(srcdir)/run-kodDatabase.c \ $(srcdir)/run-kodFile.c \ $(srcdir)/run-networking.c \ + $(srcdir)/run-nameresolution.c \ $(NULL) test_crypto_CFLAGS = \ @@ -205,6 +208,23 @@ test_networking_SOURCES = \ $(srcdir)/run-networking.c: $(srcdir)/networking.c $(std_unity_list) $(run_unity) networking.c run-networking.c +test_nameresolution_CFLAGS = \ + -I$(top_srcdir)/unity \ + $(NULL) + +test_nameresolution_LDADD = \ + $(unity_tests_LDADD) \ + $(NULL) + +test_nameresolution_SOURCES = \ + nameresolution.c \ + run-nameresolution.c \ + $(top_builddir)/version.c \ + $(NULL) + +$(srcdir)/run-nameresolution.c: $(srcdir)/nameresolution.c $(std_unity_list) + $(run_unity) nameresolution.c run-nameresolution.c + #$(srcdir)/../version.c: $(srcdir)/../version.c # gcc -o version.o ../version.c