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/openlldp/Makefile
          +++ new/openlldp/Makefile
↓ open down ↓ 18 lines elided ↑ open up ↑
  19   19  # CDDL HEADER END
  20   20  #
  21   21  # Copyright (c) 2013, Joyent, Inc.  All rights reserved.
  22   22  #
  23   23  
  24   24  VER =   openlldp-0.4alpha
  25   25  
  26   26  PATCHES =       Patches/*
  27   27  
  28   28  include ../Makefile.defs
       29 +
       30 +CFLAGS += \
       31 +        -gdwarf-2 \
       32 +        -fno-inline-functions \
       33 +        -fno-inline-functions-called-once \
       34 +        -fno-inline-small-functions
       35 +
  29   36  include ../Makefile.targ
  30   37  
       38 +CTF_PROGRAMS_USR_SBIN = \
       39 +        lldpd \
       40 +        lldpneighbors
       41 +
       42 +CTF_PROGRAMS = $(CTF_PROGRAMS_USR_SBIN:%=/usr/sbin/%)
       43 +
  31   44  all: all_autoconf
  32   45  
  33   46  install: all
  34   47          mkdir -p $(DESTDIR)/usr/sbin
  35   48          rm -f $(DESTDIR)/usr/sbin/lldpd
  36   49          rm -f $(DESTDIR)/usr/sbin/lldpneighbors
  37   50          rm -f $(DESTDIR)/lib/svc/manifest/network/lldpd.xml
  38   51          install -s -m 555 -f $(DESTDIR)/usr/sbin $(VER.32)/src/lldpd
  39   52          install -s -m 555 -f $(DESTDIR)/usr/sbin $(VER.32)/src/lldpneighbors
  40   53          install -s -m 444 -f $(DESTDIR)/lib/svc/manifest/network lldpd.xml
       54 +        $(MAKE_CTF.32) $(CTF_PROGRAMS)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX