149b225e1SGavin Maltby# 249b225e1SGavin Maltby# CDDL HEADER START 349b225e1SGavin Maltby# 449b225e1SGavin Maltby# The contents of this file are subject to the terms of the 549b225e1SGavin Maltby# Common Development and Distribution License (the "License"). 649b225e1SGavin Maltby# You may not use this file except in compliance with the License. 749b225e1SGavin Maltby# 849b225e1SGavin Maltby# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 949b225e1SGavin Maltby# or http://www.opensolaris.org/os/licensing. 1049b225e1SGavin Maltby# See the License for the specific language governing permissions 1149b225e1SGavin Maltby# and limitations under the License. 1249b225e1SGavin Maltby# 1349b225e1SGavin Maltby# When distributing Covered Code, include this CDDL HEADER in each 1449b225e1SGavin Maltby# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1549b225e1SGavin Maltby# If applicable, add the following below this CDDL HEADER, with the 1649b225e1SGavin Maltby# fields enclosed by brackets "[]" replaced with your own identifying 1749b225e1SGavin Maltby# information: Portions Copyright [yyyy] [name of copyright owner] 1849b225e1SGavin Maltby# 1949b225e1SGavin Maltby# CDDL HEADER END 2049b225e1SGavin Maltby# 2149b225e1SGavin Maltby# 22*f6e214c7SGavin Maltby# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 2349b225e1SGavin Maltby# 2449b225e1SGavin Maltby 2549b225e1SGavin Maltbyinclude ../../Makefile.lib 2649b225e1SGavin Maltbyinclude ../Makefile.lib 2749b225e1SGavin Maltby 28*f6e214c7SGavin MaltbyFMHDRS = libfmevent.h libfmevent_ruleset.h 2949b225e1SGavin MaltbyHDRDIR = common 3049b225e1SGavin Maltby 3149b225e1SGavin MaltbySUBDIRS = $(MACH) 3249b225e1SGavin Maltby$(BUILD64)SUBDIRS += $(MACH64) 3349b225e1SGavin Maltby 3449b225e1SGavin Maltbyall := TARGET = all 3549b225e1SGavin Maltbyclean := TARGET = clean 3649b225e1SGavin Maltbyclobber := TARGET = clobber 3749b225e1SGavin Maltbyinstall := TARGET = install 3849b225e1SGavin Maltbylint := TARGET = lint 3949b225e1SGavin Maltby 4049b225e1SGavin Maltby.KEEP_STATE: 4149b225e1SGavin Maltby 4249b225e1SGavin Maltbyall clean clobber lint: $(SUBDIRS) 4349b225e1SGavin Maltby 4449b225e1SGavin Maltbyinstall: install_h .WAIT $(SUBDIRS) 4549b225e1SGavin Maltby 4649b225e1SGavin Maltbyinstall_h: $(ROOTFMHDRS) 4749b225e1SGavin Maltby 4849b225e1SGavin Maltbycheck: $(CHECKHDRS) 4949b225e1SGavin Maltby 5049b225e1SGavin Maltby$(SUBDIRS): FRC 5149b225e1SGavin Maltby @cd $@; pwd; $(MAKE) $(TARGET) 5249b225e1SGavin Maltby 5349b225e1SGavin MaltbyFRC: 5449b225e1SGavin Maltby 5549b225e1SGavin Maltbyinclude ../../Makefile.targ 5649b225e1SGavin Maltbyinclude ../Makefile.targ 57