Makefile revision 2
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER START
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# The contents of this file are subject to the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Common Development and Distribution License (the "License").
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You may not use this file except in compliance with the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# or http://www.opensolaris.org/os/licensing.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# See the License for the specific language governing permissions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# and limitations under the License.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# When distributing Covered Code, include this CDDL HEADER in each
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# If applicable, add the following below this CDDL HEADER, with the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# fields enclosed by brackets "[]" replaced with your own identifying
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# information: Portions Copyright [yyyy] [name of copyright owner]
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# CDDL HEADER END
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin#
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude ../../Makefile.lib
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinSUBDIRS = $(MACH)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin$(BUILD64)SUBDIRS += $(MACH64)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin# conditional assignments
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinall := TARGET= all
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininstall := TARGET= install
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininstall_h := TARGET= install_h
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chincheck := TARGET= check
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinclean := TARGET= clean
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinclobber := TARGET= clobber
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinlint := TARGET= lint
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinstub := TARGET= stub
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinstubinstall := TARGET= stubinstall
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinHDRS = a5k.h a_state.h exec.h rom.h
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinHDRDIR = common/hdrs
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.KEEP_STATE:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinall clean clobber install lint stub stubinstall: $(SUBDIRS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininstall_h: $(ROOTHDRS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chincheck: $(CHECKHDRS)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin$(SUBDIRS): FRC
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin @cd $@; pwd; $(MAKE) $(TARGET)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinFRC:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chininclude ../../Makefile.targ
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin