Makefile revision 38603a2034ae521f26661b0a6239028a83026614
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering#
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# CDDL HEADER START
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering#
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# The contents of this file are subject to the terms of the
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# Common Development and Distribution License (the "License").
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# You may not use this file except in compliance with the License.
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering#
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# or http://www.opensolaris.org/os/licensing.
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# See the License for the specific language governing permissions
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# and limitations under the License.
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering#
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# When distributing Covered Code, include this CDDL HEADER in each
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# If applicable, add the following below this CDDL HEADER, with the
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# fields enclosed by brackets "[]" replaced with your own identifying
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# information: Portions Copyright [yyyy] [name of copyright owner]
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering#
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# CDDL HEADER END
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering#
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
a0166609f782da91710dea9183d1bf138538db37Tom Gundersen# Use is subject to license terms.
71d35b6b5563817dfbe757ab9e3b9f018b2db491Thomas Hindoe Paaboel Andersen#
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# sparc architecture dependent
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering#
7e8e0422aeb16f2a09a40546c61df753d10029b6Lennart Poettering# uts/sparc/warlock/Makefile
71d35b6b5563817dfbe757ab9e3b9f018b2db491Thomas Hindoe Paaboel Andersen#
71d35b6b5563817dfbe757ab9e3b9f018b2db491Thomas Hindoe Paaboel Andersen# Path to the base of the uts directory tree (usually /usr/src/uts).
7e8e0422aeb16f2a09a40546c61df753d10029b6Lennart Poettering#
7e8e0422aeb16f2a09a40546c61df753d10029b6Lennart PoetteringUTSBASE = ../..
7e8e0422aeb16f2a09a40546c61df753d10029b6Lennart Poettering
7e8e0422aeb16f2a09a40546c61df753d10029b6Lennart Poettering#
51323288fc628a5cac50914df915545d685b793eLennart Poettering# Define the module and object file sets.
71d35b6b5563817dfbe757ab9e3b9f018b2db491Thomas Hindoe Paaboel Andersen#
71d35b6b5563817dfbe757ab9e3b9f018b2db491Thomas Hindoe Paaboel AndersenMODULE = warlock
71d35b6b5563817dfbe757ab9e3b9f018b2db491Thomas Hindoe Paaboel AndersenROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart Poettering.KEEP_STATE:
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart Poettering
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart PoetteringCFLAGS += -I../../common/sys -I../../sun/sys/scsi -D_KERNEL
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart Poettering#
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart Poettering# Defines for local commands.
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart Poettering#
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart PoetteringWARLOCK = warlock
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart PoetteringWLCC = wlcc
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringTOUCH = touch
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart PoetteringTEST = test
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringinclude $(UTSBASE)/sparc/Makefile.sparc
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering#
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering# lock_lint rules
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering#
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringall: warlock warlock.1394 warlock.ecpp warlock.scsi \
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering warlock.usb warlock.ib warlock.sata warlock.wc
a0166609f782da91710dea9183d1bf138538db37Tom Gundersen
c73ce96b569e2f10dff64b7dc0bd271972674c2aLennart Poetteringwarlock: $(MODULE).ok
c73ce96b569e2f10dff64b7dc0bd271972674c2aLennart Poettering
c73ce96b569e2f10dff64b7dc0bd271972674c2aLennart Poetteringwarlock.ok: ddi_dki_impl.ll scsi.ll
e1c959948c0e31d6997bcdfbabfbd077784b2baeLennart Poettering $(TOUCH) $@
c73ce96b569e2f10dff64b7dc0bd271972674c2aLennart Poettering
e1c959948c0e31d6997bcdfbabfbd077784b2baeLennart Poettering%.ll: $(UTSBASE)/common/io/warlock/%.c
e1c959948c0e31d6997bcdfbabfbd077784b2baeLennart Poettering $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $<
e1c959948c0e31d6997bcdfbabfbd077784b2baeLennart Poettering
e1c959948c0e31d6997bcdfbabfbd077784b2baeLennart Poetteringwarlock.usb:
d74fb368b18f0fbd9a4fe6f15691bbea7f3c4a01Tom Gundersen @cd ../usba; $(MAKE) clean; $(MAKE) warlock
d74fb368b18f0fbd9a4fe6f15691bbea7f3c4a01Tom Gundersen @cd ../ohci; $(MAKE) clean; $(MAKE) warlock
d74fb368b18f0fbd9a4fe6f15691bbea7f3c4a01Tom Gundersen @cd ../uhci; $(MAKE) clean; $(MAKE) warlock
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering @cd ../ehci; $(MAKE) clean; $(MAKE) warlock
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering @cd ../hid; $(MAKE) clean; $(MAKE) warlock
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering @cd ../scsa2usb; $(MAKE) clean; $(MAKE) warlock
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering @cd ../usb_ac; $(MAKE) clean; $(MAKE) warlock
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart Poettering @cd ../usb_as; $(MAKE) clean; $(MAKE) warlock
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering @cd ../usb_ah; $(MAKE) clean; $(MAKE) warlock
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering @cd ../ugen; $(MAKE) clean; $(MAKE) warlock
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering @cd ../usb_mid; $(MAKE) clean; $(MAKE) warlock
519ef04651b07a547f010d6462603669d7fde4e5Lennart Poettering @cd ../usb_ia; $(MAKE) clean; $(MAKE) warlock
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering @cd ../usbprn; $(MAKE) clean; $(MAKE) warlock
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering @cd ../usbser; $(MAKE) clean; $(MAKE) warlock
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering @cd ../usbsksp; $(MAKE) clean; $(MAKE) warlock
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering @cd ../usbsprl; $(MAKE) clean; $(MAKE) warlock
d75acfb059ece4512278b8820a9103664996f1e5Lennart Poettering @cd ../usbsacm; $(MAKE) clean; $(MAKE) warlock
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart Poettering @cd ../usbskel; $(MAKE) clean; $(MAKE) warlock
dc61b7e45d89a69f0469ab7b3289cdde7fcc55abTorstein Husebø$(CLOSED_BUILD) @cd $(CLOSED)/uts/sparc/usbser_edge; \
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart Poettering $(MAKE) clean; $(MAKE) warlock
623a4c97b9175f95c4b1c6fc34e36c56f1e4ddbfLennart Poettering
1716f6dcf54d4c181c2e2558e3d5414f54c8d9caLennart Poetteringwarlock.scsi:
623a4c97b9175f95c4b1c6fc34e36c56f1e4ddbfLennart Poettering @cd ../dad; $(MAKE) clean; $(MAKE) warlock
0dd25fb9f005d8ab7ac4bc10a609d00569f8c56aLennart Poettering @cd ../dada; $(MAKE) clean; $(MAKE) warlock
a407657425a3e47fd2b559cd3bc800f791303f63Lennart Poettering @cd ../esp; $(MAKE) clean; $(MAKE) warlock
9c491563837983385bf9fa244590e76e142f4fa3Daniel Mack @cd ../fas; $(MAKE) clean; $(MAKE) warlock
9c491563837983385bf9fa244590e76e142f4fa3Daniel Mack @cd ../sd; $(MAKE) clean; $(MAKE) warlock
9c491563837983385bf9fa244590e76e142f4fa3Daniel Mack @cd ../ses; $(MAKE) clean; $(MAKE) warlock
a8812dd7f161a3e459c1730ac92ff2bbc9986ff1Lennart Poettering @cd ../st; $(MAKE) clean; $(MAKE) warlock
a8812dd7f161a3e459c1730ac92ff2bbc9986ff1Lennart Poettering @cd ../ssd; $(MAKE) clean; $(MAKE) warlock
a8812dd7f161a3e459c1730ac92ff2bbc9986ff1Lennart Poettering @cd ../blk2scsa; $(MAKE) clean; $(MAKE) warlock
a8812dd7f161a3e459c1730ac92ff2bbc9986ff1Lennart Poettering$(CLOSED_BUILD) @cd $(CLOSED)/uts/sparc/uata; $(MAKE) clean; $(MAKE) warlock
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering$(CLOSED_BUILD) @cd $(CLOSED)/uts/sparc/glm; $(MAKE) clean; $(MAKE) warlock
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering$(CLOSED_BUILD) @cd $(CLOSED)/uts/sparc/mpt; $(MAKE) clean; $(MAKE) warlock
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering$(CLOSED_BUILD) @cd $(CLOSED)/uts/sparc/ifp; $(MAKE) clean; $(MAKE) warlock
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering$(CLOSED_BUILD) @cd $(CLOSED)/uts/sparc/isp; $(MAKE) clean; $(MAKE) warlock
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringwarlock.1394:
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering @cd ../s1394; $(MAKE) clean; $(MAKE) warlock
faa133f3aa7a18f26563dc5d6b95898cb315c37aLennart Poettering @cd ../hci1394; $(MAKE) clean; $(MAKE) warlock
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering @cd ../scsa1394; $(MAKE) clean; $(MAKE) warlock
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering @cd ../av1394; $(MAKE) clean; $(MAKE) warlock
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poetteringwarlock.ecpp:
74b2466e14a1961bf3ac0e8a60cfaceec705bd59Lennart Poettering @cd ../ecpp; $(MAKE) clean; $(MAKE) warlock
3cb10d3a0b1b6a7c44f307f2abb5215104e16941Lennart Poettering
3cb10d3a0b1b6a7c44f307f2abb5215104e16941Lennart Poetteringwarlock.ib:
3cb10d3a0b1b6a7c44f307f2abb5215104e16941Lennart Poettering @cd ../ibmf; $(MAKE) clean; $(MAKE) warlock
8b757a38611006a751c90933d1810cccaa47e1afDaniel Mack @cd ../ib; $(MAKE) clean; $(MAKE) warlock
ad867662936a4c7ab2c7116d804c272338801231Lennart Poettering @cd ../ibtl; $(MAKE) clean; $(MAKE) warlock
8b757a38611006a751c90933d1810cccaa47e1afDaniel Mack @cd ../ibcm; $(MAKE) clean; $(MAKE) warlock
8b757a38611006a751c90933d1810cccaa47e1afDaniel Mack @cd ../ibd; $(MAKE) clean; $(MAKE) warlock
8b757a38611006a751c90933d1810cccaa47e1afDaniel Mack$(CLOSED_BUILD) @cd $(CLOSED)/uts/sparc/tavor; $(MAKE) clean; $(MAKE) warlock
8b757a38611006a751c90933d1810cccaa47e1afDaniel Mack$(CLOSED_BUILD) @cd $(CLOSED)/uts/sparc/hermon; $(MAKE) clean; $(MAKE) warlock
f3abbe25403444688e1a1a23b9dbcc9aeefc0507Lennart Poettering$(CLOSED_BUILD) @cd $(CLOSED)/uts/sparc/daplt; $(MAKE) clean; $(MAKE) warlock
f3abbe25403444688e1a1a23b9dbcc9aeefc0507Lennart Poettering
f3abbe25403444688e1a1a23b9dbcc9aeefc0507Lennart Poetteringwarlock.sata:
f3abbe25403444688e1a1a23b9dbcc9aeefc0507Lennart Poettering @cd ../sata; $(MAKE) clean; $(MAKE) warlock
f3abbe25403444688e1a1a23b9dbcc9aeefc0507Lennart Poettering @cd ../si3124; $(MAKE) clean; $(MAKE) warlock
f3abbe25403444688e1a1a23b9dbcc9aeefc0507Lennart Poettering @cd ../ahci; $(MAKE) clean; $(MAKE) warlock
f3abbe25403444688e1a1a23b9dbcc9aeefc0507Lennart Poettering @cd ../nv_sata; $(MAKE) clean; $(MAKE) warlock
f3abbe25403444688e1a1a23b9dbcc9aeefc0507Lennart Poettering$(CLOSED_BUILD) @cd $(CLOSED)/uts/sparc/marvell88sx; \
f3abbe25403444688e1a1a23b9dbcc9aeefc0507Lennart Poettering $(MAKE) clean; $(MAKE) warlock
f3abbe25403444688e1a1a23b9dbcc9aeefc0507Lennart Poettering
f3abbe25403444688e1a1a23b9dbcc9aeefc0507Lennart Poetteringwarlock.sdcard:
8b757a38611006a751c90933d1810cccaa47e1afDaniel Mack @cd ../sda; $(MAKE) clean; $(MAKE) warlock
8b757a38611006a751c90933d1810cccaa47e1afDaniel Mack @cd ../sdhost; $(MAKE) clean; $(MAKE) warlock
8b757a38611006a751c90933d1810cccaa47e1afDaniel Mack @cd ../wbsd; $(MAKE) clean; $(MAKE) warlock
8b757a38611006a751c90933d1810cccaa47e1afDaniel Mack
8b757a38611006a751c90933d1810cccaa47e1afDaniel Mackwarlock.wc:
3cb10d3a0b1b6a7c44f307f2abb5215104e16941Lennart Poettering @cd ../wc; $(MAKE) clean; $(MAKE) warlock
3cb10d3a0b1b6a7c44f307f2abb5215104e16941Lennart Poettering