Gleb Smirnoff 9034852c84 MFV ntp-4.2.8p4 (r289715)
Security:       VuXML: c4a18a12-77fc-11e5-a687-206a8a720317
Security:	CVE-2015-7871
Security:	CVE-2015-7855
Security:	CVE-2015-7854
Security:	CVE-2015-7853
Security:	CVE-2015-7852
Security:	CVE-2015-7851
Security:	CVE-2015-7850
Security:	CVE-2015-7849
Security:	CVE-2015-7848
Security:	CVE-2015-7701
Security:	CVE-2015-7703
Security:	CVE-2015-7704, CVE-2015-7705
Security:	CVE-2015-7691, CVE-2015-7692, CVE-2015-7702
Security:	http://support.ntp.org/bin/view/Main/SecurityNotice#October_2015_NTP_Security_Vulner
Sponsored by:	Nginx, Inc.
2015-10-22 19:42:57 +00:00

73 lines
1.6 KiB
Makefile

#AUTOMAKE_OPTIONS = foreign 1.9 subdir-objects
NULL =
BUILT_SOURCES =
CLEANFILES =
std_unity_list = \
$(top_srcdir)/sntp/unity/auto/generate_test_runner.rb \
$(NULL)
run_unity = cd $(srcdir) && ruby ../../sntp/unity/auto/generate_test_runner.rb
check_PROGRAMS = bug-2803
# HMS: we may not need some of these:
LDADD = \
$(top_builddir)/sntp/unity/libunity.a \
$(top_builddir)/libntp/libntp.a \
$(LDADD_LIBNTP) \
$(PTHREAD_LIBS) \
$(LDADD_NTP) \
$(NULL)
AM_CFLAGS = $(CFLAGS_NTP)
# HMS: we may not need some of these:
AM_CPPFLAGS = $(NTP_INCS)
AM_CPPFLAGS += -I$(top_srcdir)/sntp/unity
AM_CPPFLAGS += -I$(top_srcdir)/include
AM_CPPFLAGS += $(CPPFLAGS_NTP)
AM_CPPFLAGS += -DUNITY_INCLUDE_CONFIG_H
AM_CPPFLAGS += -I$(top_srcdir)/sntp/unity
AM_LDFLAGS = $(LDFLAGS_NTP)
bug_2803_SOURCES = \
bug-2803.c \
run-bug-2803.c \
$(NULL)
$(srcdir)/run-bug-2803.c: $(srcdir)/bug-2803.c $(std_unity_list)
$(run_unity) bug-2803.c run-bug-2803.c
# HMS: we may not need some of these:
#noinst_HEADERS = ntpdtest.h \
# $(NULL)
TESTS =
if !NTP_CROSSCOMPILE
TESTS += $(check_PROGRAMS)
endif
## check-libntp.mf - automake fragment
## slightly adapted for deeper directory
BUILT_SOURCES += check-libntp check-libunity
CLEANFILES += check-libntp check-libunity
check-libntp: ../../libntp/libntp.a
@echo stamp > $@
../../libntp/libntp.a:
cd ../../libntp && $(MAKE) $(AM_MAKEFLAGS) libntp.a
check-libunity: ../../sntp/unity/libunity.a
@echo stamp > $@
../../sntp/unity/libunity.a:
cd ../../sntp/unity && $(MAKE) $(AM_MAKEFLAGS) libunity.a
include $(top_srcdir)/depsver.mf
include $(top_srcdir)/includes.mf