Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
5cd4555ad444fd391002ae32450572054369fd42Rob Austein#
5cd4555ad444fd391002ae32450572054369fd42Rob Austein# CDDL HEADER START
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# The contents of this file are subject to the terms of the
1124950b35ae05a12e804e670607fe5ba775cb4aTinderbox User# Common Development and Distribution License, Version 1.0 only
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# (the "License"). You may not use this file except in compliance
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# with the License.
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater#
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# or http://www.opensolaris.org/os/licensing.
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson# See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson#
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# CDDL HEADER END
b5ad6dfea4cc3e7d1d322ac99f1e5a31096837c4Mark Andrews#
f202f2587b9ba4753afba49b796f599cc12b4d0fAndreas Gustafsson#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#ident "%Z%%M% %I% %E% SMI"
1753d3c4d74241a847794f7e7cfd94cc79be6600Evan Hunt#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Use is subject to license terms.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# cmd/syseventd/Makefile
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# The syseventd source is organized in a two-level hierarchy,
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# with the top level for daemons and modules. Daemons (cmds)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# need to be built with the usr/src/cmd hierarchy of Makefiles
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# for the proper set of cc flags etc., whereas loadable modules
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# need usr/src/lib. Each bottom-level Makefile includes
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# the relevant set of common Makefiles (for daemons or modules),
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# and also inherit the upper level set of common Makefiles
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# for all syseventd components.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews#
26e2a07a0b6a3b1eccef82ba31270d0c54ad4f06Mark Andrews# usr/src/cmd/syseventd
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark Andrews# |
7b8b5e34b6daf793373580dfb095f56af5e918ceAutomatic Updater# Makefile
d60212e03fbef1d3dd7f7eb05c0545cc373cb9fcAutomatic Updater# Makefile.com
4d42b714be10e6f163d23507e4e3a396a8ac0364Automatic Updater# Makefile.targ
0e27506ce3135f9bd49e12564ad0e15256135118Automatic Updater# |
5c6b95ba1b2e35f8dd6b0a7f25aacba91fff3aa2Tinderbox User# ------------------------------------------
1124950b35ae05a12e804e670607fe5ba775cb4aTinderbox User# | | |
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# daemons modules etc
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# | | |
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Makefile Makefile Makefile
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Makefile.com Makefile.com
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Makefile.targ Makefile.targ
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# | |
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# ------------------ ------------------
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# | | | |
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# syseventd syseventconfd devfsadmd_mod sysevent_conf_mod
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Makefile Makefile Makefile Makefile
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMANIFEST= sysevent.xml
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSVCMETHOD= svc-syseventd
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude ../Makefile.cmd
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein.PARALLEL:
0db6bf459f7afa1f9dc0690a521df19955c89dbfJeremy Reed
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinSUBDIRS= \
a268fec7f54a89a0772a91da0511c8eae09e6157Mark Andrews etc \
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein daemons \
67d01dcacb2051a03377c8ec5c0e36604c17aea5Evan Hunt modules
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
c6d4f781529d2f28693546b25b2967d44ec89e60Mark AndrewsROOTMANIFESTDIR= $(ROOTSVCSYSTEM)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinall:= TARGET= all
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininstall:= TARGET= install
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinclean:= TARGET= clean
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinclobber:= TARGET= clobber
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinlint:= TARGET= lint
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein_msg:= TARGET= _msg
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein$(ROOTMANIFEST):= FILEMODE= 444
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein.KEEP_STATE:
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinall clean clobber lint _msg: $(SUBDIRS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininstall: $(SUBDIRS) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeincheck: $(CHKMANIFEST)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinFRC:
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein$(SUBDIRS): FRC
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein @cd $@; pwd; $(MAKE) $(TARGET)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein