xref: /illumos-gate/usr/src/cmd/sgs/link_audit/Makefile.targ (revision dcdeca0a948b9d3139743db085d193c9db8ff2a3)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
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# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
27#
28
29%:	../common/%.ksh
30	$(RM) $@
31	cat $< > $@
32	chmod +x $@
33
34$(PICDIR)/%.o:	%.c
35		$(COMPILE.c) $< -o $@
36		$(POST_PROCESS_O)
37
38$(PICDIR)/%.o:	../common/%.c
39		$(COMPILE.c) $< -o $@
40		$(POST_PROCESS_O)
41
42$(OBJDIR)/%.o:	%.c
43		$(COMPILE.c) $< -o $@
44		$(POST_PROCESS_O)
45
46$(OBJDIR)/%.o: ../common/%.c
47		$(COMPILE.c) $< -o $@
48		$(POST_PROCESS_O)
49
50$(TRUSSLIB): $(TRUSSPICS)
51		$(BUILD.SO)
52		$(POST_PROCESS_SO)
53
54$(BINDLIB): $(BINDPICS)
55		$(BUILD.SO)
56		$(POST_PROCESS_SO)
57
58$(SYMBINDREP): $(SYMBINDREPPICS)
59		$(BUILD.SO)
60		$(POST_PROCESS_SO)
61
62$(PERFLIB): $(PERFPICS)
63		$(BUILD.SO)
64		$(POST_PROCESS_SO)
65
66$(WHOLIB): $(WHOPICS)
67		$(BUILD.SO)
68		$(POST_PROCESS_SO)
69
70dumpbind: $(OBJDIR)/dumpbind.o
71		$(LINK.c) -o $@ $(OBJDIR)/dumpbind.o $(LDLIBS)
72		$(POST_PROCESS)
73
74$(ROOTUSRBIN)/%: %
75		$(INS.file)
76
77$(ROOTCCSLIB)/%: %
78		$(INS.file)
79
80$(ROOTCCSLIB64)/%: %
81		$(INS.file)
82
83$(ROOTONLDBIN)/%: %
84		$(INS.file)
85
86$(ROOTONLDLIB)/%: %
87		$(INS.file)
88
89$(ROOTONLDLIB64)/%: %
90		$(INS.file)
91
92$(ROOTCCSLIB):
93	$(INS.dir)
94
95$(ROOTCCSLIB64):
96	$(INS.dir)
97
98include		../../../../lib/Makefile.targ
99