#
# 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
#
#
#
#
CLEANFILES += $(DERIVED_FILES)
# include library definitions
include ../../../Makefile.lib
all: $(DERIVED_FILES)
install: $(DERIVED_FILES)
#
# Rules for building the derived files
#
$(SED) -e 's!$(PROTOCOL_DIR)/dhmech_prot.h!dhmech_prot.h!' > $@
# include library targets
#include ../../../Makefile.targ
# EXPORT 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" \
# CRYPT DELETE START
$(SED) -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \
< Makefile \
| $(SED) -e "/EXPORT DELETE/d" \
> Makefile+
$(SED) -e "/CRYPT DELETE START/,/CRYPT DELETE END/d" \
# CRYPT DELETE END
# EXPORT DELETE END
-$(RM) $(CLEANFILES)
-$(RM) $(CLEANFILES)
$(RM) $@
$(RM) messages.po
$(RM) messages.po
$(MSGDOMAIN):
$(INS.dir)