xref: /illumos-gate/usr/src/uts/common/inet/ipf/netinet/Makefile (revision 2983dda76a6d296fdb560c88114fe41caad1b84f)
1#
2#ident	"%Z%%M%	%I%	%E% SMI"
3#
4# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
5# Use is subject to license terms.
6#
7# uts/common/inet/ipf/netinet/Makefile
8#
9# include global definitions
10include ../../../../../Makefile.master
11
12HDRS=	ipl.h ip_compat.h ip_fil.h ip_nat.h ip_proxy.h ip_state.h \
13	ip_frag.h ip_auth.h ip_lookup.h ip_pool.h ip_htable.h ipf_stack.h
14
15ROOTDIRS= $(ROOT)/usr/include/netinet
16
17ROOTHDRS= $(HDRS:%=$(ROOT)/usr/include/netinet/%)
18
19CHECKHDRS= $(HDRS:%.h=%.check)
20
21$(ROOTDIRS)/%: %
22	$(INS.file)
23
24.KEEP_STATE:
25
26.PARALLEL: $(CHECKHDRS)
27
28install_h: $(ROOTDIRS) $(ROOTHDRS)
29
30$(ROOTDIRS):
31	$(INS.dir)
32
33check:
34