29 AUTOCONF_OPTS += \
30 --prefix=/usr \
31 --mandir=/usr/man \
32 --bindir=/usr/sbin \
33 --with-binsubdir=sbin \
34 --libexecdir=/usr/sbin \
35 --sysconfdir=/etc/inet \
36 --with-perl=$(PATH_PERL) \
37 --with-perllibdir=$(PERLLIBDIR) \
38 --enable-all-clocks \
39 --enable-debugging \
40 --enable-debug-timing \
41 --disable-optional-args \
42 --enable-parse-clocks \
43 --enable-ignore-dns-errors \
44 --without-ntpsnmpd \
45 --without-lineeditlibs \
46 --with-crypto=sunw \
47 --disable-getifaddrs
48
49 CFLAGS += -O2
50
51 AUTOCONF_ENV += \
52 LD_OPTIONS="$(LDFLAGS)" \
53 DESTDIR="$(DESTDIR)"
54
55 PATCHSTRIP = 0
56 PATCHES = Patches/*
57
58 include ../Makefile.targ
59
60 all: all_autoconf
61
62 install: all
63 (cd $(VER.32); env - $(AUTOCONF_ENV) PATH=$(PATH) gmake $(install_PARALLEL) install)
64 (env - $(AUTOCONF_ENV) ./install-ntp)
|
29 AUTOCONF_OPTS += \
30 --prefix=/usr \
31 --mandir=/usr/man \
32 --bindir=/usr/sbin \
33 --with-binsubdir=sbin \
34 --libexecdir=/usr/sbin \
35 --sysconfdir=/etc/inet \
36 --with-perl=$(PATH_PERL) \
37 --with-perllibdir=$(PERLLIBDIR) \
38 --enable-all-clocks \
39 --enable-debugging \
40 --enable-debug-timing \
41 --disable-optional-args \
42 --enable-parse-clocks \
43 --enable-ignore-dns-errors \
44 --without-ntpsnmpd \
45 --without-lineeditlibs \
46 --with-crypto=sunw \
47 --disable-getifaddrs
48
49 CFLAGS += \
50 -O2 -gdwarf-2 \
51 -fno-inline-functions \
52 -fno-inline-functions-called-once \
53 -fno-inline-small-functions
54
55 AUTOCONF_ENV += \
56 LD_OPTIONS="$(LDFLAGS)" \
57 DESTDIR="$(DESTDIR)" \
58 CTFMERGE="$(CTFMERGE)" \
59 CTFCONVERT="$(CTFCONVERT)"
60
61 PATCHSTRIP = 0
62 PATCHES = Patches/*
63
64 CTF_PROGRAMS_USR_SBIN = \
65 ntp-keygen \
66 ntpd \
67 ntpdate \
68 ntpdc \
69 ntpq \
70 ntptime \
71 tickadj
72
73 CTF_PROGRAMS = $(CTF_PROGRAMS_USR_SBIN:%=/usr/sbin/%)
74
75 include ../Makefile.targ
76
77 all: all_autoconf
78
79 install: all
80 (cd $(VER.32); env - $(AUTOCONF_ENV) PATH=$(PATH) gmake $(install_PARALLEL) install)
81 (env - $(AUTOCONF_ENV) $(MAKE_CTF.32) $(CTF_PROGRAMS))
82 (env - $(AUTOCONF_ENV) ./install-ntp)
|