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

« back to all changes in this revision

Viewing changes to ntpdc/Makefile.am

  • 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
1
NULL=
2
2
AUTOMAKE_OPTIONS=       
3
3
 
4
 
bindir=         ${exec_prefix}/${BINSUBDIR}
 
4
if NTP_BINSUBDIR_IS_BIN
5
5
bin_PROGRAMS=   ntpdc
 
6
else
 
7
sbin_PROGRAMS=  ntpdc
 
8
endif
 
9
 
6
10
EXTRA_PROGRAMS= ntpdc-layout
7
11
EXTRA_DATA=     check-layout
8
 
BUILT_SOURCES=  @MAKE_CHECK_LAYOUT@
 
12
BUILT_SOURCES=  @MAKE_CHECK_LAYOUT@ ntpdc-opts.c ntpdc-opts.h
9
13
AM_CPPFLAGS= -I$(top_srcdir)/include -I$(top_srcdir)/lib/isc/include \
10
14
        -I$(top_srcdir)/lib/isc/nothreads/include \
11
15
        -I$(top_srcdir)/lib/isc/unix/include $(LIBOPTS_CFLAGS)
12
16
# LDADD might need RESLIB and ADJLIB
13
 
ntpdc_LDADD=    version.o @LCRYPTO@ @EDITLINE_LIBS@ $(LIBOPTS_LDADD) \
14
 
                ../libntp/libntp.a
 
17
ntpdc_LDADD=    version.o @EDITLINE_LIBS@ $(LIBOPTS_LDADD) \
 
18
                ../libntp/libntp.a @LCRYPTO@
15
19
# ntpdc-layout doesn't need any additional libraries at all
16
20
ntpdc_layout_LDADD=
17
21
DISTCLEANFILES= .version version.c
20
24
ETAGS_ARGS=     Makefile.am
21
25
EXTRA_DIST=     nl_in.c nl.pl layout.std        \
22
26
                ntpdc-opts.def ntpdc.1 ntpdc-opts.texi ntpdc-opts.menu
23
 
BUILT_SOURCES+= ntpdc-opts.c ntpdc-opts.h ntpdc.1 ntpdc-opts.texi       \
24
 
                ntpdc-opts.menu
25
 
man_MANS=       ntpdc.1
26
 
run_ag=         cd $(srcdir) &&                                 \
27
 
                env PATH="$(abs_builddir):$(PATH)"              \
 
27
man_MANS=       $(srcdir)/ntpdc.1
 
28
noinst_DATA=    $(srcdir)/ntpdc-opts.texi $(srcdir)/ntpdc-opts.menu
 
29
run_ag=         cd $(srcdir) && env PATH="$(abs_builddir):$(PATH)"      \
28
30
                autogen -L ../include --writable
29
31
std_def_list=   $(top_srcdir)/include/debug-opt.def             \
30
32
                $(top_srcdir)/include/autogen-version.def       \
41
43
$(srcdir)/ntpdc.1: $(srcdir)/ntpdc-opts.def $(std_def_list)
42
44
        $(run_ag) -Tagman1.tpl -bntpdc ntpdc-opts.def
43
45
 
44
 
$(srcdir)/ntpdc-opts.texi $(srcdir)/ntpdc-opts.menu: $(srcdir)/ntpdc-opts.def $(std_def_list)
45
 
        $(MAKE) ntpdc   # aginfo.tpl runs the binary to extract --help usage text
 
46
$(srcdir)/ntpdc-opts.menu: $(srcdir)/ntpdc-opts.texi
 
47
        @: do-nothing action to avoid default SCCS get, .menu built with .texi
 
48
        
 
49
$(srcdir)/ntpdc-opts.texi: $(srcdir)/ntpdc-opts.def $(std_def_list)
46
50
        $(run_ag) -Taginfo.tpl -DLEVEL=section ntpdc-opts.def
47
51
 
48
52
ntpdc_SOURCES = ntpdc.c ntpdc_ops.c ntpdc-opts.c ntpdc-opts.h