dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / picl / picld / Makefile
blob23c149645f914616134f306b1240327c9f5eb270
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
46 .KEEP_STATE:
48 all: $(PROG)
50 install: all $(ROOTLIBPICLD) $(ROOTLIBPICLDDAEMON) $(ROOTMANIFEST)
52 check: $(CHKMANIFEST)
54 clean:
57 $(ROOTLIBPICLD):
58 $(INS.dir)
60 $(ROOTLIBPICLD)/%: %
61 $(INS.file)
63 include ../../Makefile.targ
65 FRC: