da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER START
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Common Development and Distribution License, Version 1.0 only
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# (the "License"). You may not use this file except in compliance
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# or http://www.opensolaris.org/os/licensing.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Use is subject to license terms.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#ident "%Z%%M% %I% %E% SMI"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# cmd/pcidr/Makefile
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.PARALLEL:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#############################################################################
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinPROGOBJECTS = pcidr.o pcidr_common.o
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinPROG = pcidr
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinSUBDIRS = plugins etc
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude $(SRC)/cmd/Makefile.cmd
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude Makefile.com
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#############################################################################
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# used by the lint_SRCS rule
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinSRCS = $(PROGOBJECTS:%.o=%.c)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinCLOBBERFILES += $(PROGOBJECTS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinLDLIBS += -lnvpair
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinLINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinall := TARGET = all
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininstall := TARGET = install
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinclean := TARGET = clean
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulknerclobber := TARGET = clobber
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinlint := TARGET = lint
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz.KEEP_STATE:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#############################################################################
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinall: $(PROG)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinclean:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinclobber:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininstall: $(ROOTCMD)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinlint: lint_SRCS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin$(ROOTCMD): all
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin$(PROG): $(PROGOBJECTS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(LINK.c) -o $(PROG) $(PROGOBJECTS) $(LDLIBS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin $(POST_PROCESS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinall clean clobber lint: $(SUBDIRS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininstall: .WAIT $(SUBDIRS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin$(SUBDIRS): FRC
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin @cd $@; pwd; $(MAKE) $(TARGET)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinFRC:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude $(SRC)/cmd/Makefile.targ
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin