Makefile revision fb9f9b975cb9214fec5dab37d461199adab9b964
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# CDDL HEADER START
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# The contents of this file are subject to the terms of the
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Common Development and Distribution License, Version 1.0 only
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# (the "License"). You may not use this file except in compliance
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# with the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# or http://www.opensolaris.org/os/licensing.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# See the License for the specific language governing permissions
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# and limitations under the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# When distributing Covered Code, include this CDDL HEADER in each
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# If applicable, add the following below this CDDL HEADER, with the
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# fields enclosed by brackets "[]" replaced with your own identifying
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence# information: Portions Copyright [yyyy] [name of copyright owner]
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# CDDL HEADER END
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence#
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# uts/sun4u/quasar/Makefile
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Use is subject to license terms.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#ident "%Z%%M% %I% %E% SMI"
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# This makefile drives the production of the sun4u quasar platform
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# module.
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas Gustafsson#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# sun4u implementation architecture dependent
f9d068745ddfeb513db6184d9dddde835bed42d4Andreas Gustafsson#
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas Gustafsson
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas Gustafsson# Path to the base of the uts directory tree (usually /usr/src/uts).
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
f9d068745ddfeb513db6184d9dddde835bed42d4Andreas GustafssonUTSBASE = ../..
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas Gustafsson
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Include common rules.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssoninclude $(UTSBASE)/sun4u/quasar/Makefile.quasar
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssondef := TARGET= def
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonall := TARGET= all
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssoninstall := TARGET= install
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssoninstall_h := TARGET= install_h
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonclean := TARGET= clean
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonclobber := TARGET= clobber
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonlint := TARGET= lint
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonlintlib := TARGET= lintlib
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrencemodlintlib := TARGET= modlintlib
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonmodlist := TARGET= modlist
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellingtonmodlist := NO_STATE= -K $$MODSTATE$$$$
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrenceclean.lint := TARGET= clean.lint
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrencecheck := TARGET= check
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence# Default build targets.
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Note that quasar doesn't currently have any modules of its own to
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# build.
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence#
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence.KEEP_STATE:
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellingtondef all install_h clean lint lintlib modlintlib clean.lint clobber check:
09ab886382ad9e7149d9b72b4cf9a03ae4a1cddfDavid Lawrence
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonmodlist:
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssoninstall: install_darwin $(INSTALL_DEPS) $(USR_QUASAR_DIR)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonINSTALL_TARGET = platmod
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssonplatmod: $(ROOT_QUASAR_MISC_DIR)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson -@$(RM) -r $(OBJS_DIR)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson -@$(RM) $(ROOT_QUASAR_MISC_DIR)/$@
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson $(SYMLINK) $(ROOT_QUASAR_MISC_LINK)/$@ $(ROOT_QUASAR_MISC_DIR)/$@
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssoninstall_darwin:
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson @cd ../darwin; $(MAKE) $(TARGET)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Include common targets.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtoninclude $(UTSBASE)/sun4u/quasar/Makefile.targ
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington