xref: /onnv-gate/usr/src/uts/common/idmap/Makefile (revision 12508:edb7861a1533)
14520Snw141292#
24520Snw141292# CDDL HEADER START
34520Snw141292#
44520Snw141292# The contents of this file are subject to the terms of the
54520Snw141292# Common Development and Distribution License (the "License").
64520Snw141292# You may not use this file except in compliance with the License.
74520Snw141292#
84520Snw141292# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94520Snw141292# or http://www.opensolaris.org/os/licensing.
104520Snw141292# See the License for the specific language governing permissions
114520Snw141292# and limitations under the License.
124520Snw141292#
134520Snw141292# When distributing Covered Code, include this CDDL HEADER in each
144520Snw141292# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154520Snw141292# If applicable, add the following below this CDDL HEADER, with the
164520Snw141292# fields enclosed by brackets "[]" replaced with your own identifying
174520Snw141292# information: Portions Copyright [yyyy] [name of copyright owner]
184520Snw141292#
194520Snw141292# CDDL HEADER END
204520Snw141292#
21*12508Samw@Sun.COM# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
224520Snw141292#
234520Snw141292#
244520Snw141292# uts/common/idmap/Makefile
254520Snw141292#
264520Snw141292# include global definitions
274520Snw141292include ../../../Makefile.master
284520Snw141292
299565SJordan.Brown@Sun.COMIDMAP_PROT_DIR= 	$(SRC)/uts/common/rpcsvc
304520Snw141292
314520Snw141292IDMAP_PROT_X=		$(IDMAP_PROT_DIR)/idmap_prot.x
324520Snw141292DERIVED_SRCS=		idmap_xdr.c
339565SJordan.Brown@Sun.COMDERIVED_FILES=		$(DERIVED_SRCS)
344520Snw141292HDRS=			kidmap_priv.h
354520Snw141292CHECKHDRS=		$(HDRS:%.h=%.check)
364520Snw141292
374520Snw141292.KEEP_STATE:
384520Snw141292
394520Snw141292.PARALLEL: $(CHECKHDRS)
404520Snw141292
414520Snw141292install_h: all_h
424520Snw141292
434520Snw141292all_h: $(DERIVED_FILES)
444520Snw141292
454520Snw141292
464520Snw141292idmap_xdr.c:	$(IDMAP_PROT_X)
474520Snw141292	$(RM) $@
48*12508Samw@Sun.COM	$(RPCGEN) -CMNc -DIDMAP_XDR_MAPPING_ONLY -o $@ $(IDMAP_PROT_X)
494520Snw141292
504520Snw141292check:	$(CHECKHDRS)
514520Snw141292
524520Snw141292clean:
534520Snw141292	$(RM) $(DERIVED_FILES)
549565SJordan.Brown@Sun.COM
559565SJordan.Brown@Sun.COMclobber:	clean
56