1 #AUTOMAKE_OPTIONS = foreign 1.9 subdir-objects
7 $(top_srcdir)/sntp/unity/auto/generate_test_runner.rb \
10 run_unity = cd $(srcdir) && ruby ../../sntp/unity/auto/generate_test_runner.rb
12 check_PROGRAMS = bug-2803
14 # HMS: we may not need some of these:
16 $(top_builddir)/sntp/unity/libunity.a \
17 $(top_builddir)/libntp/libntp.a \
23 AM_CFLAGS = $(CFLAGS_NTP)
25 # HMS: we may not need some of these:
26 AM_CPPFLAGS = $(NTP_INCS)
27 AM_CPPFLAGS += -I$(top_srcdir)/sntp/unity
28 AM_CPPFLAGS += -I$(top_srcdir)/include
29 AM_CPPFLAGS += $(CPPFLAGS_NTP)
30 AM_CPPFLAGS += -DUNITY_INCLUDE_CONFIG_H
31 AM_CPPFLAGS += -I$(top_srcdir)/sntp/unity
33 AM_LDFLAGS = $(LDFLAGS_NTP)
40 $(srcdir)/run-bug-2803.c: $(srcdir)/bug-2803.c $(std_unity_list)
41 $(run_unity) bug-2803.c run-bug-2803.c
43 # HMS: we may not need some of these:
44 #noinst_HEADERS = ntpdtest.h \
50 TESTS += $(check_PROGRAMS)
53 ## check-libntp.mf - automake fragment
54 ## slightly adapted for deeper directory
56 BUILT_SOURCES += check-libntp check-libunity
57 CLEANFILES += check-libntp check-libunity
59 check-libntp: ../../libntp/libntp.a
62 ../../libntp/libntp.a:
63 cd ../../libntp && $(MAKE) $(AM_MAKEFLAGS) libntp.a
65 check-libunity: ../../sntp/unity/libunity.a
68 ../../sntp/unity/libunity.a:
69 cd ../../sntp/unity && $(MAKE) $(AM_MAKEFLAGS) libunity.a
71 include $(top_srcdir)/depsver.mf
72 include $(top_srcdir)/includes.mf