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
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 (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
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 usr/src/OPENSOLARIS.LICENSE.
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 #
19 19 # CDDL HEADER END
20 20 #
21 21 # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
22 22 # Copyright (c) 2014, Joyent, Inc.
23 23 #
24 24
25 25 VER = ntp-dev-4.2.7p446
26 26
27 27 include ../Makefile.defs
28 28
29 29 AUTOCONF_OPTS += \
30 30 --prefix=/usr \
31 31 --mandir=/usr/man \
32 32 --bindir=/usr/sbin \
33 33 --with-binsubdir=sbin \
34 34 --libexecdir=/usr/sbin \
35 35 --sysconfdir=/etc/inet \
36 36 --with-perl=$(PATH_PERL) \
37 37 --with-perllibdir=$(PERLLIBDIR) \
38 38 --enable-all-clocks \
↓ 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