diff options
Diffstat (limited to 'contrib/ntp/ntpdate/Makefile.am')
-rw-r--r-- | contrib/ntp/ntpdate/Makefile.am | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/ntp/ntpdate/Makefile.am b/contrib/ntp/ntpdate/Makefile.am new file mode 100644 index 0000000..ba6c21f --- /dev/null +++ b/contrib/ntp/ntpdate/Makefile.am @@ -0,0 +1,20 @@ +#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies +AUTOMAKE_OPTIONS = ../util/ansi2knr +bin_PROGRAMS = ntpdate ntptimeset +ntptimeset_SOURCES = ntptimeset.c ntptime_config.c +INCLUDES = -I$(top_srcdir)/include +# LDADD might need RESLIB and ADJLIB +LDADD = version.o ../libntp/libntp.a @LIBRSAREF@ +DISTCLEANFILES = .version stamp-v +noinst_HEADERS = ntpdate.h +#EXTRA_DIST = ntpdate.mak +ETAGS_ARGS = Makefile.am + +$(PROGRAMS): $(LDADD) + +../libntp/libntp.a: + cd ../libntp && $(MAKE) + +version.o: $(ntpdate_OBJECTS) ../libntp/libntp.a @LIBRSAREF@ Makefile + $(top_builddir)/scripts/mkver ntpdate + $(COMPILE) -c version.c |