xref: /titanic_52/usr/src/uts/common/io/bpf/net/Makefile (revision 0a0e9771ca0211c15f3ac4466b661c145feeb9e4)
1*0a0e9771SDarren Reed#
2*0a0e9771SDarren Reed# CDDL HEADER START
3*0a0e9771SDarren Reed#
4*0a0e9771SDarren Reed# The contents of this file are subject to the terms of the
5*0a0e9771SDarren Reed# Common Development and Distribution License (the "License").
6*0a0e9771SDarren Reed# You may not use this file except in compliance with the License.
7*0a0e9771SDarren Reed#
8*0a0e9771SDarren Reed# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*0a0e9771SDarren Reed# or http://www.opensolaris.org/os/licensing.
10*0a0e9771SDarren Reed# See the License for the specific language governing permissions
11*0a0e9771SDarren Reed# and limitations under the License.
12*0a0e9771SDarren Reed#
13*0a0e9771SDarren Reed# When distributing Covered Code, include this CDDL HEADER in each
14*0a0e9771SDarren Reed# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*0a0e9771SDarren Reed# If applicable, add the following below this CDDL HEADER, with the
16*0a0e9771SDarren Reed# fields enclosed by brackets "[]" replaced with your own identifying
17*0a0e9771SDarren Reed# information: Portions Copyright [yyyy] [name of copyright owner]
18*0a0e9771SDarren Reed#
19*0a0e9771SDarren Reed# CDDL HEADER END
20*0a0e9771SDarren Reed#
21*0a0e9771SDarren Reed
22*0a0e9771SDarren Reed#
23*0a0e9771SDarren Reed# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24*0a0e9771SDarren Reed# Use is subject to license terms.
25*0a0e9771SDarren Reed#
26*0a0e9771SDarren Reed# uts/common/io/bpf/net/Makefile
27*0a0e9771SDarren Reed#
28*0a0e9771SDarren Reed# include global definitions
29*0a0e9771SDarren Reedinclude ../../../../../Makefile.master
30*0a0e9771SDarren Reed
31*0a0e9771SDarren ReedHDRS=	bpf.h bpfdesc.h dlt.h
32*0a0e9771SDarren Reed
33*0a0e9771SDarren ReedROOTDIRS=	$(ROOT)/usr/include/net
34*0a0e9771SDarren Reed
35*0a0e9771SDarren ReedROOTHDRS=	$(HDRS:%=$(ROOT)/usr/include/net/%)
36*0a0e9771SDarren Reed
37*0a0e9771SDarren Reed$(ROOTDIRS)/%:	%
38*0a0e9771SDarren Reed	$(INS.file)
39*0a0e9771SDarren Reed
40*0a0e9771SDarren Reed.KEEP_STATE:
41*0a0e9771SDarren Reed
42*0a0e9771SDarren Reedinstall_h:	$(ROOTDIRS) $(ROOTHDRS)
43*0a0e9771SDarren Reed
44*0a0e9771SDarren Reed$(ROOTDIRS):
45*0a0e9771SDarren Reed	$(INS.dir)
46*0a0e9771SDarren Reed
47*0a0e9771SDarren Reedcheck:	$(CHECKHDRS)
48