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