1*70025d76Sjohnny# 2*70025d76Sjohnny# CDDL HEADER START 3*70025d76Sjohnny# 4*70025d76Sjohnny# The contents of this file are subject to the terms of the 5*70025d76Sjohnny# Common Development and Distribution License, Version 1.0 only 6*70025d76Sjohnny# (the "License"). You may not use this file except in compliance 7*70025d76Sjohnny# with the License. 8*70025d76Sjohnny# 9*70025d76Sjohnny# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*70025d76Sjohnny# or http://www.opensolaris.org/os/licensing. 11*70025d76Sjohnny# See the License for the specific language governing permissions 12*70025d76Sjohnny# and limitations under the License. 13*70025d76Sjohnny# 14*70025d76Sjohnny# When distributing Covered Code, include this CDDL HEADER in each 15*70025d76Sjohnny# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*70025d76Sjohnny# If applicable, add the following below this CDDL HEADER, with the 17*70025d76Sjohnny# fields enclosed by brackets "[]" replaced with your own identifying 18*70025d76Sjohnny# information: Portions Copyright [yyyy] [name of copyright owner] 19*70025d76Sjohnny# 20*70025d76Sjohnny# CDDL HEADER END 21*70025d76Sjohnny# 22*70025d76Sjohnny# 23*70025d76Sjohnny# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24*70025d76Sjohnny# Use is subject to license terms. 25*70025d76Sjohnny# 26*70025d76Sjohnny#ident "%Z%%M% %I% %E% SMI" 27*70025d76Sjohnny# 28*70025d76Sjohnny# cmd/pcidr/Makefile 29*70025d76Sjohnny# 30*70025d76Sjohnny 31*70025d76Sjohnny.PARALLEL: 32*70025d76Sjohnny############################################################################# 33*70025d76Sjohnny 34*70025d76SjohnnyPROGOBJECTS = pcidr.o pcidr_common.o 35*70025d76SjohnnyPROG = pcidr 36*70025d76Sjohnny 37*70025d76SjohnnySUBDIRS = plugins etc 38*70025d76Sjohnny 39*70025d76Sjohnnyinclude $(SRC)/cmd/Makefile.cmd 40*70025d76Sjohnnyinclude Makefile.com 41*70025d76Sjohnny############################################################################# 42*70025d76Sjohnny 43*70025d76Sjohnny# used by the lint_SRCS rule 44*70025d76Sjohnny# 45*70025d76SjohnnySRCS = $(PROGOBJECTS:%.o=%.c) 46*70025d76SjohnnyCLOBBERFILES += $(PROGOBJECTS) 47*70025d76Sjohnny 48*70025d76SjohnnyLDLIBS += -lnvpair 49*70025d76SjohnnyLINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2 50*70025d76Sjohnny 51*70025d76Sjohnnyall := TARGET = all 52*70025d76Sjohnnyinstall := TARGET = install 53*70025d76Sjohnnyclean := TARGET = clean 54*70025d76Sjohnnyclobber := TARGET = clobber 55*70025d76Sjohnnylint := TARGET = lint 56*70025d76Sjohnny 57*70025d76Sjohnny.KEEP_STATE: 58*70025d76Sjohnny############################################################################# 59*70025d76Sjohnny 60*70025d76Sjohnnyall: $(PROG) 61*70025d76Sjohnnyclean: 62*70025d76Sjohnnyclobber: 63*70025d76Sjohnnyinstall: $(ROOTCMD) 64*70025d76Sjohnnylint: lint_SRCS 65*70025d76Sjohnny 66*70025d76Sjohnny$(ROOTCMD): all 67*70025d76Sjohnny 68*70025d76Sjohnny$(PROG): $(PROGOBJECTS) 69*70025d76Sjohnny $(LINK.c) -o $(PROG) $(PROGOBJECTS) $(LDLIBS) 70*70025d76Sjohnny $(POST_PROCESS) 71*70025d76Sjohnny 72*70025d76Sjohnnyall clean clobber lint: $(SUBDIRS) 73*70025d76Sjohnnyinstall: .WAIT $(SUBDIRS) 74*70025d76Sjohnny 75*70025d76Sjohnny$(SUBDIRS): FRC 76*70025d76Sjohnny @cd $@; pwd; $(MAKE) $(TARGET) 77*70025d76SjohnnyFRC: 78*70025d76Sjohnny 79*70025d76Sjohnnyinclude $(SRC)/cmd/Makefile.targ 80