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


   9 # You can obtain a copy of the license at COPYING
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at COPYING.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 # Copyright (c) 2013, Joyent, Inc.  All rights reserved.
  22 #
  23 
  24 VER =   openlldp-0.4alpha
  25 
  26 PATCHES =       Patches/*
  27 
  28 include ../Makefile.defs







  29 include ../Makefile.targ
  30 






  31 all: all_autoconf
  32 
  33 install: all
  34         mkdir -p $(DESTDIR)/usr/sbin
  35         rm -f $(DESTDIR)/usr/sbin/lldpd
  36         rm -f $(DESTDIR)/usr/sbin/lldpneighbors
  37         rm -f $(DESTDIR)/lib/svc/manifest/network/lldpd.xml
  38         install -s -m 555 -f $(DESTDIR)/usr/sbin $(VER.32)/src/lldpd
  39         install -s -m 555 -f $(DESTDIR)/usr/sbin $(VER.32)/src/lldpneighbors
  40         install -s -m 444 -f $(DESTDIR)/lib/svc/manifest/network lldpd.xml



   9 # You can obtain a copy of the license at COPYING
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at COPYING.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 # Copyright (c) 2013, Joyent, Inc.  All rights reserved.
  22 #
  23 
  24 VER =   openlldp-0.4alpha
  25 
  26 PATCHES =       Patches/*
  27 
  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 
  36 include ../Makefile.targ
  37 
  38 CTF_PROGRAMS_USR_SBIN = \
  39         lldpd \
  40         lldpneighbors
  41 
  42 CTF_PROGRAMS = $(CTF_PROGRAMS_USR_SBIN:%=/usr/sbin/%)
  43 
  44 all: all_autoconf
  45 
  46 install: all
  47         mkdir -p $(DESTDIR)/usr/sbin
  48         rm -f $(DESTDIR)/usr/sbin/lldpd
  49         rm -f $(DESTDIR)/usr/sbin/lldpneighbors
  50         rm -f $(DESTDIR)/lib/svc/manifest/network/lldpd.xml
  51         install -s -m 555 -f $(DESTDIR)/usr/sbin $(VER.32)/src/lldpd
  52         install -s -m 555 -f $(DESTDIR)/usr/sbin $(VER.32)/src/lldpneighbors
  53         install -s -m 444 -f $(DESTDIR)/lib/svc/manifest/network lldpd.xml
  54         $(MAKE_CTF.32) $(CTF_PROGRAMS)