diff options
author | Cy Schubert <cy@FreeBSD.org> | 2014-12-20 22:52:39 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2014-12-20 22:52:39 +0000 |
commit | b5e14a1344528861a7016aa2c6b0f2e9630d1526 (patch) | |
tree | f04bed14f7e8aed5c0e9d2f7785175c7951036d3 /tests/libntp/Makefile.am | |
parent | 2b45e011ca352ce509bc83ae148230aeee0c7e0d (diff) | |
download | src-vendor/ntp/4.2.8.tar.gz src-vendor/ntp/4.2.8.zip |
Vendor import ntp 4.2.8.vendor/ntp/4.2.8
Reviewed by: roberto
Security: VUXML: 4033d826-87dd-11e4-9079-3c970e169bc2
Security: http://www.kb.cert.org/vuls/id/852879
Security: CVE-2014-9293
Security CVE-2014-9294
Security CVE-2014-9295
Security CVE-2014-9296
Diffstat (limited to 'tests/libntp/Makefile.am')
-rw-r--r-- | tests/libntp/Makefile.am | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/tests/libntp/Makefile.am b/tests/libntp/Makefile.am new file mode 100644 index 000000000000..2f19a89fe731 --- /dev/null +++ b/tests/libntp/Makefile.am @@ -0,0 +1,93 @@ +NULL = +BUILT_SOURCES = +CLEANFILES = + +check_PROGRAMS = tests + +LDADD = \ + $(top_builddir)/libntp/libntp.a \ + $(LDADD_LIBNTP) \ + $(PTHREAD_LIBS) \ + $(LDADD_NTP) \ + $(GTEST_LDFLAGS) \ + $(GTEST_LIBS) \ + $(NULL) + +AM_CFLAGS = $(CFLAGS_NTP) +AM_CXXFLAGS = $(GTEST_CXXFLAGS) + +AM_CPPFLAGS = $(NTP_INCS) +AM_CPPFLAGS += -I$(top_srcdir)/sntp +AM_CPPFLAGS += $(GTEST_CPPFLAGS) +AM_CPPFLAGS += $(CPPFLAGS_NTP) + +AM_LDFLAGS = $(LDFLAGS_NTP) + +tests_SOURCES = $(top_srcdir)/sntp/tests_main.cpp \ + libntptest.cpp \ + a_md5encrypt.cpp \ + atoint.cpp \ + atouint.cpp \ + authkeys.cpp \ + buftvtots.cpp \ + calendar.cpp \ + caljulian.cpp \ + caltontp.cpp \ + calyearstart.cpp \ + clocktime.cpp \ + decodenetnum.cpp \ + hextoint.cpp \ + hextolfp.cpp \ + humandate.cpp \ + lfpfunc.cpp \ + lfptostr.cpp \ + modetoa.cpp \ + msyslog.cpp \ + netof.cpp \ + numtoa.cpp \ + numtohost.cpp \ + octtoint.cpp \ + prettydate.cpp \ + recvbuff.cpp \ + refnumtoa.cpp \ + sfptostr.cpp \ + socktoa.cpp \ + ssl_init.cpp \ + statestr.cpp \ + strtolfp.cpp \ + timespecops.cpp \ + timestructs.cpp \ + timevalops.cpp \ + tstotv.cpp \ + tvtots.cpp \ + uglydate.cpp \ + vi64ops.cpp \ + ymd2yd.cpp \ + $(NULL) + +noinst_HEADERS = lfptest.h \ + libntptest.h \ + sockaddrtest.h \ + timestructs.h \ + $(NULL) + +TESTS = + +if !NTP_CROSSCOMPILE +TESTS += tests +endif + +## check-libntp.mf - automake fragment +## slightly adapted for deeper directory + +BUILT_SOURCES += check-libntp +CLEANFILES += check-libntp + +check-libntp: ../../libntp/libntp.a + @echo stamp > $@ + +../../libntp/libntp.a: + cd ../../libntp && $(MAKE) $(AM_MAKEFLAGS) libntp.a + +include $(top_srcdir)/depsver.mf +include $(top_srcdir)/includes.mf |