xref: /illumos-gate/usr/src/uts/sparc/Makefile (revision 3aa6c130)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
588543b5cSkrishna# Common Development and Distribution License (the "License").
688543b5cSkrishna# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
217c478bd9Sstevel@tonic-gate#
224bff34e3Sthurlow# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
237c478bd9Sstevel@tonic-gate# Use is subject to license terms.
247c478bd9Sstevel@tonic-gate#
257c478bd9Sstevel@tonic-gate# uts/sparc/Makefile
267c478bd9Sstevel@tonic-gate#
277c478bd9Sstevel@tonic-gate#	This makefile drives the production of all implementation architecture
287c478bd9Sstevel@tonic-gate#	independent modules for the SPARC processor. (For those unsure, this
297c478bd9Sstevel@tonic-gate#	means the module will run on all SPARC processor based machines
307c478bd9Sstevel@tonic-gate#	running SunOS.)
317c478bd9Sstevel@tonic-gate
327c478bd9Sstevel@tonic-gateUTSBASE = ..
337c478bd9Sstevel@tonic-gate
347c478bd9Sstevel@tonic-gateinclude Makefile.sparc
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gateDRV_KMODS	+= dprov
37fb9f9b97Skupfer
387c478bd9Sstevel@tonic-gatedef		:=	TARGET= def
397c478bd9Sstevel@tonic-gateall		:=	TARGET= all
407c478bd9Sstevel@tonic-gateinstall		:=	TARGET= install
417c478bd9Sstevel@tonic-gateclean		:=	TARGET= clean
427c478bd9Sstevel@tonic-gateclobber		:=	TARGET= clobber
43fb9f9b97Skupfermodlist		:=	TARGET= modlist
44fb9f9b97Skupfermodlist		:=	NO_STATE= -K $$MODSTATE$$$$
457c478bd9Sstevel@tonic-gatecheck		:=	TARGET= check
467c478bd9Sstevel@tonic-gateinstall_h	:=	TARGET= install_h
477c478bd9Sstevel@tonic-gate
487c478bd9Sstevel@tonic-gate.KEEP_STATE:
497c478bd9Sstevel@tonic-gate
500aaef2f5SRichard Lowe.PARALLEL:	$(PARALLEL_KMODS) $(XMODS) config
517c478bd9Sstevel@tonic-gate
52c0e7977aSJosef 'Jeff' Sipekdef all install clean clobber modlist: $(KMODS) $(XMODS) config
537c478bd9Sstevel@tonic-gate
547c478bd9Sstevel@tonic-gate$(KMODS) config:	FRC
55fb9f9b97Skupfer	@cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
56fb9f9b97Skupfer
57fb9f9b97Skupfer$(XMODS):	FRC
58*3aa6c130SRichard Lowe	cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
59fb9f9b97Skupfer
607c478bd9Sstevel@tonic-gateinstall_h check:	FRC
612b616c6cSwesolows	@cd asm; pwd; $(MAKE) $(TARGET)
627c478bd9Sstevel@tonic-gate	@cd sys; pwd; $(MAKE) $(TARGET)
637c478bd9Sstevel@tonic-gate	@cd v7/sys; pwd; $(MAKE) $(TARGET)
647c478bd9Sstevel@tonic-gate	@cd v9/sys; pwd; $(MAKE) $(TARGET)
657c478bd9Sstevel@tonic-gate
667c478bd9Sstevel@tonic-gateinclude ../Makefile.targ
67