5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25 # ident "%Z%%M% %I% %E% SMI"
26 #
27
28 %: ../common/%.ksh
29 $(RM) $@
30 cat $< > $@
31 chmod +x $@
32
33 $(PICDIR)/%.o: %.c
34 $(COMPILE.c) $< -o $@
35 $(POST_PROCESS_O)
36
37 $(PICDIR)/%.o: ../common/%.c
38 $(COMPILE.c) $< -o $@
39 $(POST_PROCESS_O)
40
41 $(OBJDIR)/%.o: %.c
42 $(COMPILE.c) $< -o $@
43 $(POST_PROCESS_O)
44
45 $(OBJDIR)/%.o: ../common/%.c
50 $(BUILD.SO)
51 $(POST_PROCESS_SO)
52
53 $(BINDLIB): $(BINDPICS)
54 $(BUILD.SO)
55 $(POST_PROCESS_SO)
56
57 $(SYMBINDREP): $(SYMBINDREPPICS)
58 $(BUILD.SO)
59 $(POST_PROCESS_SO)
60
61 $(PERFLIB): $(PERFPICS)
62 $(BUILD.SO)
63 $(POST_PROCESS_SO)
64
65 $(WHOLIB): $(WHOPICS)
66 $(BUILD.SO)
67 $(POST_PROCESS_SO)
68
69 dumpbind: $(OBJDIR)/dumpbind.o
70 $(LINK.c) -o $@ $(OBJDIR)/dumpbind.o
71 $(POST_PROCESS)
72
73 $(ROOTUSRBIN)/%: %
74 $(INS.file)
75
76 $(ROOTCCSLIB)/%: %
77 $(INS.file)
78
79 $(ROOTCCSLIB64)/%: %
80 $(INS.file)
81
82 $(ROOTONLDBIN)/%: %
83 $(INS.file)
84
85 $(ROOTONLDLIB)/%: %
86 $(INS.file)
87
88 $(ROOTONLDLIB64)/%: %
89 $(INS.file)
90
|
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
7 #
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
12 #
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 #
19 # CDDL HEADER END
20 #
21 #
22 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
24 #
25 # Copyright 2015 RackTop Systems.
26 #
27
28 %: ../common/%.ksh
29 $(RM) $@
30 cat $< > $@
31 chmod +x $@
32
33 $(PICDIR)/%.o: %.c
34 $(COMPILE.c) $< -o $@
35 $(POST_PROCESS_O)
36
37 $(PICDIR)/%.o: ../common/%.c
38 $(COMPILE.c) $< -o $@
39 $(POST_PROCESS_O)
40
41 $(OBJDIR)/%.o: %.c
42 $(COMPILE.c) $< -o $@
43 $(POST_PROCESS_O)
44
45 $(OBJDIR)/%.o: ../common/%.c
50 $(BUILD.SO)
51 $(POST_PROCESS_SO)
52
53 $(BINDLIB): $(BINDPICS)
54 $(BUILD.SO)
55 $(POST_PROCESS_SO)
56
57 $(SYMBINDREP): $(SYMBINDREPPICS)
58 $(BUILD.SO)
59 $(POST_PROCESS_SO)
60
61 $(PERFLIB): $(PERFPICS)
62 $(BUILD.SO)
63 $(POST_PROCESS_SO)
64
65 $(WHOLIB): $(WHOPICS)
66 $(BUILD.SO)
67 $(POST_PROCESS_SO)
68
69 dumpbind: $(OBJDIR)/dumpbind.o
70 $(LINK.c) -o $@ $(OBJDIR)/dumpbind.o $(LDLIBS)
71 $(POST_PROCESS)
72
73 $(ROOTUSRBIN)/%: %
74 $(INS.file)
75
76 $(ROOTCCSLIB)/%: %
77 $(INS.file)
78
79 $(ROOTCCSLIB64)/%: %
80 $(INS.file)
81
82 $(ROOTONLDBIN)/%: %
83 $(INS.file)
84
85 $(ROOTONLDLIB)/%: %
86 $(INS.file)
87
88 $(ROOTONLDLIB64)/%: %
89 $(INS.file)
90
|