diff options
author | Ollivier Robert <roberto@FreeBSD.org> | 2013-12-04 21:33:17 +0000 |
---|---|---|
committer | Ollivier Robert <roberto@FreeBSD.org> | 2013-12-04 21:33:17 +0000 |
commit | 2b45e011ca352ce509bc83ae148230aeee0c7e0d (patch) | |
tree | a618007bb41d13153794a598e3d904ace2976324 /ntpsnmpd/Makefile.am | |
parent | 9b5bd0a264b0a21eefac2b929b574c73bd601507 (diff) |
Virgin import of ntpd 4.2.6p5.vendor/ntp/4.2.6p5
When the series of commits is complete, things like
https://cert.litnet.lt/en/docs/ntp-distributed-reflection-dos-attacks
should be fixed.
PR: bin/148836 (except that we import a newer version)
Asked by: Too many
MFC after: 2 weeks
Notes
Notes:
svn path=/vendor/ntp/dist/; revision=258945
svn path=/vendor/ntp/4.2.6p5/; revision=258946; tag=vendor/ntp/4.2.6p5
Diffstat (limited to 'ntpsnmpd/Makefile.am')
-rw-r--r-- | ntpsnmpd/Makefile.am | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/ntpsnmpd/Makefile.am b/ntpsnmpd/Makefile.am new file mode 100644 index 000000000000..168de2787310 --- /dev/null +++ b/ntpsnmpd/Makefile.am @@ -0,0 +1,54 @@ +NULL= +AUTOMAKE_OPTIONS= + +if NTP_BINSUBDIR_IS_BIN +bin_PROGRAMS= @MAKE_NTPSNMPD@ +else +sbin_PROGRAMS= @MAKE_NTPSNMPD@ +endif + +EXTRA_PROGRAMS= ntpsnmpd +ntpsnmpd_SOURCES= netsnmp_daemonize.c ntpsnmpd.c ntpSnmpSubagentObject.c \ + ntpsnmpd-opts.c ntpsnmpd-opts.h ntpSnmpSubagentObject.h \ + ntp_snmp.h +# HMS: we probably want a version.o file here, too. +LDADD= ../ntpq/libntpq.a ../libntp/libntp.a @LCRYPTO@ @SNMP_LIBS@ \ + $(LIBOPTS_LDADD) +AM_CPPFLAGS= -I$(top_srcdir)/ntpq -I$(top_srcdir)/include \ + -I$(top_srcdir)/lib/isc/include \ + -I$(top_srcdir)/lib/isc/nothreads/include \ + -I$(top_srcdir)/lib/isc/unix/include \ + $(LIBOPTS_CFLAGS) @SNMP_CPPFLAGS@ + +AM_CFLAGS= @SNMP_CFLAGS@ +EXTRA_DIST= ntpsnmpd-opts.def ntpsnmpd.1 ntpsnmpd-opts.texi \ + ntpsnmpd-opts.menu ntpv4-mib.mib +BUILT_SOURCES= ntpsnmpd-opts.c ntpsnmpd-opts.h +CLEANFILES= +noinst_DATA= $(srcdir)/ntpsnmpd-opts.texi $(srcdir)/ntpsnmpd-opts.menu +man_MANS= $(srcdir)/ntpsnmpd.1 +run_ag= cd $(srcdir) && env PATH="$(abs_builddir):$(PATH)" \ + autogen -L ../include --writable +std_def_list= $(top_srcdir)/include/autogen-version.def \ + $(top_srcdir)/include/copyright.def \ + $(top_srcdir)/include/homerc.def \ + $(top_srcdir)/include/version.def + +$(srcdir)/ntpsnmpd-opts.h: $(srcdir)/ntpsnmpd-opts.c + @: do-nothing action to avoid default SCCS get, .h built with .c + +$(srcdir)/ntpsnmpd-opts.c: $(srcdir)/ntpsnmpd-opts.def $(std_def_list) + $(run_ag) ntpsnmpd-opts.def + +$(srcdir)/ntpsnmpd.1: $(srcdir)/ntpsnmpd-opts.def $(std_def_list) + $(run_ag) -Tagman1.tpl -bntpsnmpd ntpsnmpd-opts.def + +$(srcdir)/ntpsnmpd-opts.menu: $(srcdir)/ntpsnmpd-opts.texi + @: do-nothing action to avoid default SCCS get, .menu built with .texi + +$(srcdir)/ntpsnmpd-opts.texi: $(srcdir)/ntpsnmpd-opts.def $(std_def_list) + $(run_ag) -Taginfo.tpl -DLEVEL=section ntpsnmpd-opts.def + $(top_srcdir)/scripts/check--help $@ + +include $(top_srcdir)/bincheck.mf +include $(top_srcdir)/depsver.mf |