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

« back to all changes in this revision

Viewing changes to ntpq/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Kurt Roeckx
  • Date: 2009-01-05 21:10:03 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090105211003-mh6zc3um4k1uhsj7
Tags: 1:4.2.4p4+dfsg-8
It did not properly check the return value of EVP_VerifyFinal
which results in an malformed DSA signature being treated as
a good signature rather than as an error.  (CVE-2009-0021)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
2
 
AUTOMAKE_OPTIONS = ../util/ansi2knr
3
 
bin_PROGRAMS = ntpq
4
 
INCLUDES = -I$(top_srcdir)/include
 
1
AUTOMAKE_OPTIONS=       ../util/ansi2knr
 
2
 
 
3
bin_PROGRAMS=   ntpq
 
4
AM_CPPFLAGS=    -I$(top_srcdir)/include $(LIBOPTS_CFLAGS)
 
5
 
5
6
# LDADD might need RESLIB and ADJLIB
6
 
ntpq_LDADD = version.o ../libntp/libntp.a @READLINE_LIBS@
7
 
DISTCLEANFILES = .version version.c
8
 
noinst_HEADERS = ntpq.h
9
 
#EXTRA_DIST = ntpq.mak
10
 
ETAGS_ARGS = Makefile.am
11
 
 
12
 
ntpq_SOURCES = ntpq.c ntpq_ops.c
 
7
ntpq_LDADD=     version.o @READLINE_LIBS@ $(LIBOPTS_LDADD) ../libntp/libntp.a
 
8
DISTCLEANFILES= .version version.c
 
9
noinst_HEADERS= ntpq.h
 
10
ETAGS_ARGS=     Makefile.am
 
11
EXTRA_DIST=     ntpq-opts.def ntpq.1 ntpq-opts.texi ntpq-opts.menu
 
12
BUILT_SOURCES=  ntpq-opts.c ntpq-opts.h ntpq.1 ntpq-opts.texi ntpq-opts.menu
 
13
man_MANS=       ntpq.1
 
14
run_ag=         cd $(srcdir) && autogen -L ../include
 
15
std_def_list=   $(top_srcdir)/include/debug-opt.def             \
 
16
                $(top_srcdir)/include/autogen-version.def       \
 
17
                $(top_srcdir)/include/copyright.def             \
 
18
                $(top_srcdir)/include/homerc.def                \
 
19
                $(top_srcdir)/include/version.def
 
20
ntpq_SOURCES=   ntpq.c ntpq-subs.c ntpq-opts.c ntpq-opts.h
 
21
 
 
22
$(srcdir)/ntpq-opts.h: $(srcdir)/ntpq-opts.c
 
23
$(srcdir)/ntpq-opts.c: $(srcdir)/ntpq-opts.def $(std_def_list)
 
24
        $(run_ag) ntpq-opts.def
 
25
 
 
26
$(srcdir)/ntpq.1: $(srcdir)/ntpq-opts.def $(std_def_list)
 
27
        $(run_ag) -Tagman1.tpl -bntpq ntpq-opts.def
 
28
 
 
29
$(srcdir)/ntpq-opts.texi $(srcdir)/ntpq-opts.menu: $(srcdir)/ntpq-opts.def $(std_def_list)
 
30
        $(run_ag) -Taginfo.tpl -DLEVEL=section ntpq-opts.def
13
31
 
14
32
$(PROGRAMS): $(LDADD)
15
33
 
16
34
../libntp/libntp.a:
17
35
        cd ../libntp && $(MAKE)
18
36
 
 
37
$(top_srcdir)/version :
 
38
        cd $(top_srcdir) && $(MAKE) version
 
39
 
19
40
version.o: $(ntpq_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version
20
41
        env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpq
21
42
        $(COMPILE) -c version.c