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)
31 AM_LDFLAGS = $(LDFLAGS_NTP)
38 $(srcdir)/run-bug-2803.c: $(srcdir)/bug-2803.c $(std_unity_list)
39 $(run_unity) bug-2803.c run-bug-2803.c
41 # HMS: we may not need some of these:
42 #noinst_HEADERS = ntpdtest.h \
48 TESTS += $(check_PROGRAMS)
51 ## check-libntp.mf - automake fragment
52 ## slightly adapted for deeper directory
54 BUILT_SOURCES += check-libntp check-libunity
55 CLEANFILES += check-libntp check-libunity
57 check-libntp: ../../libntp/libntp.a
60 ../../libntp/libntp.a:
61 cd ../../libntp && $(MAKE) $(AM_MAKEFLAGS) libntp.a
63 check-libunity: ../../sntp/unity/libunity.a
66 ../../sntp/unity/libunity.a:
67 cd ../../sntp/unity && $(MAKE) $(AM_MAKEFLAGS) libunity.a
69 include $(top_srcdir)/depsver.mf
70 include $(top_srcdir)/includes.mf