2007-06-24 19:47:02 +04:00
|
|
|
#AUTOMAKE_OPTIONS= ../util/ansi2knr
|
2006-06-11 18:57:12 +04:00
|
|
|
|
|
|
|
bindir= ${exec_prefix}/${BINSUBDIR}
|
|
|
|
#bin_PROGRAMS= ntpdate ntptimeset
|
|
|
|
bin_PROGRAMS= ntpdate
|
|
|
|
EXTRA_PROGRAMS= ntptimeset
|
|
|
|
|
|
|
|
ntptimeset_SOURCES= ntptimeset.c ntptime_config.c
|
|
|
|
AM_CPPFLAGS= -I$(top_srcdir)/include
|
2000-03-29 16:38:44 +04:00
|
|
|
# LDADD might need RESLIB and ADJLIB
|
2006-06-11 18:57:12 +04:00
|
|
|
LDADD= version.o ../libntp/libntp.a
|
|
|
|
DISTCLEANFILES= .version version.c stamp-v
|
|
|
|
noinst_HEADERS= ntpdate.h
|
|
|
|
ETAGS_ARGS= Makefile.am
|
2000-03-29 16:38:44 +04:00
|
|
|
|
|
|
|
$(PROGRAMS): $(LDADD)
|
|
|
|
|
|
|
|
../libntp/libntp.a:
|
|
|
|
cd ../libntp && $(MAKE)
|
|
|
|
|
2007-01-06 19:04:26 +03:00
|
|
|
$(top_srcdir)/version :
|
|
|
|
cd $(top_srcdir) && $(MAKE) version
|
|
|
|
|
2003-12-04 19:05:14 +03:00
|
|
|
version.o: $(ntpdate_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version
|
|
|
|
env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdate
|
2000-03-29 16:38:44 +04:00
|
|
|
$(COMPILE) -c version.c
|
2006-06-11 18:57:12 +04:00
|
|
|
|
|
|
|
include ../bincheck.mf
|