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

Split Close
Expand all
Collapse all
          --- old/ntp/Makefile
          +++ new/ntp/Makefile
↓ open down ↓ 38 lines elided ↑ open up ↑
  39   39          --enable-debugging \
  40   40          --enable-debug-timing \
  41   41          --disable-optional-args \
  42   42          --enable-parse-clocks \
  43   43          --enable-ignore-dns-errors \
  44   44          --without-ntpsnmpd \
  45   45          --without-lineeditlibs \
  46   46          --with-crypto=sunw \
  47   47          --disable-getifaddrs
  48   48  
  49      -CFLAGS +=       -O2
       49 +CFLAGS += \
       50 +        -O2 -gdwarf-2 \
       51 +        -fno-inline-functions \
       52 +        -fno-inline-functions-called-once \
       53 +        -fno-inline-small-functions
  50   54  
  51   55  AUTOCONF_ENV += \
  52   56          LD_OPTIONS="$(LDFLAGS)" \
  53      -        DESTDIR="$(DESTDIR)"
       57 +        DESTDIR="$(DESTDIR)" \
       58 +        CTFMERGE="$(CTFMERGE)" \
       59 +        CTFCONVERT="$(CTFCONVERT)"
  54   60  
  55   61  PATCHSTRIP =    0
  56   62  PATCHES =       Patches/*
  57   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 +
  58   75  include ../Makefile.targ
  59   76  
  60   77  all: all_autoconf
  61   78  
  62   79  install: all
  63   80          (cd $(VER.32); env - $(AUTOCONF_ENV) PATH=$(PATH) gmake $(install_PARALLEL) install)
       81 +        (env - $(AUTOCONF_ENV) $(MAKE_CTF.32) $(CTF_PROGRAMS))
  64   82          (env - $(AUTOCONF_ENV) ./install-ntp)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX