Makefile revision 694c35faa87b858ecdadfe4fc592615f4eefbb07
582d119e088868600a98669c1eecb698757cdac2Satyen Desai# CDDL HEADER START
582d119e088868600a98669c1eecb698757cdac2Satyen Desai# The contents of this file are subject to the terms of the
582d119e088868600a98669c1eecb698757cdac2Satyen Desai# Common Development and Distribution License (the "License").
582d119e088868600a98669c1eecb698757cdac2Satyen Desai# You may not use this file except in compliance with the License.
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai# See the License for the specific language governing permissions
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai# and limitations under the License.
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai# When distributing Covered Code, include this CDDL HEADER in each
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai# If applicable, add the following below this CDDL HEADER, with the
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai# fields enclosed by brackets "[]" replaced with your own identifying
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai# information: Portions Copyright [yyyy] [name of copyright owner]
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai# CDDL HEADER END
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai# Use is subject to license terms.
193b93dd8460b170c9d16b72294feb92953f98bdSatyen DesaiDERIVED_FILES = mech/dhmech_prot.h mech/xdr_token.c
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai# include library definitions
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desaiclean clobber delete lint catalog package: $(SUBDIRS)
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai# Rules for building the derived files
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai $(SED) -e 's!$(PROTOCOL_DIR)/dhmech_prot.h!dhmech_prot.h!' > $@
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai $(RPCGEN) -h $(PROTOCOL_DIR)/dhmech_prot.x > $@
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai# include library targets
193b93dd8460b170c9d16b72294feb92953f98bdSatyen Desai $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext mech/*.[ch]`