1*abc79d9dSRobert Mustacchi# 2*abc79d9dSRobert Mustacchi# CDDL HEADER START 3*abc79d9dSRobert Mustacchi# 4*abc79d9dSRobert Mustacchi# The contents of this file are subject to the terms of the 5*abc79d9dSRobert Mustacchi# Common Development and Distribution License (the "License"). 6*abc79d9dSRobert Mustacchi# You may not use this file except in compliance with the License. 7*abc79d9dSRobert Mustacchi# 8*abc79d9dSRobert Mustacchi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*abc79d9dSRobert Mustacchi# or http://www.opensolaris.org/os/licensing. 10*abc79d9dSRobert Mustacchi# See the License for the specific language governing permissions 11*abc79d9dSRobert Mustacchi# and limitations under the License. 12*abc79d9dSRobert Mustacchi# 13*abc79d9dSRobert Mustacchi# When distributing Covered Code, include this CDDL HEADER in each 14*abc79d9dSRobert Mustacchi# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*abc79d9dSRobert Mustacchi# If applicable, add the following below this CDDL HEADER, with the 16*abc79d9dSRobert Mustacchi# fields enclosed by brackets "[]" replaced with your own identifying 17*abc79d9dSRobert Mustacchi# information: Portions Copyright [yyyy] [name of copyright owner] 18*abc79d9dSRobert Mustacchi# 19*abc79d9dSRobert Mustacchi# CDDL HEADER END 20*abc79d9dSRobert Mustacchi# 21*abc79d9dSRobert Mustacchi# 22*abc79d9dSRobert Mustacchi# Copyright (c) 2012 Joyent, Inc. All rights reserved. 23*abc79d9dSRobert Mustacchi# Use is subject to license terms. 24*abc79d9dSRobert Mustacchi# 25*abc79d9dSRobert Mustacchi 26*abc79d9dSRobert Mustacchiinclude ../Makefile.lib 27*abc79d9dSRobert Mustacchi 28*abc79d9dSRobert MustacchiHDRS = pcidb.h 29*abc79d9dSRobert MustacchiHDRDIR = common 30*abc79d9dSRobert Mustacchi 31*abc79d9dSRobert MustacchiSUBDIRS = $(MACH) 32*abc79d9dSRobert Mustacchi$(BUILD64)SUBDIRS += $(MACH64) 33*abc79d9dSRobert Mustacchi 34*abc79d9dSRobert Mustacchiall := TARGET = all 35*abc79d9dSRobert Mustacchiclean := TARGET = clean 36*abc79d9dSRobert Mustacchiclobber := TARGET = clobber 37*abc79d9dSRobert Mustacchiinstall := TARGET = install 38*abc79d9dSRobert Mustacchilint := TARGET = lint 39*abc79d9dSRobert Mustacchi 40*abc79d9dSRobert Mustacchi.KEEP_STATE: 41*abc79d9dSRobert Mustacchi 42*abc79d9dSRobert Mustacchiall clean clobber install lint: $(SUBDIRS) 43*abc79d9dSRobert Mustacchi 44*abc79d9dSRobert Mustacchiinstall: install_h $(SUBDIRS) 45*abc79d9dSRobert Mustacchi 46*abc79d9dSRobert Mustacchiinstall_h: $(ROOTHDRS) 47*abc79d9dSRobert Mustacchi 48*abc79d9dSRobert Mustacchicheck: $(CHECKHDRS) 49*abc79d9dSRobert Mustacchi 50*abc79d9dSRobert Mustacchi$(SUBDIRS): FRC 51*abc79d9dSRobert Mustacchi @cd $@; pwd; $(MAKE) $(TARGET) 52*abc79d9dSRobert Mustacchi 53*abc79d9dSRobert MustacchiFRC: 54*abc79d9dSRobert Mustacchi 55*abc79d9dSRobert Mustacchiinclude ../Makefile.targ 56