Makefile revision c0e7977a434048a8bc7386ea0e8befaa77a646cf
342N/A#
342N/A# CDDL HEADER START
342N/A#
342N/A# The contents of this file are subject to the terms of the
342N/A# Common Development and Distribution License (the "License").
342N/A# You may not use this file except in compliance with the License.
342N/A#
342N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
342N/A# or http://www.opensolaris.org/os/licensing.
342N/A# See the License for the specific language governing permissions
342N/A# and limitations under the License.
342N/A#
342N/A# When distributing Covered Code, include this CDDL HEADER in each
342N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
342N/A# If applicable, add the following below this CDDL HEADER, with the
342N/A# fields enclosed by brackets "[]" replaced with your own identifying
342N/A# information: Portions Copyright [yyyy] [name of copyright owner]
342N/A#
342N/A# CDDL HEADER END
342N/A#
342N/A# Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved.
342N/A#
342N/A# sparc architecture dependent
342N/A#
342N/A# uts/sparc/warlock/Makefile
342N/A#
342N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
342N/A#
342N/AUTSBASE = ../..
342N/A
342N/A#
342N/A# Define the module and object file sets.
342N/A#
342N/AMODULE = warlock
342N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
342N/A
342N/A.KEEP_STATE:
342N/A
342N/ACFLAGS += -I../../common/sys -I../../sun/sys/scsi -D_KERNEL
342N/A#
342N/A# Defines for local commands.
342N/A#
342N/AWARLOCK = warlock
342N/AWLCC = wlcc
342N/ATOUCH = touch
342N/ATEST = test
342N/A
342N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
342N/A
342N/A#
342N/A# lock_lint rules
342N/A#
342N/Aall: warlock warlock.1394 warlock.ecpp warlock.scsi \
342N/A warlock.usb warlock.ib warlock.sata warlock.wc
342N/A
342N/Awarlock: $(MODULE).ok
342N/A
342N/Awarlock.ok: ddi_dki_impl.ll scsi.ll
342N/A $(TOUCH) $@
342N/A
342N/A%.ll: $(UTSBASE)/common/io/warlock/%.c
342N/A $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $<
342N/A
342N/Awarlock.usb:
342N/A @cd ../usba; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../ohci; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../uhci; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../ehci; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../hid; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../scsa2usb; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../usb_ac; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../usb_as; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../usb_ah; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../ugen; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../usb_mid; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../usb_ia; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../usbprn; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../usbser; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../usbsksp; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../usbsprl; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../usbsacm; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../usbecm; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../usbskel; $(MAKE) clean; $(MAKE) warlock
342N/A
342N/Awarlock.scsi:
342N/A @cd ../dad; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../dada; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../esp; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../fas; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../sd; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../ses; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../st; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../ssd; $(MAKE) clean; $(MAKE) warlock
342N/A
342N/Awarlock.1394:
342N/A @cd ../s1394; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../hci1394; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../scsa1394; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../av1394; $(MAKE) clean; $(MAKE) warlock
342N/A
342N/Awarlock.ecpp:
342N/A @cd ../ecpp; $(MAKE) clean; $(MAKE) warlock
342N/A
342N/Awarlock.ib:
342N/A @cd ../ibmf; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../ib; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../ibtl; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../ibcm; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../ibd; $(MAKE) clean; $(MAKE) warlock
342N/A
342N/Awarlock.sata:
342N/A @cd ../sata; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../si3124; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../ahci; $(MAKE) clean; $(MAKE) warlock
342N/A @cd ../nv_sata; $(MAKE) clean; $(MAKE) warlock
342N/A
342N/Awarlock.wc:
342N/A @cd ../wc; $(MAKE) clean; $(MAKE) warlock
342N/A