Print this page
8411 Build should warn when linking against libraries outside proto area
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/lp/filter/postscript/font/Makefile
+++ new/usr/src/cmd/lp/filter/postscript/font/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 usr/src/OPENSOLARIS.LICENSE
10 10 # or http://www.opensolaris.org/os/licensing.
11 11 # See the License for the specific language governing permissions
12 12 # and limitations under the License.
↓ open down ↓ |
12 lines elided |
↑ open up ↑ |
13 13 #
14 14 # When distributing Covered Code, include this CDDL HEADER in each
15 15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 16 # If applicable, add the following below this CDDL HEADER, with the
17 17 # fields enclosed by brackets "[]" replaced with your own identifying
18 18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 19 #
20 20 # CDDL HEADER END
21 21 #
22 22 #
23 -# ident "%Z%%M% %I% %E% SMI"
24 -#
25 23 # Copyright 1989-2002 Sun Microsystems, Inc. All rights reserved.
26 24 # Use is subject to license terms.
27 25 #
26 +# Copyright 2017 RackTop Systems.
27 +#
28 28 # cmd/lp/filter/postscript/font/Makefile
29 29 #
30 30
31 31 include ../../../Makefile.lp
32 32
33 33 PROG = makedev
34 34
35 35 SRCS = makedev.c
36 36
37 37 OBJS = $(SRCS:%.c=%.o)
38 38
39 39 SUBDIRS = devpost
40 40
41 41 COMMONDIR = ../common
42 42 ROOTLIBFONT = $(ROOTLIB)/font
43 43 ROOTLIBFONTPROG = $(PROG:%=$(ROOTLIBFONT)/%)
↓ open down ↓ |
6 lines elided |
↑ open up ↑ |
44 44
45 45 CPPFLAGS = -I$(COMMONDIR) $(CPPFLAGS.master)
46 46
47 47 POFILE = lp_filter_postscript_font.po
48 48
49 49 NATIVEDIR = native
50 50 NATIVEPROG = $(NATIVEDIR)/$(PROG)
51 51 $(NATIVEPROG) := CC=$(NATIVECC)
52 52 $(NATIVEPROG) := LDLIBS=
53 53 $(NATIVEPROG) := CPPFLAGS.master=
54 +$(NATIVEPROG) := ZASSERTDEFLIB=
54 55
55 56 .KEEP_STATE:
56 57
57 58 all : $(PROG) $(NATIVEPROG) $(SUBDIRS)
58 59
59 60 install : $(PROG) $(ROOTLIBFONTPROG) $(SUBDIRS)
60 61
61 62 clean : $(SUBDIRS)
62 63 $(RM) $(OBJS)
63 64
64 65 clobber : $(SUBDIRS) clean
65 66 $(RM) $(PROG) $(NATIVEPROG) $(CLOBBERFILES)
66 67
67 68 strip:
68 69 $(STRIP) $(PROG)
69 70
70 71 lint:
71 72 $(LINT.c) $(SRCS)
72 73
73 74 include ../Makefile.msg
74 75
75 76 $(NATIVEPROG) : $(NATIVEDIR) $(SRCS)
76 77 $(LINK.c) -o $@ $(SRCS) $(LDLIBS)
77 78
78 79 $(NATIVEDIR) :
79 80 -@mkdir -p $@
80 81
81 82 $(ROOTLIBFONT)/%: %
82 83 $(INS.file)
83 84
84 85 $(PROG) : $(SRCS)
85 86 $(LINK.c) -o $@ $(SRCS) $(LDLIBS)
86 87 $(POST_PROCESS)
87 88
88 89 $(SUBDIRS): FRC
89 90 @cd $@; pwd; $(MAKE) $(TARGET)
90 91
91 92 FRC:
↓ open down ↓ |
28 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX