8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / picl / picld / Makefile
blobf555a18c928e168ed83b68e5634709f10370b84c
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
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
26 PROG= picld
28 MANIFEST= picl.xml
30 include ../../Makefile.cmd
32 ROOTMANIFESTDIR= $(ROOTSVCSYSTEM)
34 ROOTLIBPICLD= $(ROOTLIB)/picl
35 ROOTLIBPICLDDAEMON= $(PROG:%=$(ROOTLIBPICLD)/%)
37 $(ROOTLIBPICLD) := FILEMODE= 755
39 CPPFLAGS += -I../../../lib/libpicltree -I../../../lib/libpicl
41 LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH)
42 LDLIBS += -lpicltree
44 CFLAGS += $(CCVERBOSE)
45 CPPFLAGS += -D_REENTRANT
47 LINTFLAGS += -u
49 .KEEP_STATE:
51 all: $(PROG)
53 install: all $(ROOTLIBPICLD) $(ROOTLIBPICLDDAEMON) $(ROOTMANIFEST)
55 check: $(CHKMANIFEST)
57 clean:
59 lint: lint_PROG
61 $(ROOTLIBPICLD):
62 $(INS.dir)
64 $(ROOTLIBPICLD)/%: %
65 $(INS.file)
67 include ../../Makefile.targ
69 FRC: