xref: /illumos-gate/usr/src/uts/sun4u/gptwocfg/Makefile (revision 0aaef2f5)
11c42de6dSgd#
21c42de6dSgd# CDDL HEADER START
31c42de6dSgd#
41c42de6dSgd# The contents of this file are subject to the terms of the
51c42de6dSgd# Common Development and Distribution License (the "License").
61c42de6dSgd# You may not use this file except in compliance with the License.
71c42de6dSgd#
81c42de6dSgd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91c42de6dSgd# or http://www.opensolaris.org/os/licensing.
101c42de6dSgd# See the License for the specific language governing permissions
111c42de6dSgd# and limitations under the License.
121c42de6dSgd#
131c42de6dSgd# When distributing Covered Code, include this CDDL HEADER in each
141c42de6dSgd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151c42de6dSgd# If applicable, add the following below this CDDL HEADER, with the
161c42de6dSgd# fields enclosed by brackets "[]" replaced with your own identifying
171c42de6dSgd# information: Portions Copyright [yyyy] [name of copyright owner]
181c42de6dSgd#
191c42de6dSgd# CDDL HEADER END
201c42de6dSgd#
211c42de6dSgd#
221c42de6dSgd# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
231c42de6dSgd# Use is subject to license terms.
241c42de6dSgd#
25*0aaef2f5SRichard Lowe
261c42de6dSgd#
271c42de6dSgd#	This makefile drives the production of the gptwocfg Safari Configurator
281c42de6dSgd#
291c42de6dSgd#	sun4u implementation architecture dependent
301c42de6dSgd#
311c42de6dSgd
321c42de6dSgd#
331c42de6dSgd#	Path to the base of the uts directory tree (usually /usr/src/uts).
341c42de6dSgd#
351c42de6dSgdUTSBASE = ../..
361c42de6dSgd
371c42de6dSgd#
381c42de6dSgd#	Define the module and object file sets.
391c42de6dSgd#
401c42de6dSgdMODULE		= gptwocfg
411c42de6dSgdOBJECTS		= $(GPTWOCFG_OBJS:%=$(OBJS_DIR)/%)
421c42de6dSgdROOTMODULE	= $(ROOT_PSM_MISC_DIR)/$(MODULE)
431c42de6dSgd
441c42de6dSgd#
451c42de6dSgd#	Include common rules.
461c42de6dSgd#
471c42de6dSgdinclude $(UTSBASE)/sun4u/Makefile.sun4u
481c42de6dSgd
491c42de6dSgd#
501c42de6dSgd#	Define targets
511c42de6dSgd#
521c42de6dSgdALL_TARGET	= $(BINARY)
531c42de6dSgdINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
541c42de6dSgd
551c42de6dSgdCFLAGS += $(CCVERBOSE)
561c42de6dSgd
571c42de6dSgd#
581c42de6dSgd# Turn on doubleword alignment for 64 bit registers
591c42de6dSgd#
601c42de6dSgdCFLAGS += -dalign
611c42de6dSgd
621c42de6dSgd#
631c42de6dSgd#	Default build targets.
641c42de6dSgd#
651c42de6dSgd.KEEP_STATE:
661c42de6dSgd
671c42de6dSgddef:		$(DEF_DEPS)
681c42de6dSgd
691c42de6dSgdall:		$(ALL_DEPS)
701c42de6dSgd
711c42de6dSgdclean:		$(CLEAN_DEPS)
721c42de6dSgd
731c42de6dSgdclobber:	$(CLOBBER_DEPS)
741c42de6dSgd
751c42de6dSgdinstall:	$(INSTALL_DEPS)
761c42de6dSgd
771c42de6dSgd#
781c42de6dSgd#	Include common targets.
791c42de6dSgd#
801c42de6dSgdinclude $(UTSBASE)/sun4u/Makefile.targ
81