Makefile revision f6e214c7418f43af38bd8c3a557e3d0a1d311cfa
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
b0e8629055a766d4555a005a283c2889a5974945Mark Andrews# CDDL HEADER START
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# The contents of this file are subject to the terms of the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Common Development and Distribution License (the "License").
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# You may not use this file except in compliance with the License.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# or http://www.opensolaris.org/os/licensing.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# See the License for the specific language governing permissions
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# and limitations under the License.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
2f8d63983c297c62630044d28a6f66676b4d339dMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# CDDL HEADER END
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews#
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsinclude ../../Makefile.lib
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsinclude ../Makefile.lib
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsFMHDRS = libfmevent.h libfmevent_ruleset.h
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsHDRDIR = common
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsSUBDIRS = $(MACH)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews$(BUILD64)SUBDIRS += $(MACH64)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsall := TARGET = all
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsclean := TARGET = clean
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsclobber := TARGET = clobber
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsinstall := TARGET = install
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewslint := TARGET = lint
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews.KEEP_STATE:
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsall clean clobber lint: $(SUBDIRS)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsinstall: install_h .WAIT $(SUBDIRS)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsinstall_h: $(ROOTFMHDRS)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewscheck: $(CHECKHDRS)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews$(SUBDIRS): FRC
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews @cd $@; pwd; $(MAKE) $(TARGET)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
c115370fcb34be129ad93fd61c4a4767a214eea2Mark AndrewsFRC:
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrewsinclude ../../Makefile.targ
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrewsinclude ../Makefile.targ
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews