9034 pfexecd: duplicate lint target in Makefile
[unleashed.git] / usr / src / cmd / pfexecd / Makefile
blob56f922541c66f4dde1d7a0a4facf80c13c2887dc
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
23 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
25 # Makefile for the pfexec daemon.
28 PROG= pfexecd
29 MANIFEST= pfexecd.xml
30 SRCS= $(PROG:%=%.c)
32 include ../Makefile.cmd
34 TARGET= all
36 ROOTMANIFESTDIR= $(ROOTSVCSYSTEM)
38 LDLIBS += -lsecdb
40 # install macros and rule
42 GROUP= bin
43 ROOTPROG= $(ROOTLIB)/$(PROG)
44 $(ROOTPROG) := FILEMODE= 555
46 .KEEP_STATE:
48 all: $(PROG)
50 install: all .WAIT $(ROOTPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
52 clean:
54 check: $(CHKMANIFEST)
56 ${ROOTLIB}/%: %
57 ${INS.file}
59 lint: lint_SRCS
61 include ../Makefile.targ