8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / cmd / syseventd / Makefile
blob7b6445db3ed0f4f0741f7670e99d9ad6df6f9a2f
2 # CDDL HEADER START
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.
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.
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]
20 # CDDL HEADER END
23 #ident "%Z%%M% %I% %E% SMI"
25 # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
26 # Use is subject to license terms.
28 # cmd/syseventd/Makefile
32 # The syseventd source is organized in a two-level hierarchy,
33 # with the top level for daemons and modules. Daemons (cmds)
34 # need to be built with the usr/src/cmd hierarchy of Makefiles
35 # for the proper set of cc flags etc., whereas loadable modules
36 # need usr/src/lib. Each bottom-level Makefile includes
37 # the relevant set of common Makefiles (for daemons or modules),
38 # and also inherit the upper level set of common Makefiles
39 # for all syseventd components.
42 # usr/src/cmd/syseventd
43 # |
44 # Makefile
45 # Makefile.com
46 # Makefile.targ
47 # |
48 # ------------------------------------------
49 # | | |
50 # daemons modules etc
51 # | | |
52 # Makefile Makefile Makefile
53 # Makefile.com Makefile.com
54 # Makefile.targ Makefile.targ
55 # | |
56 # ------------------ ------------------
57 # | | | |
58 # syseventd syseventconfd devfsadmd_mod sysevent_conf_mod
60 # Makefile Makefile Makefile Makefile
63 MANIFEST= sysevent.xml
64 SVCMETHOD= svc-syseventd
66 include ../Makefile.cmd
68 .PARALLEL:
70 SUBDIRS= \
71 etc \
72 daemons \
73 modules
75 ROOTMANIFESTDIR= $(ROOTSVCSYSTEM)
77 all:= TARGET= all
78 install:= TARGET= install
79 clean:= TARGET= clean
80 clobber:= TARGET= clobber
81 lint:= TARGET= lint
82 _msg:= TARGET= _msg
84 $(ROOTMANIFEST):= FILEMODE= 444
86 .KEEP_STATE:
88 all clean clobber lint _msg: $(SUBDIRS)
90 install: $(SUBDIRS) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
92 check: $(CHKMANIFEST)
94 FRC:
96 $(SUBDIRS): FRC
97 @cd $@; pwd; $(MAKE) $(TARGET)