#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
#
# objects are listed by source directory
# common utility code used in more than one directory
$(PROTOCOL_DIR)/nis.x \
$(PROTOCOL_DIR)/nis.h \
#
# Make sure they get cleaned when necessary
#
CLEANFILES += $(DERIVED_FILES)
# include library definitions
# nss.h isn't delivered; no reason to check
$(PROTOCOL_DIR):
$(INS.dir)
$(PROTOCOL_DIR)/%.h: $(PROTOCOL_SRCDIR)/%.h
$(INS.file)
$(RM) $@
$(PROTOCOL_DIR)/%.x: $(PROTOCOL_SRCDIR)/%.x
$(INS.file)
$(PROTOCOL_DIR)/%.x: $(PROTOCOL_UTS_SRCDIR)/%.x
$(INS.file)
#
# Rules for building the derived files
#
# Derived header files
#
$(SED) -e 's/_3_svc/_svc/' |\
$(SED) -e 's/_3/_clnt/' > $@
$(RM) nis_clnt-gen.h
#
# Derived source files
#
# include library targets
# EXPORT DELETE START
# CRYPT DELETE START
# Special target to clean up the source tree for export distribution
# Warning: This target changes the source tree
$(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
$(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
$(SED) -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" \
$(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
$(SED) -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \
< Makefile \
| $(SED) -e "/EXPORT DELETE/d" \
> Makefile+
# CRYPT DELETE END
# EXPORT DELETE END
$(RM) $@
$(RM) messages.po
$(RM) messages.po
$(RM) messages.po
$(RM) messages.po
$(MSGDOMAIN):
$(INS.dir)
FRC: