xref: /illumos-gate/usr/src/cmd/abi/appcert/static_prof/Makefile.targ (revision ed093b41a93e8563e6e1e5dae0768dda2a7bcc27)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22
23#
24# Copyright (c) 1997-2000 by Sun Microsystems, Inc.
25# All rights reserved.
26#
27# Copyright 2015 RackTop Systems.
28#
29
30$(PROG): $(SRCS)
31		$(LINK.c) -o $@ $(SRCS) $(LDLIBS)
32		$(POST_PROCESS)
33
34#
35# clean - (apparently needs an explicit directive)
36#
37clean:
38	-$(RM) $(PROG)
39
40#
41# lint - (apparently needs an explicit dependency on lint_PROG or lint_SRCS)
42#
43lint:	lint_SRCS
44
45#
46# Install targets
47#
48$(ROOTLIB_APPCERT)/%: %
49		$(INS.file)
50
51$(ROOTLIB_APPCERT):
52		$(INS.dir)
53
54include		$(SRC)/cmd/Makefile.targ
55
56