Makefile revision 2535:b66cbb80977f
1326938Sdim# 2326938Sdim# CDDL HEADER START 3353358Sdim# 4353358Sdim# The contents of this file are subject to the terms of the 5353358Sdim# Common Development and Distribution License (the "License"). 6326938Sdim# You may not use this file except in compliance with the License. 7326938Sdim# 8326938Sdim# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9326938Sdim# or http://www.opensolaris.org/os/licensing. 10341825Sdim# See the License for the specific language governing permissions 11326938Sdim# and limitations under the License. 12326938Sdim# 13326938Sdim# When distributing Covered Code, include this CDDL HEADER in each 14326938Sdim# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15326938Sdim# If applicable, add the following below this CDDL HEADER, with the 16326938Sdim# fields enclosed by brackets "[]" replaced with your own identifying 17326938Sdim# information: Portions Copyright [yyyy] [name of copyright owner] 18326938Sdim# 19326938Sdim# CDDL HEADER END 20326938Sdim# 21326938Sdim# 22326938Sdim# ident "%Z%%M% %I% %E% SMI" 23326938Sdim# 24326938Sdim# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 25326938Sdim# Use is subject to license terms. 26353358Sdim# 27353358Sdim# uts/common/net/Makefile 28353358Sdim# 29353358Sdim# include global definitions 30353358Sdiminclude ../../../Makefile.master 31353358Sdim 32353358SdimHDRS= af.h if.h if_arp.h if_dl.h if_types.h route.h pfkeyv2.h pfpolicy.h \ 33353358Sdim ppp-comp.h ppp_defs.h pppio.h vjcompress.h sppptun.h pppoe.h radix.h 34353358Sdim 35353358SdimROOTDIRS= $(ROOT)/usr/include/net 36326938Sdim 37326938SdimROOTHDRS= $(HDRS:%=$(ROOT)/usr/include/net/%) 38326938Sdim 39CHECKHDRS= $(HDRS:%.h=%.check) 40 41$(ROOTDIRS)/%: % 42 $(INS.file) 43 44.KEEP_STATE: 45 46.PARALLEL: $(CHECKHDRS) 47 48install_h: $(ROOTDIRS) $(ROOTHDRS) 49 50$(ROOTDIRS): 51 $(INS.dir) 52 53check: $(CHECKHDRS) 54