1999-12-09 13:01:21 +00:00
|
|
|
#AUTOMAKE_OPTIONS = ../ansi2knr no-dependencies
|
2004-07-20 15:01:56 +00:00
|
|
|
AUTOMAKE_OPTIONS= ansi2knr
|
2008-08-18 14:26:05 +00:00
|
|
|
|
|
|
|
bin_PROGRAMS= @MAKE_NTPTIME@ @MAKE_TICKADJ@ @MAKE_TIMETRIM@ \
|
|
|
|
ntp-keygen
|
2004-07-20 15:01:56 +00:00
|
|
|
EXTRA_PROGRAMS= audio-pcm byteorder hist jitter kern longsize \
|
2008-08-18 14:26:05 +00:00
|
|
|
ntptime pps-api precision sht testrs6000 tg tickadj timetrim
|
1999-12-09 13:01:21 +00:00
|
|
|
|
2008-08-18 14:26:05 +00:00
|
|
|
AM_CPPFLAGS= -I$(top_srcdir)/include $(LIBOPTS_CFLAGS)
|
1999-12-09 13:01:21 +00:00
|
|
|
# LDADD might need RESLIB and ADJLIB
|
2004-07-20 15:01:56 +00:00
|
|
|
LDADD= ../libntp/libntp.a
|
2008-08-18 14:26:05 +00:00
|
|
|
ntp_keygen_SOURCES = ntp-keygen.c ntp-keygen-opts.c ntp-keygen-opts.h
|
|
|
|
ntp_keygen_LDADD= @LCRYPTO@ $(LIBOPTS_LDADD) ../libntp/libntp.a
|
|
|
|
|
2004-07-20 15:01:56 +00:00
|
|
|
ETAGS_ARGS= Makefile.am
|
2008-08-18 14:26:05 +00:00
|
|
|
#EXTRA_DIST= README TAGS
|
|
|
|
EXTRA_DIST= ntp-keygen-opts.def ntp-keygen.1 ntp-keygen-opts.texi ntp-keygen-opts.menu
|
|
|
|
BUILT_SOURCES= ntp-keygen-opts.c ntp-keygen-opts.h ntp-keygen.1 \
|
|
|
|
ntp-keygen-opts.texi ntp-keygen-opts.menu
|
|
|
|
man_MANS= ntp-keygen.1
|
|
|
|
run_ag= cd $(srcdir) && autogen -L ../include --writable
|
|
|
|
std_def_list= $(top_srcdir)/include/debug-opt.def \
|
|
|
|
$(top_srcdir)/include/autogen-version.def \
|
|
|
|
$(top_srcdir)/include/copyright.def \
|
|
|
|
$(top_srcdir)/include/homerc.def \
|
|
|
|
$(top_srcdir)/include/version.def
|
|
|
|
|
|
|
|
$(srcdir)/ntp-keygen-opts.h: $(srcdir)/ntp-keygen-opts.c
|
|
|
|
$(srcdir)/ntp-keygen-opts.c: $(srcdir)/ntp-keygen-opts.def $(std_def_list)
|
|
|
|
$(run_ag) ntp-keygen-opts.def
|
|
|
|
|
|
|
|
$(srcdir)/ntp-keygen.1: $(srcdir)/ntp-keygen-opts.def $(std_def_list)
|
|
|
|
$(run_ag) -Tagman1.tpl -bntp-keygen ntp-keygen-opts.def
|
|
|
|
|
|
|
|
$(srcdir)/ntp-keygen-opts.texi $(srcdir)/ntp-keygen-opts.menu: $(srcdir)/ntp-keygen-opts.def $(std_def_list)
|
|
|
|
$(run_ag) -Taginfo.tpl -DLEVEL=section ntp-keygen-opts.def
|
|
|
|
|
|
|
|
|
|
|
|
jitter_SOURCES= jitter.c jitter.h
|
|
|
|
jitter_LDADD=
|
1999-12-09 13:01:21 +00:00
|
|
|
|
|
|
|
../libntp/libntp.a:
|
|
|
|
cd ../libntp && $(MAKE)
|
|
|
|
|
|
|
|
kern.o: kern.c
|
|
|
|
$(COMPILE) -DHAVE_TIMEX_H -c kern.c
|