Makefile revision 2
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould#
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# CDDL HEADER START
d37634d73670180f99a3e0ea583621373d90ec4fJohan Engelen#
d37634d73670180f99a3e0ea583621373d90ec4fJohan Engelen# The contents of this file are subject to the terms of the
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# Common Development and Distribution License (the "License").
d37634d73670180f99a3e0ea583621373d90ec4fJohan Engelen# You may not use this file except in compliance with the License.
d37634d73670180f99a3e0ea583621373d90ec4fJohan Engelen#
d37634d73670180f99a3e0ea583621373d90ec4fJohan Engelen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# or http://www.opensolaris.org/os/licensing.
d37634d73670180f99a3e0ea583621373d90ec4fJohan Engelen# See the License for the specific language governing permissions
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# and limitations under the License.
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti#
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# When distributing Covered Code, include this CDDL HEADER in each
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# If applicable, add the following below this CDDL HEADER, with the
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# fields enclosed by brackets "[]" replaced with your own identifying
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# information: Portions Copyright [yyyy] [name of copyright owner]
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti#
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# CDDL HEADER END
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti#
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti#
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti# Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti#
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiinclude $(SRC)/lib/Makefile.lib
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiHDRS = libpctx.h
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiHDRDIR = common
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiSUBDIRS = $(MACH)
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti$(BUILD64)SUBDIRS += $(MACH64)
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiPOFILE = libpctx.po
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiMSGFILES = common/libpctx.c
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiXGETFLAGS = -a
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof Kosińskiall := TARGET= all
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof Kosińskiclean := TARGET= clean
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetticlobber := TARGET= clobber
8001ba81cb851b38d86650a2fef5817facffb763johanengeleninstall := TARGET= install
76addc201c409e81eaaa73fe27cc0f79c4db097cKrzysztof Kosińskilint := TARGET= lint
d37634d73670180f99a3e0ea583621373d90ec4fJohan Engelenstub := TARGET = stub
c9cce6b7800659b3bd0e56b5d7e1f7c1b29272fbJohan B. C. Engelenstubinstall := TARGET = stubinstall
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti.KEEP_STATE:
6e16a663ee96cd1329e48518138efb415046d9f6mcecchetti
6e16a663ee96cd1329e48518138efb415046d9f6mcecchettiall clean clobber install lint stub stubinstall: $(SUBDIRS)
d37634d73670180f99a3e0ea583621373d90ec4fJohan Engelen
d37634d73670180f99a3e0ea583621373d90ec4fJohan Engeleninstall_h: $(ROOTHDRS)
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof Kosiński
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof Kosińskicheck: $(CHECKHDRS)
d37634d73670180f99a3e0ea583621373d90ec4fJohan Engelen
d37634d73670180f99a3e0ea583621373d90ec4fJohan Engelen$(POFILE): pofile_MSGFILES
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof Kosiński
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof Kosiński_msg: $(MSGDOMAINPOFILE)
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof Kosiński
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof Kosiński$(SUBDIRS): FRC
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof Kosiński @cd $@; pwd; $(MAKE) $(TARGET)
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof Kosiński
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof KosińskiFRC:
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof Kosiński
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof Kosińskiinclude $(SRC)/Makefile.msg.targ
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof Kosińskiinclude $(SRC)/lib/Makefile.targ
40742313779ee5e43be93a9191f1c86412cf183bKrzysztof Kosiński