1999-12-09 13:01:21 +00:00
|
|
|
#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@
|
2001-08-29 14:35:15 +00:00
|
|
|
DISTCLEANFILES = .version version.c stamp-v
|
1999-12-09 13:01:21 +00:00
|
|
|
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
|
2002-10-29 19:58:12 +00:00
|
|
|
env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdate
|
1999-12-09 13:01:21 +00:00
|
|
|
$(COMPILE) -c version.c
|