Print this page
8207 localedef links against libraries outside of proto area
Reviewed by: Yuri Pankov <yuri.pankov@gmail.com>
Reviewed by: Alexander Pyhalov <alp@rsu.ru>
Reviewed by: Rich Lowe <richlowe@richlowe.net>
Reviewed by: Garrett D'Amore <garrett@illumos.org>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/localedef/Makefile
+++ new/usr/src/cmd/localedef/Makefile
1 1 #
2 2 # This file and its contents are supplied under the terms of the
3 3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 4 # You may only use this file in accordance with the terms of version
5 5 # 1.0 of the CDDL.
6 6 #
↓ open down ↓ |
6 lines elided |
↑ open up ↑ |
7 7 # A full copy of the text of the CDDL should have accompanied this
8 8 # source. A copy of the CDDL is also available via the Internet at
9 9 # http://www.illumos.org/license/CDDL.
10 10 #
11 11
12 12 #
13 13 # Copyright 2017 Nexenta Systems, Inc.
14 14 # Copyright 2011 EveryCity Ltd. All rights reserved.
15 15 # Copyright 2013 DEY Storage Systems, Inc.
16 16 # Copyright 2016 Joyent, Inc.
17 +# Copyright 2017 RackTop Systems.
17 18 #
18 19
19 20 include $(SRC)/cmd/Makefile.cmd
20 21 include $(SRC)/cmd/Makefile.ctf
21 22 include $(SRC)/cmd/localedef/Makefile.common
22 23
23 -LDLIBS= -lavl -lgen
24 +LDLIBS += -lavl -lgen
24 25
25 26 .KEEP_STATE:
26 27
27 28 all: $(PROG)
28 29
29 30 parser.tab.c parser.tab.h: parser.y localedef.h
30 31 $(YACC) $(YFLAGS) parser.y
31 32
32 33 $(OBJS): parser.tab.h
33 34
34 35 $(PROG): $(OBJS)
35 36 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
36 37 $(POST_PROCESS)
37 38
38 39 $(POFILE): $(PIFILES)
39 40 $(RM) $@
40 41 $(RM) messages.po
41 42 $(XGETTEXT) -s $(PIFILES)
42 43 $(SED) -e '/domain/d' messages.po > $@
43 44 $(RM) $(PIFILES) messages.po
44 45
45 46 install: all $(ROOTPROG)
46 47
47 48 lint: lint_SRCS
48 49
49 50 clean:
50 51 $(RM) $(CLEANFILES)
51 52
52 53 include $(SRC)/cmd/Makefile.targ
↓ open down ↓ |
19 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX