Merge from vendor branch TCPDUMP:
[dragonfly.git] / contrib / ntp / ntpdate / Makefile.am
1 #AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
2 AUTOMAKE_OPTIONS = ../util/ansi2knr
3 bin_PROGRAMS = ntpdate ntptimeset
4 ntptimeset_SOURCES = ntptimeset.c ntptime_config.c
5 INCLUDES = -I$(top_srcdir)/include
6 # LDADD might need RESLIB and ADJLIB
7 LDADD = version.o ../libntp/libntp.a @LIBRSAREF@
8 DISTCLEANFILES = .version version.c stamp-v
9 noinst_HEADERS = ntpdate.h
10 #EXTRA_DIST = ntpdate.mak
11 ETAGS_ARGS = Makefile.am
12
13 $(PROGRAMS): $(LDADD)
14
15 ../libntp/libntp.a:
16         cd ../libntp && $(MAKE)
17
18 version.o: $(ntpdate_OBJECTS) ../libntp/libntp.a @LIBRSAREF@ Makefile
19         $(top_builddir)/scripts/mkver ntpdate
20         $(COMPILE) -c version.c