Print this page
1681 support for BUILD64=# no longer works
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/sgs/link_audit/Makefile
+++ new/usr/src/cmd/sgs/link_audit/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 #
↓ open down ↓ |
12 lines elided |
↑ open up ↑ |
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 2009 Sun Microsystems, Inc. All rights reserved.
22 22 # Use is subject to license terms.
23 +# Copyright 2014 Andrew Stormont.
23 24 #
24 25
25 26 include ../../../Makefile.master
26 27
27 28 ROOTDEMODIRBASE= $(ROOT)/usr/demo/link_audit
28 29
29 30 DEMOFILES= \
30 31 00README \
31 32 Makefile \
32 33 man/perfcnt.man \
33 34 man/symbindrep.man \
34 35 man/dumpbind.man \
35 36 src/bindings.c \
36 37 src/bindings.h \
37 38 src/dumpbind.c \
38 39 src/env.c \
39 40 src/env.h \
40 41 src/hash.c \
41 42 src/hash.h \
42 43 src/sotruss.ksh \
43 44 src/mach.h \
44 45 src/perfcnt.c \
45 46 src/perfcnt.ksh \
46 47 src/symbindrep.c \
47 48 src/symbindrep.ksh \
48 49 src/truss.c \
49 50 src/who.c \
50 51 src/who.h \
51 52 src/whocalls.ksh
52 53
53 54 ROOTDEMODIRS= $(ROOTDEMODIRBASE) .WAIT \
↓ open down ↓ |
21 lines elided |
↑ open up ↑ |
54 55 $(ROOTDEMODIRBASE)/man \
55 56 $(ROOTDEMODIRBASE)/src
56 57
57 58 ROOTDEMOFILES= $(DEMOFILES:%=$(ROOTDEMODIRBASE)/%)
58 59
59 60 $(ROOTDEMODIRS) := DIRMODE = 755
60 61
61 62
62 63
63 64 SUBDIRS= $(MACH)
65 +$(BUILD64)SUBDIRS += $(MACH64)
64 66
65 67 all:= TARGET= all
66 68 install:= TARGET= install
67 69 package:= TARGET= package
68 70 clean:= TARGET= clean
69 71 clobber:= TARGET= clobber
70 72 lint:= TARGET= lint
71 73
72 74 .PARALLEL: $(ROOTDEMOFILES)
73 75
74 76 .KEEP_STATE:
75 77
76 78 all clean clobber lint : \
77 79 $(SUBDIRS)
78 80
79 81 package install : \
80 82 $(ROOTDEMODIRS) .WAIT $(SUBDIRS) $(ROOTDEMOFILES)
81 83
82 84 $(SUBDIRS): FRC
83 85 @cd $@; pwd; $(MAKE) $(TARGET)
84 - @if [ -d $(MACH64) ]; then \
85 - cd $(MACH64); pwd; $(MAKE) $(TARGET); \
86 - else /bin/true; fi
87 86
88 87 $(ROOTDEMODIRS):
89 88 $(INS.dir)
90 89
91 90 $(ROOTDEMODIRBASE)/man/%: man/%
92 91 $(INS.file)
93 92
94 93 $(ROOTDEMODIRBASE)/src/%: common/%
95 94 $(INS.file)
96 95
97 96 $(ROOTDEMODIRBASE)/%: common/%
98 97 $(INS.file)
99 98
100 99 $(ROOTDEMODIRBASE)/%: common/%.demo
101 100 $(INS.rename)
102 101
103 102 FRC:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX