~ubuntu-branches/debian/squeeze/ntp/squeeze

« back to all changes in this revision

Viewing changes to ntpd/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2010-05-24 11:09:51 UTC
  • mfrom: (1.2.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100524110951-1o7gh469ygochf4n
Tags: 1:4.2.6.p1+dfsg-1
* New upstream version
  - They no longer ship arlib, adjust dfsg.patch.
  - Drop kfreebsd.patch, applied upstream
  - Update patches for upstream changes.
* Remove the obsolete config files:

  for ntp:
  - /etc/logcheck/ignore.d.server/ntp, removed in 1:4.2.6+dfsg-1
  - /etc/dhcp3/dhclient-enter-hooks.d/ntp, replaced by exit hooks in
    1:4.2.4p4+dfsg-3
  - /etc/network/if-up.d/ntp, removed in 1:4.2.4p0+dfsg-1

  for ntpdate:
  - /etc/dhcp3/dhclient-enter-hooks.d/ntpdate, replaced by exit hooks in
    1:4.2.4p4+dfsg-3

  Use dpkg 1.15.7.2's dpkg-maintscript-helper.  This needs
  a Pre-Depends to work, else it's never going to be removed.
  (Closes: #569530)
* Add "Depends: ${misc:Depends}" to ntp-doc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.11 from Makefile.am.
 
1
# Makefile.in generated by automake 1.11.1 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
20
20
# subdir to warn folks if there is another version there.
21
21
 
22
22
 
 
23
 
23
24
VPATH = @srcdir@
24
25
pkgdatadir = $(datadir)/@PACKAGE@
25
26
pkgincludedir = $(includedir)/@PACKAGE@
39
40
POST_UNINSTALL = :
40
41
build_triplet = @build@
41
42
host_triplet = @host@
42
 
bin_PROGRAMS = ntpd$(EXEEXT) @MAKE_NTPDSIM@
 
43
@NTP_BINSUBDIR_IS_BIN_TRUE@bin_PROGRAMS = ntpd$(EXEEXT) @MAKE_NTPDSIM@
 
44
@NTP_BINSUBDIR_IS_BIN_FALSE@sbin_PROGRAMS = ntpd$(EXEEXT) \
 
45
@NTP_BINSUBDIR_IS_BIN_FALSE@    @MAKE_NTPDSIM@ $(am__empty)
43
46
EXTRA_PROGRAMS = check_y2k$(EXEEXT) ntpdsim$(EXEEXT) \
44
47
        keyword-gen$(EXEEXT)
45
48
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
95
98
        refclock_wwvb.$(OBJEXT) refclock_zyfer.$(OBJEXT) \
96
99
        $(am__objects_1)
97
100
libntpd_a_OBJECTS = $(am_libntpd_a_OBJECTS)
98
 
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
99
 
PROGRAMS = $(bin_PROGRAMS)
 
101
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" \
 
102
        "$(DESTDIR)$(man1dir)"
 
103
PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS)
100
104
check_y2k_SOURCES = check_y2k.c
101
105
check_y2k_OBJECTS = check_y2k.$(OBJEXT)
102
106
am__DEPENDENCIES_1 = version.o libntpd.a
171
175
man1dir = $(mandir)/man1
172
176
NROFF = nroff
173
177
MANS = $(man_MANS)
 
178
DATA = $(noinst_DATA)
174
179
ETAGS = etags
175
180
CTAGS = ctags
176
181
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
177
182
ACLOCAL = @ACLOCAL@
178
183
AMTAR = @AMTAR@
179
184
AR = @AR@
180
 
ARLIB_DIR = @ARLIB_DIR@
181
185
AUTOCONF = @AUTOCONF@
182
186
AUTOHEADER = @AUTOHEADER@
183
187
AUTOMAKE = @AUTOMAKE@
284
288
am__quote = @am__quote@
285
289
am__tar = @am__tar@
286
290
am__untar = @am__untar@
287
 
bindir = ${exec_prefix}/${BINSUBDIR}
 
291
bindir = @bindir@
288
292
build = @build@
289
293
build_alias = @build_alias@
290
294
build_cpu = @build_cpu@
340
344
@NTP_CROSSCOMPILE_FALSE@@SAVECONFIG_ENABLED_TRUE@CHECK_SAVECONFIG = check-saveconfig
341
345
@NTP_CROSSCOMPILE_TRUE@@SAVECONFIG_ENABLED_TRUE@CHECK_SAVECONFIG = 
342
346
@SAVECONFIG_ENABLED_FALSE@CHECK_SAVECONFIG = 
343
 
@NTP_CROSSCOMPILE_FALSE@NTP_KEYWORD_OUT = ntp_keyword.out
344
 
@NTP_CROSSCOMPILE_TRUE@NTP_KEYWORD_OUT = ntp_keyword.dummy
345
347
@VPATH_HACK_FALSE@VPHACK = 
346
348
 
347
349
#
357
359
@VPATH_HACK_TRUE@VPHACK = vphack
358
360
@VPATH_HACK_FALSE@VPHACK_AFTER = 
359
361
@VPATH_HACK_TRUE@VPHACK_AFTER = vphack_after
 
362
 
 
363
# BUILT_SOURCES which should also be in EXTRA_DIST
 
364
B_S_DIST = \
 
365
        ntpd-opts.c     \
 
366
        ntpd-opts.h     \
 
367
        $(NULL)
 
368
 
360
369
BUILT_SOURCES = $(VPHACK) ntp_parser.c ntp_parser.h $(VPHACK_AFTER) \
361
 
        ntp_keyword.h ntpd-opts.c ntpd-opts.h ntpd.1 ntpd-opts.texi \
362
 
        ntpd-opts.menu .deps-ver
363
 
man_MANS = ntpd.1
 
370
        $(B_S_DIST) $(NULL) .deps-ver
 
371
man_MANS = $(srcdir)/ntpd.1
364
372
 
365
373
# ntpdsim.1 is a remnant along with all the ntpdsim-opts.* files, the
366
374
# simulator currently uses ntpd-opts.[ch].  This also means there is no
371
379
# sqrt                                ntp_control.o
372
380
# floor                               refclock_wwv.o
373
381
# which are (usually) provided by -lm.
374
 
keyword_gen_LDADD = ../libntp/libntp.a
375
 
ntpd_LDADD = $(LDADD) -lm @LCRYPTO@ @LSCF@ $(LIBOPTS_LDADD) ../libntp/libntp.a
376
 
ntpdsim_LDADD = $(LDADD) -lm @LCRYPTO@ @LSCF@ $(LIBOPTS_LDADD) ../libntp/libntpsim.a
 
382
ntpd_LDADD = $(LDADD) $(LIBOPTS_LDADD) ../libntp/libntp.a -lm @LCRYPTO@ @LSCF@
 
383
ntpdsim_LDADD = $(LDADD) $(LIBOPTS_LDADD) ../libntp/libntpsim.a -lm @LCRYPTO@ @LSCF@
377
384
ntpdsim_CFLAGS = $(CFLAGS) -DSIM
378
385
check_y2k_LDADD = $(LDADD) ../libntp/libntp.a
379
 
DISTCLEANFILES = keyword-gen .version version.c
380
 
CLEANFILES = check-saveconfig compsave.conf ntp_keyword.out \
381
 
        ntp_keyword.dummy .deps-ver
 
386
keyword_gen_LDADD = ../libntp/libntp.a  # we don't want $(LDADD) here
 
387
DISTCLEANFILES = \
 
388
        keyword-gen             \
 
389
        .version                \
 
390
        version.c               \
 
391
        $(NULL)
 
392
 
 
393
CLEANFILES = check-saveconfig compsave.conf k-g-u-submake $(NULL) \
 
394
        .deps-ver
382
395
EXTRA_DIST = \
383
396
        complete.conf           \
 
397
        keyword-gen-utd         \
 
398
        ntpd.1                  \
384
399
        ntpd-opts.def           \
 
400
        ntpd-opts.menu          \
 
401
        ntpd-opts.texi          \
385
402
        ntpdbase-opts.def       \
386
 
        ntp_keyword.h           \
387
403
        refclock_msfees.c       \
388
404
        refclock_trak.c         \
389
 
        $(BUILT_SOURCES)        \
 
405
        $(B_S_DIST)             \
390
406
        $(NULL)
391
407
 
392
408
ETAGS_ARGS = Makefile.am
393
409
###                                                     Y2Kfixes
394
410
check_PROGRAMS = @MAKE_CHECK_Y2K@
395
 
run_ag = cd $(srcdir) &&                                        \
396
 
                env PATH="$(abs_builddir):$(PATH)"              \
 
411
noinst_DATA = $(srcdir)/ntpd-opts.texi $(srcdir)/ntpd-opts.menu
 
412
run_ag = cd $(srcdir) &&        env PATH="$(abs_builddir):$(PATH)"      \
397
413
                autogen -L ../include --writable
398
414
 
399
415
std_def_list = $(top_srcdir)/include/autogen-version.def        \
404
420
        cmd_args.c              \
405
421
        ntp_config.c            \
406
422
        ntp_data_structures.c   \
 
423
        ntp_keyword.h           \
407
424
        ntp_io.c                \
408
425
        ntp_parser.y            \
409
426
        ntp_scanner.c           \
572
589
        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
573
590
        echo " rm -f" $$list; \
574
591
        rm -f $$list
 
592
install-sbinPROGRAMS: $(sbin_PROGRAMS)
 
593
        @$(NORMAL_INSTALL)
 
594
        test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
 
595
        @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
 
596
        for p in $$list; do echo "$$p $$p"; done | \
 
597
        sed 's/$(EXEEXT)$$//' | \
 
598
        while read p p1; do if test -f $$p || test -f $$p1; \
 
599
          then echo "$$p"; echo "$$p"; else :; fi; \
 
600
        done | \
 
601
        sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
 
602
            -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
 
603
        sed 'N;N;N;s,\n, ,g' | \
 
604
        $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
 
605
          { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
 
606
            if ($$2 == $$4) files[d] = files[d] " " $$1; \
 
607
            else { print "f", $$3 "/" $$4, $$1; } } \
 
608
          END { for (d in files) print "f", d, files[d] }' | \
 
609
        while read type dir files; do \
 
610
            if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
 
611
            test -z "$$files" || { \
 
612
            echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
 
613
            $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
 
614
            } \
 
615
        ; done
 
616
 
 
617
uninstall-sbinPROGRAMS:
 
618
        @$(NORMAL_UNINSTALL)
 
619
        @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
 
620
        files=`for p in $$list; do echo "$$p"; done | \
 
621
          sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
 
622
              -e 's/$$/$(EXEEXT)/' `; \
 
623
        test -n "$$list" || exit 0; \
 
624
        echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
 
625
        cd "$(DESTDIR)$(sbindir)" && rm -f $$files
 
626
 
 
627
clean-sbinPROGRAMS:
 
628
        @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \
 
629
        echo " rm -f" $$list; \
 
630
        rm -f $$list || exit $$?; \
 
631
        test -n "$(EXEEXT)" || exit 0; \
 
632
        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
 
633
        echo " rm -f" $$list; \
 
634
        rm -f $$list
575
635
check_y2k$(EXEEXT): $(check_y2k_OBJECTS) $(check_y2k_DEPENDENCIES) 
576
636
        @rm -f check_y2k$(EXEEXT)
577
637
        $(LINK) $(check_y2k_OBJECTS) $(check_y2k_LDADD) $(LIBS)
962
1022
        $(MAKE) $(AM_MAKEFLAGS) check-local
963
1023
check: $(BUILT_SOURCES)
964
1024
        $(MAKE) $(AM_MAKEFLAGS) check-am
965
 
all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(MANS)
 
1025
all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(MANS) $(DATA)
966
1026
installdirs:
967
 
        for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
 
1027
        for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)"; do \
968
1028
          test -z "$$dir" || $(MKDIR_P) "$$dir"; \
969
1029
        done
970
1030
install: $(BUILT_SOURCES)
1001
1061
clean: clean-am
1002
1062
 
1003
1063
clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
1004
 
        clean-libtool clean-noinstLIBRARIES mostlyclean-am
 
1064
        clean-libtool clean-noinstLIBRARIES clean-sbinPROGRAMS \
 
1065
        mostlyclean-am
1005
1066
 
1006
1067
distclean: distclean-am
1007
1068
        -rm -rf ./$(DEPDIR)
1027
1088
 
1028
1089
install-dvi-am:
1029
1090
 
1030
 
install-exec-am: install-binPROGRAMS
 
1091
install-exec-am: install-binPROGRAMS install-sbinPROGRAMS
1031
1092
        @$(NORMAL_INSTALL)
1032
1093
        $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
1033
1094
install-html: install-html-am
1068
1129
 
1069
1130
ps-am:
1070
1131
 
1071
 
uninstall-am: uninstall-binPROGRAMS uninstall-man
 
1132
uninstall-am: uninstall-binPROGRAMS uninstall-man \
 
1133
        uninstall-sbinPROGRAMS
1072
1134
 
1073
1135
uninstall-man: uninstall-man1
1074
1136
 
1077
1139
 
1078
1140
.PHONY: CTAGS GTAGS all all-am check check-am check-local clean \
1079
1141
        clean-binPROGRAMS clean-checkPROGRAMS clean-generic \
1080
 
        clean-libtool clean-noinstLIBRARIES ctags distclean \
1081
 
        distclean-compile distclean-generic distclean-libtool \
1082
 
        distclean-tags distdir dvi dvi-am html html-am info info-am \
1083
 
        install install-am install-binPROGRAMS install-data \
1084
 
        install-data-am install-dvi install-dvi-am install-exec \
1085
 
        install-exec-am install-exec-hook install-html install-html-am \
1086
 
        install-info install-info-am install-man install-man1 \
1087
 
        install-pdf install-pdf-am install-ps install-ps-am \
1088
 
        install-strip installcheck installcheck-am installdirs \
1089
 
        maintainer-clean maintainer-clean-generic mostlyclean \
1090
 
        mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
1091
 
        pdf pdf-am ps ps-am tags uninstall uninstall-am \
1092
 
        uninstall-binPROGRAMS uninstall-man uninstall-man1
 
1142
        clean-libtool clean-noinstLIBRARIES clean-sbinPROGRAMS ctags \
 
1143
        distclean distclean-compile distclean-generic \
 
1144
        distclean-libtool distclean-tags distdir dvi dvi-am html \
 
1145
        html-am info info-am install install-am install-binPROGRAMS \
 
1146
        install-data install-data-am install-dvi install-dvi-am \
 
1147
        install-exec install-exec-am install-exec-hook install-html \
 
1148
        install-html-am install-info install-info-am install-man \
 
1149
        install-man1 install-pdf install-pdf-am install-ps \
 
1150
        install-ps-am install-sbinPROGRAMS install-strip installcheck \
 
1151
        installcheck-am installdirs maintainer-clean \
 
1152
        maintainer-clean-generic mostlyclean mostlyclean-compile \
 
1153
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
 
1154
        tags uninstall uninstall-am uninstall-binPROGRAMS \
 
1155
        uninstall-man uninstall-man1 uninstall-sbinPROGRAMS
1093
1156
 
1094
1157
 
1095
1158
vphack:
1112
1175
check-local: @MAKE_CHECK_Y2K@ $(CHECK_SAVECONFIG)
1113
1176
        test -z "@MAKE_CHECK_Y2K@" || ./@MAKE_CHECK_Y2K@
1114
1177
 
1115
 
ntp_keyword.out: keyword-gen
1116
 
        ./keyword-gen $(srcdir)/ntp_parser.h > $@
1117
 
        grep -v diff_ignore_line < $(srcdir)/ntp_keyword.h > cmp1
1118
 
        grep -v diff_ignore_line < $@ > cmp2
1119
 
        cmp cmp1 cmp2 > /dev/null || cp $@ $(srcdir)/ntp_keyword.h
1120
 
        rm cmp1 cmp2
1121
 
 
1122
 
ntp_keyword.dummy:
1123
 
        echo stamp > $@
1124
 
 
1125
 
$(srcdir)/ntp_keyword.h: $(NTP_KEYWORD_OUT)
 
1178
k-g-u-submake: keyword-gen
 
1179
        ./keyword-gen $(srcdir)/ntp_parser.h > k-g.out
 
1180
        @grep -v diff_ignore_line < k-g.out > cmp1
 
1181
        @grep -v diff_ignore_line < $(srcdir)/ntp_keyword.h > cmp2
 
1182
        @cmp cmp1 cmp2 > /dev/null || \
 
1183
                { mv -f k-g.out $(srcdir)/ntp_keyword.h && \
 
1184
                  echo 'Generated changed ntp_keyword.h.' ;}
 
1185
        @[ ! -f k-g.out ] || \
 
1186
                { rm k-g.out && echo 'ntp_keyword.h is up to date.' ;}
 
1187
        @rm cmp1 cmp2
 
1188
        @echo 'keyword-gen and ntp_keyword.h are up to date.' > $@
 
1189
 
 
1190
$(srcdir)/keyword-gen-utd: $(srcdir)/keyword-gen.c $(srcdir)/ntp_parser.h
 
1191
        $(MAKE) k-g-u-submake   # avoid explicit dependency
 
1192
        grep diff_ignore_line $(srcdir)/ntp_keyword.h > k-g-u
 
1193
        mv -f k-g-u $@
 
1194
 
 
1195
$(srcdir)/ntp_keyword.h: $(srcdir)/keyword-gen-utd
1126
1196
        @: do-nothing action to avoid default SCCS get
1127
 
        @: .h updated if needed by ntp_keyword.out rule
 
1197
        @: .h updated if needed by k-g-u-submake rule
1128
1198
 
1129
1199
$(srcdir)/ntpd-opts.h: $(srcdir)/ntpd-opts.c
1130
1200
        @: do-nothing action to avoid default SCCS get, .h built with .c
1135
1205
$(srcdir)/ntpd.1: $(srcdir)/ntpd-opts.def $(srcdir)/ntpdbase-opts.def $(std_def_list)
1136
1206
        $(run_ag) -Tagman1.tpl -bntpd ntpd-opts.def
1137
1207
 
1138
 
$(srcdir)/ntpd-opts.texi $(srcdir)/ntpd-opts.menu: $(srcdir)/ntpd-opts.def $(srcdir)/ntpdbase-opts.def $(std_def_list)
1139
 
        $(MAKE) ntpd    # aginfo.tpl runs the binary to extract --help usage text
 
1208
$(srcdir)/ntpd-opts.menu: $(srcdir)/ntpd-opts.texi
 
1209
        @: do-nothing action to avoid default SCCS get, .menu built with .texi
 
1210
 
 
1211
$(srcdir)/ntpd-opts.texi: $(srcdir)/ntpd-opts.def $(srcdir)/ntpdbase-opts.def $(std_def_list)
1140
1212
        $(run_ag) -Taginfo.tpl -DLEVEL=section ntpd-opts.def
1141
1213
 
1142
1214
$(PROGRAMS): $(LDADD)
1147
1219
check-saveconfig: $(srcdir)/complete.conf compsave.conf
1148
1220
        cmp $(srcdir)/complete.conf compsave.conf && echo stamp > $@
1149
1221
 
 
1222
../libopts/libopts.la:
 
1223
        cd ../libopts && $(MAKE) libopts.la
 
1224
 
1150
1225
../libntp/libntp.a:
1151
1226
        cd ../libntp && $(MAKE) libntp.a
1152
1227
 
1153
1228
../libparse/libparse.a:
1154
 
        cd ../libparse && $(MAKE)
 
1229
        cd ../libparse && $(MAKE) libparse.a
1155
1230
 
1156
 
$(top_srcdir)/version :
 
1231
$(top_srcdir)/version:
1157
1232
        cd $(top_srcdir) && $(MAKE) version
1158
1233
 
1159
1234
version.o: $(ntpd_OBJECTS) ../libntp/libntp.a @LIBPARSE@ Makefile $(top_srcdir)/version
1161
1236
        $(COMPILE) -c version.c
1162
1237
 
1163
1238
install-exec-hook:
1164
 
        @case ${BINSUBDIR} in                                   \
1165
 
         bin) ODIR=${exec_prefix}/sbin ;;                       \
1166
 
         sbin) ODIR=${exec_prefix}/bin ;;                       \
1167
 
        esac;                                                   \
1168
 
        test -z "${bin_PROGRAMS}${bin_SCRIPTS}"                 \
 
1239
        @case ${BINSUBDIR} in                                           \
 
1240
         bin) ODIR=${sbindir} ;;                                        \
 
1241
         sbin) ODIR=${bindir} ;;                                        \
 
1242
        esac;                                                           \
 
1243
        test -z "${bin_PROGRAMS}${bin_SCRIPTS}"                         \
1169
1244
        || for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do              \
1170
1245
           test ! -f $$ODIR/$$i || echo "*** $$i is also in $$ODIR!";   \
1171
1246
        done