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
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License, Version 1.0 only
6 6 # (the "License"). You may not use this file except in compliance
7 7 # with the License.
8 8 #
9 9 # You can obtain a copy of the license at COPYING
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at COPYING.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
↓ 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