Makefile (a787240632bcb1404b9fd4583516b875d3f02c8b) Makefile (8d483882aa3390058094b043f3d62187b5d1de03)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
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.
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance 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#ident "%Z%%M% %I% %E% SMI"
24#
7#
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.
12#
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]
18#
19# CDDL HEADER END
20#
21#
22#ident "%Z%%M% %I% %E% SMI"
23#
25# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
24# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
26# Use is subject to license terms.
27#
28# cmd/devfsadm/Makefile
29#
30
31DEFAULTFILES = devfsadm.dfl
32
25# Use is subject to license terms.
26#
27# cmd/devfsadm/Makefile
28#
29
30DEFAULTFILES = devfsadm.dfl
31
32ETCDEVFILES=reserved_devnames
33
33include ../Makefile.cmd
34
35#
36# One for each ISA.
37#
38SUBDIRS = $(MACH)
39
40all := TARGET= all
41install := TARGET= install
42clean := TARGET= clean
43clobber := TARGET= clobber
44_msg := TARGET= _msg
45lint := TARGET= lint
46
34include ../Makefile.cmd
35
36#
37# One for each ISA.
38#
39SUBDIRS = $(MACH)
40
41all := TARGET= all
42install := TARGET= install
43clean := TARGET= clean
44clobber := TARGET= clobber
45_msg := TARGET= _msg
46lint := TARGET= lint
47
48ROOTETCDEV= $(ROOTETC)/dev
49ROOTETCDEVFILES=$(ETCDEVFILES:%=$(ROOTETCDEV)/%)
50$(ROOTETCDEV) := DIRMODE= 755
51$(ROOTETCDEV) := OWNER= root
52$(ROOTETCDEV) := GROUP= sys
53$(ROOTETCDEVFILES) := OWNER = root
54$(ROOTETCDEVFILES) := GROUP = sys
55$(ROOTETCDEVFILES) := FILEMODE = 0644
56
47.KEEP_STATE:
48
57.KEEP_STATE:
58
49all clean clobber lint _msg: $(SUBDIRS)
59all: $(SUBDIRS) $(ETCDEVFILES)
50
60
51install: $(SUBDIRS) $(ROOTETCDEFAULTFILES)
61clean lint _msg: $(SUBDIRS)
52
62
63clobber: $(SUBDIRS)
64 $(RM) $(ROOTETCDEVFILES)
65
66install: $(SUBDIRS) $(ROOTETCDEFAULTFILES) $(ROOTETCDEVFILES)
67
68$(ROOTETCDEV):
69 $(INS.dir)
70
71$(ROOTETCDEV)/% : % $(ROOTETCDEV)
72 $(INS.file)
73
53$(SUBDIRS): FRC
54 @cd $@; pwd; $(MAKE) $(TARGET)
55
56FRC:
74$(SUBDIRS): FRC
75 @cd $@; pwd; $(MAKE) $(TARGET)
76
77FRC: