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