Makefile revision 2fcbc377041d659446ded306a92901b4b0753b68
5056N/A#
5056N/A# CDDL HEADER START
5056N/A#
5056N/A# The contents of this file are subject to the terms of the
5056N/A# Common Development and Distribution License (the "License").
5056N/A# You may not use this file except in compliance with the License.
5056N/A#
5056N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5056N/A# or http://www.opensolaris.org/os/licensing.
5056N/A# See the License for the specific language governing permissions
5056N/A# and limitations under the License.
5056N/A#
5056N/A# When distributing Covered Code, include this CDDL HEADER in each
5056N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5056N/A# If applicable, add the following below this CDDL HEADER, with the
5056N/A# fields enclosed by brackets "[]" replaced with your own identifying
5056N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5056N/A#
5056N/A# CDDL HEADER END
5056N/A#
5056N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5056N/A# Use is subject to license terms.
5056N/A#
5056N/A# ident "%Z%%M% %I% %E% SMI"
5056N/A#
5056N/A# sparc architecture dependent
5056N/A#
5056N/A# uts/sparc/warlock/Makefile
5056N/A#
5056N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
5056N/A#
5056N/AUTSBASE = ../..
5056N/A
5056N/A#
5056N/A# Define the module and object file sets.
5056N/A#
5056N/AMODULE = warlock
5056N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
5056N/A
5056N/A.KEEP_STATE:
5056N/A
5056N/ACFLAGS += -I../../common/sys -I../../sun/sys/scsi -D_KERNEL
5056N/A#
5056N/A# Defines for local commands.
5176N/A#
5176N/AWARLOCK = warlock
5056N/AWLCC = wlcc
5056N/ATOUCH = touch
5056N/ASCCS = sccs
5056N/ATEST = test
5056N/A
5056N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
5056N/A
5056N/A#
5056N/A# lock_lint rules
5056N/A#
5056N/Aall: warlock warlock.1394 warlock.audio warlock.ecpp warlock.scsi \
5056N/A warlock.smartcard warlock.usb warlock.ib warlock.sata
5056N/A
5056N/Awarlock: $(MODULE).ok
5056N/A
5056N/Awarlock.ok: ddi_dki_impl.ll scsi.ll
5056N/A $(TOUCH) $@
5056N/A
5056N/A%.ll: $(UTSBASE)/common/io/warlock/%.c
5056N/A $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $<
5056N/A
5056N/Awarlock.usb:
5056N/A @cd ../usba; make clean; $(MAKE) warlock
5056N/A @cd ../ohci; make clean; $(MAKE) warlock
5056N/A @cd ../uhci; make clean; $(MAKE) warlock
5056N/A @cd ../ehci; make clean; $(MAKE) warlock
5784N/A @cd ../hid; make clean; $(MAKE) warlock
5784N/A @cd ../scsa2usb; make clean; $(MAKE) warlock
5202N/A @cd ../usb_ac; make clean; $(MAKE) warlock
5056N/A @cd ../usb_as; make clean; $(MAKE) warlock
5056N/A @cd ../usb_ah; make clean; $(MAKE) warlock
5056N/A @cd ../ugen; make clean; $(MAKE) warlock
5056N/A @cd ../usb_mid; make clean; $(MAKE) warlock
5056N/A @cd ../usbprn; make clean; $(MAKE) warlock
5056N/A @cd ../usbser; make clean; $(MAKE) warlock
5056N/A @cd $(CLOSED)/uts/sparc/usbser_edge; make clean; $(MAKE) warlock
5056N/A @cd ../usbsksp; make clean; $(MAKE) warlock
5056N/A @cd ../usbsprl; make clean; $(MAKE) warlock
5056N/A @cd ../usbsacm; make clean; $(MAKE) warlock
5056N/A @cd ../usbskel; make clean; $(MAKE) warlock
5056N/A
5056N/Awarlock.scsi:
5056N/A @cd $(CLOSED)/uts/sparc/dad; make clean; $(MAKE) warlock
5056N/A @cd ../dada; make clean; $(MAKE) warlock
5056N/A @cd ../esp; make clean; $(MAKE) warlock
5056N/A @cd ../fas; make clean; $(MAKE) warlock
5056N/A @cd $(CLOSED)/uts/sparc/glm; make clean; $(MAKE) warlock
5056N/A @cd $(CLOSED)/uts/sparc/mpt; make clean; $(MAKE) warlock
5056N/A @cd $(CLOSED)/uts/sparc/ifp; make clean; $(MAKE) warlock
5056N/A @cd $(CLOSED)/uts/sparc/isp; make clean; $(MAKE) warlock
5056N/A @cd ../sd; make clean; $(MAKE) warlock
5056N/A @cd ../ses; make clean; $(MAKE) warlock
5056N/A @cd ../st; make clean; $(MAKE) warlock
5056N/A @cd ../ssd; make clean; $(MAKE) warlock
5056N/A @cd $(CLOSED)/uts/sparc/uata; make clean; $(MAKE) warlock
5056N/A
5056N/Awarlock.1394:
5056N/A @cd ../s1394; make clean; $(MAKE) warlock
5056N/A @cd ../hci1394; make clean; $(MAKE) warlock
5056N/A @cd ../scsa1394; make clean; $(MAKE) warlock
5056N/A @cd ../av1394; make clean; $(MAKE) warlock
5056N/A
5056N/Awarlock.ecpp:
5056N/A @cd ../ecpp; make clean; $(MAKE) warlock
5056N/A
5056N/Awarlock.audio:
5056N/A @cd ../audiosup; make clean; $(MAKE) warlock
5056N/A @cd ../mixer; make clean; $(MAKE) warlock
5056N/A @cd $(CLOSED)/uts/sparc/amsrc1; make clean; $(MAKE) warlock
5056N/A @cd ../amsrc2; make clean; $(MAKE) warlock
5056N/A @cd ../audio1575; make clean; $(MAKE) warlock
5056N/A @cd ../audio810; make clean; $(MAKE) warlock
5056N/A @cd ../audiohd; make clean; $(MAKE) warlock
5056N/A @cd ../audioixp; make clean; $(MAKE) warlock
5056N/A @cd $(CLOSED)/uts/sparc/audiovia823x; make clean; $(MAKE) warlock
5056N/A @cd ../audiocs; make clean; $(MAKE) warlock
5056N/A @cd $(CLOSED)/uts/sparc/audioens; make clean; $(MAKE) warlock
5056N/A @cd ../audiots; make clean; $(MAKE) warlock
5056N/A @cd ../usb_ac; make clean; $(MAKE) warlock
5056N/A @cd ../usb_as; make clean; $(MAKE) warlock
5056N/A @cd ../usb_ah; make clean; $(MAKE) warlock
5056N/A
5056N/Awarlock.smartcard:
5056N/A @cd $(CLOSED)/uts/sun4u/scmi2c; make clean; $(MAKE) warlock
5056N/A
5056N/Awarlock.ib:
5056N/A @cd ../ibmf; make clean; $(MAKE) warlock
5056N/A @cd $(CLOSED)/uts/sparc/tavor; make clean; $(MAKE) warlock
5056N/A @cd $(CLOSED)/uts/sparc/daplt; make clean; $(MAKE) warlock
5056N/A @cd ../ib; make clean; $(MAKE) warlock
5056N/A @cd ../ibtl; make clean; $(MAKE) warlock
5056N/A @cd ../ibcm; make clean; $(MAKE) warlock
5056N/A @cd ../ibd; make clean; $(MAKE) warlock
5056N/A
5056N/Awarlock.sata:
5056N/A @cd ../sata; make clean; $(MAKE) warlock
5056N/A @cd ../si3124; make clean; $(MAKE) warlock
5056N/A @cd $(CLOSED)/uts/sparc/marvell88sx ; make clean; $(MAKE) warlock
5056N/A @cd ../ahci; make clean; $(MAKE) warlock
5056N/A