Print this page
OS-3330 NTP should ship with CTF data
OS-3331 OpenLLDP should ship with CTF data

@@ -44,21 +44,39 @@
         --without-ntpsnmpd \
         --without-lineeditlibs \
         --with-crypto=sunw \
         --disable-getifaddrs
 
-CFLAGS +=       -O2
+CFLAGS += \
+        -O2 -gdwarf-2 \
+        -fno-inline-functions \
+        -fno-inline-functions-called-once \
+        -fno-inline-small-functions
 
 AUTOCONF_ENV += \
         LD_OPTIONS="$(LDFLAGS)" \
-        DESTDIR="$(DESTDIR)"
+        DESTDIR="$(DESTDIR)" \
+        CTFMERGE="$(CTFMERGE)" \
+        CTFCONVERT="$(CTFCONVERT)"
 
 PATCHSTRIP =    0
 PATCHES =       Patches/*
 
+CTF_PROGRAMS_USR_SBIN = \
+        ntp-keygen \
+        ntpd \
+        ntpdate \
+        ntpdc \
+        ntpq \
+        ntptime \
+        tickadj
+
+CTF_PROGRAMS = $(CTF_PROGRAMS_USR_SBIN:%=/usr/sbin/%)
+
 include ../Makefile.targ
 
 all: all_autoconf
 
 install: all
         (cd $(VER.32); env - $(AUTOCONF_ENV) PATH=$(PATH) gmake $(install_PARALLEL) install)
+        (env - $(AUTOCONF_ENV) $(MAKE_CTF.32) $(CTF_PROGRAMS))
         (env - $(AUTOCONF_ENV) ./install-ntp)