dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / ypcmd / yp2lscripts / Makefile
blob9400b9e6ccb8fc59603a42ed00c89b3e1f16e4cd
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
21 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
22 # Use is subject to license terms.
25 OBJS= inityp2l ypmap2src
27 include $(SRC)/cmd/Makefile.cmd
29 # install directories
30 NETSVC = $(ROOTLIB)/netsvc
31 NETYP = $(NETSVC)/yp
32 ROOTNETYPFILES= $(OBJS:%=$(NETYP)/%)
34 $(NETSVC) := FILEMODE=555
36 all: FRC $(OBJS)
38 install: all $(ROOTNETYPFILES)
40 clean: FRC $(OBJS)
41 $(RM) $(OBJS)
43 clobber: FRC $(OBJS)
44 $(RM) $(OBJS)
46 clean: FRC
48 clobber: FRC
51 $(NETYP)/ypmap2src: ypmap2src
52 $(INS) -m $(FILEMODE) ypmap2src $@
54 $(NETYP)/inityp2l: inityp2l
55 $(INS) -m $(FILEMODE) inityp2l $@
57 FRC: