1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License, Version 1.0 only 6# (the "License"). You may not use this file except in compliance 7# with the License. 8# 9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10# or http://www.opensolaris.org/os/licensing. 11# See the License for the specific language governing permissions 12# and limitations under the License. 13# 14# When distributing Covered Code, include this CDDL HEADER in each 15# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16# If applicable, add the following below this CDDL HEADER, with the 17# fields enclosed by brackets "[]" replaced with your own identifying 18# information: Portions Copyright [yyyy] [name of copyright owner] 19# 20# CDDL HEADER END 21# 22# 23# Copyright 2002 Sun Microsystems, Inc. All rights reserved. 24# Use is subject to license terms. 25# 26# uts/common/ipp/Makefile 27# This makefile installs IPP framework and module header files 28# 29# include global definitions 30include ../../../Makefile.master 31 32HDRS = \ 33 ipp.h \ 34 ipp_impl.h \ 35 ippctl.h \ 36 ipp_config.h 37 38IPGPCHDRS = \ 39 ipgpc.h 40 41DSCPMKHDRS = \ 42 dscpmk.h 43 44DLCOSMKHDRS = \ 45 dlcosmk.h 46 47FLOWACCTHDRS = \ 48 flowacct.h 49 50METERSHDRS = \ 51 meter.h 52 53ipgpc/%.check: ipgpc/%.h 54 $(DOT_H_CHECK) 55 56dscpmk/%.check: dscpmk/%.h 57 $(DOT_H_CHECK) 58 59meters/%.check: meters/%.h 60 $(DOT_H_CHECK) 61 62flowacct/%.check:flowacct/%.h 63 $(DOT_H_CHECK) 64 65dlcosmk/%.check: dlcosmk/%.h 66 $(DOT_H_CHECK) 67 68CHECKHDRS = \ 69 $(HDRS:%.h=%.check) \ 70 $(IPGPCHDRS:%.h=ipgpc/%.check) \ 71 $(DSCPMKHDRS:%.h=dscpmk/%.check) \ 72 $(DLCOSMKHDRS:%.h=dlcosmk/%.check) \ 73 $(FLOWACCTHDRS:%.h=flowacct/%.check) \ 74 $(METERSHDRS:%.h=meters/%.check) 75 76ROOTDIR = $(ROOT)/usr/include/ipp 77 78ROOTDIRS = \ 79 $(ROOTDIR) \ 80 $(ROOTDIR)/ipgpc \ 81 $(ROOTDIR)/dscpmk \ 82 $(ROOTDIR)/meters \ 83 $(ROOTDIR)/dlcosmk \ 84 $(ROOTDIR)/flowacct 85 86ROOTHDRS = $(HDRS:%=$(ROOTDIR)/%) 87ROOTMODHDRS = $(IPGPCHDRS:%=$(ROOTDIR)/ipgpc/%) \ 88 $(DSCPMKHDRS:%=$(ROOTDIR)/dscpmk/%) \ 89 $(DLCOSMKHDRS:%=$(ROOTDIR)/dlcosmk/%) \ 90 $(FLOWACCTHDRS:%=$(ROOTDIR)/flowacct/%) \ 91 $(METERSHDRS:%=$(ROOTDIR)/meters/%) 92 93$(ROOTDIR)/%: % 94 $(INS.file) 95 96$(ROOTDIR)/flowacct/%: flowacct/% 97 $(INS.file) 98 99$(ROOTDIR)/ipgpc/%: ipgpc/% 100 $(INS.file) 101 102$(ROOTDIR)/dscpmk/%: dscpmk/% 103 $(INS.file) 104 105$(ROOTDIR)/dlcosmk/%: dlcosmk/% 106 $(INS.file) 107 108$(ROOTDIR)/meters/%: meters/% 109 $(INS.file) 110 111.KEEP_STATE: 112 113.PARALLEL: \ 114 $(CHECKHDRS) \ 115 $(ROOTHDRS) 116 117install_h: \ 118 $(ROOTDIRS) \ 119 $(ROOTHDRS) \ 120 .WAIT \ 121 $(ROOTMODHDRS) 122 123$(ROOTDIRS): 124 $(INS.dir) 125 126check: $(CHECKHDRS) 127 128