Expand PMF_FN_* macros.
[netbsd-mini2440.git] / dist / ntp / ntpdate / Makefile.am
blob3372f49f2c332a28eac3046a7de637ee670c73e0
1 #AUTOMAKE_OPTIONS=      ../util/ansi2knr
3 bindir=         ${exec_prefix}/${BINSUBDIR}
4 #bin_PROGRAMS=  ntpdate ntptimeset
5 bin_PROGRAMS=   ntpdate
6 EXTRA_PROGRAMS= ntptimeset
8 ntptimeset_SOURCES=     ntptimeset.c ntptime_config.c
9 AM_CPPFLAGS=    -I$(top_srcdir)/include
10 # LDADD might need RESLIB and ADJLIB
11 LDADD=          version.o ../libntp/libntp.a
12 DISTCLEANFILES= .version version.c stamp-v
13 noinst_HEADERS= ntpdate.h
14 ETAGS_ARGS=     Makefile.am
16 $(PROGRAMS): $(LDADD)
18 ../libntp/libntp.a:
19         cd ../libntp && $(MAKE)
21 $(top_srcdir)/version :
22         cd $(top_srcdir) && $(MAKE) version
24 version.o: $(ntpdate_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version
25         env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdate
26         $(COMPILE) -c version.c
28 include ../bincheck.mf