Makefile revision 62615d1b6cd28c7db6dea1cdad6d219ffbcd7881
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# CDDL HEADER START
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# The contents of this file are subject to the terms of the
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# Common Development and Distribution License (the "License").
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# You may not use this file except in compliance with the License.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# or http://www.opensolaris.org/os/licensing.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# See the License for the specific language governing permissions
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# and limitations under the License.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# When distributing Covered Code, include this CDDL HEADER in each
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# If applicable, add the following below this CDDL HEADER, with the
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# fields enclosed by brackets "[]" replaced with your own identifying
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# information: Portions Copyright [yyyy] [name of copyright owner]
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# CDDL HEADER END
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
62615d1b6cd28c7db6dea1cdad6d219ffbcd7881Julian Pullen# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw# Use is subject to license terms.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwinclude $(SRC)/lib/Makefile.lib
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwHDRS = idmap.h
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwHDRDIR = common
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwSUBDIRS = $(MACH)
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw$(BUILD64)SUBDIRS += $(MACH64)
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
62615d1b6cd28c7db6dea1cdad6d219ffbcd7881Julian Pullen# Both MACH and MACH64 subdirs invoke rpcgen on the same file,
62615d1b6cd28c7db6dea1cdad6d219ffbcd7881Julian Pullen# so to prevent collisions, we turn off parallelism.
62615d1b6cd28c7db6dea1cdad6d219ffbcd7881Julian Pullen.NO_PARALLEL: $(SUBDIRS)
62615d1b6cd28c7db6dea1cdad6d219ffbcd7881Julian Pullen
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwPOFILE = libidmap.po
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwMSGFILES = `$(GREP) -l gettext common/*.[ch]`
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwXGETFLAGS = -a
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwall := TARGET = all
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwclean := TARGET = clean
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwclobber := TARGET = clobber
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwinstall := TARGET = install
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwlint := TARGET = lint
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw.KEEP_STATE:
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwall clean clobber install lint: $(SUBDIRS)
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwinstall_h: $(ROOTHDRS)
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwcheck: $(CHECKHDRS)
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw$(POFILE): pofile_MSGFILES
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw $(BUILDPO.msgfiles)
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw_msg: $(MSGDOMAINPOFILE)
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw$(SUBDIRS): FRC
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw @cd $@; pwd; $(MAKE) $(TARGET)
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwFRC:
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwinclude $(SRC)/Makefile.msg.targ
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwinclude $(SRC)/lib/Makefile.targ