xref: /titanic_51/usr/src/uts/intel/warlock/Makefile (revision c0e7977a434048a8bc7386ea0e8befaa77a646cf)
14ebb14b2Sfrits#
24ebb14b2Sfrits# CDDL HEADER START
34ebb14b2Sfrits#
44ebb14b2Sfrits# The contents of this file are subject to the terms of the
54ebb14b2Sfrits# Common Development and Distribution License (the "License").
64ebb14b2Sfrits# You may not use this file except in compliance with the License.
74ebb14b2Sfrits#
84ebb14b2Sfrits# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
94ebb14b2Sfrits# or http://www.opensolaris.org/os/licensing.
104ebb14b2Sfrits# See the License for the specific language governing permissions
114ebb14b2Sfrits# and limitations under the License.
124ebb14b2Sfrits#
134ebb14b2Sfrits# When distributing Covered Code, include this CDDL HEADER in each
144ebb14b2Sfrits# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
154ebb14b2Sfrits# If applicable, add the following below this CDDL HEADER, with the
164ebb14b2Sfrits# fields enclosed by brackets "[]" replaced with your own identifying
174ebb14b2Sfrits# information: Portions Copyright [yyyy] [name of copyright owner]
184ebb14b2Sfrits#
194ebb14b2Sfrits# CDDL HEADER END
204ebb14b2Sfrits#
214ebb14b2Sfrits
224ebb14b2Sfrits#
233f7d54a6SGarrett D'Amore# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
244ebb14b2Sfrits#
254ebb14b2Sfrits# uts/intel/warlock/Makefile
264ebb14b2Sfrits#
274ebb14b2Sfrits#	Path to the base of the uts directory tree (usually /usr/src/uts).
284ebb14b2Sfrits#
294ebb14b2SfritsUTSBASE = ../..
304ebb14b2Sfrits
314ebb14b2Sfrits#
324ebb14b2Sfrits#	Define the module and object file sets.
334ebb14b2Sfrits#
344ebb14b2SfritsMODULE		= warlock
354ebb14b2SfritsROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
364ebb14b2Sfrits
374ebb14b2Sfrits.KEEP_STATE:
384ebb14b2Sfrits
394ebb14b2SfritsCFLAGS += -I../../common/sys -I../../sun/sys/scsi -D_KERNEL
404ebb14b2Sfrits#
414ebb14b2Sfrits#	Defines for local commands.
424ebb14b2Sfrits#
434ebb14b2SfritsWARLOCK		= warlock
444ebb14b2SfritsWLCC		= wlcc
454ebb14b2SfritsTOUCH		= touch
464ebb14b2SfritsTEST		= test
474ebb14b2Sfrits
484ebb14b2Sfritsinclude $(UTSBASE)/intel/Makefile.intel
494ebb14b2Sfrits
504ebb14b2Sfrits#
514ebb14b2Sfrits#	lock_lint rules
524ebb14b2Sfrits#
5388447a05SGarrett D'Amoreall:	warlock warlock.1394 warlock.ecpp warlock.scsi \
54*ea463888SZhao Edgar Liu - Sun Microsystems	warlock.usb warlock.ib warlock.sata warlock.wc \
55*ea463888SZhao Edgar Liu - Sun Microsystems	warlock.audiohd
564ebb14b2Sfrits
574ebb14b2Sfritswarlock: $(MODULE).ok
584ebb14b2Sfrits
594ebb14b2Sfritswarlock.ok: ddi_dki_impl.ll scsi.ll
604ebb14b2Sfrits	$(TOUCH) $@
614ebb14b2Sfrits
624ebb14b2Sfrits%.ll: $(UTSBASE)/common/io/warlock/%.c
634ebb14b2Sfrits	$(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $<
644ebb14b2Sfrits
654ebb14b2Sfritswarlock.usb:
66bf56214cSstevel	@cd ../usba; $(MAKE) clean; $(MAKE) warlock
67bf56214cSstevel	@cd ../ohci; $(MAKE) clean; $(MAKE) warlock
68bf56214cSstevel	@cd ../uhci; $(MAKE) clean; $(MAKE) warlock
69bf56214cSstevel	@cd ../ehci; $(MAKE) clean; $(MAKE) warlock
70bf56214cSstevel	@cd ../hid; $(MAKE) clean; $(MAKE) warlock
71bf56214cSstevel	@cd ../scsa2usb; $(MAKE) clean; $(MAKE) warlock
72bf56214cSstevel	@cd ../usb_ac; $(MAKE) clean; $(MAKE) warlock
73bf56214cSstevel	@cd ../usb_as; $(MAKE) clean; $(MAKE) warlock
74bf56214cSstevel	@cd ../usb_ah; $(MAKE) clean; $(MAKE) warlock
75bf56214cSstevel	@cd ../ugen; $(MAKE) clean; $(MAKE) warlock
76bf56214cSstevel	@cd ../usb_mid; $(MAKE) clean; $(MAKE) warlock
77bf56214cSstevel	@cd ../usbprn; $(MAKE) clean; $(MAKE) warlock
78bf56214cSstevel	@cd ../usbser; $(MAKE) clean; $(MAKE) warlock
79bf56214cSstevel	@cd ../usbsksp; $(MAKE) clean; $(MAKE) warlock
80bf56214cSstevel	@cd ../usbsprl; $(MAKE) clean; $(MAKE) warlock
81bf56214cSstevel	@cd ../usbsacm; $(MAKE) clean; $(MAKE) warlock
820035018cSRaymond Chen	@cd ../usbecm; $(MAKE) clean; $(MAKE) warlock
83bf56214cSstevel	@cd ../usbskel; $(MAKE) clean; $(MAKE) warlock
844ebb14b2Sfrits
854ebb14b2Sfritswarlock.scsi:
86bf56214cSstevel	@cd ../sd; $(MAKE) clean; $(MAKE) warlock
87bf56214cSstevel	@cd ../ses; $(MAKE) clean; $(MAKE) warlock
88bf56214cSstevel	@cd ../st; $(MAKE) clean; $(MAKE) warlock
894ebb14b2Sfrits
904ebb14b2Sfritswarlock.1394:
91bf56214cSstevel	@cd ../s1394; $(MAKE) clean; $(MAKE) warlock
92bf56214cSstevel	@cd ../hci1394; $(MAKE) clean; $(MAKE) warlock
93bf56214cSstevel	@cd ../scsa1394; $(MAKE) clean; $(MAKE) warlock
94bf56214cSstevel	@cd ../av1394; $(MAKE) clean; $(MAKE) warlock
954ebb14b2Sfrits
964ebb14b2Sfritswarlock.ecpp:
97bf56214cSstevel	@cd ../ecpp; $(MAKE) clean; $(MAKE) warlock
984ebb14b2Sfrits
994ebb14b2Sfritswarlock.ib:
100bf56214cSstevel	@cd ../ibmf; $(MAKE) clean; $(MAKE) warlock
101bf56214cSstevel	@cd ../ib; $(MAKE) clean; $(MAKE) warlock
102bf56214cSstevel	@cd ../ibtl; $(MAKE) clean; $(MAKE) warlock
103bf56214cSstevel	@cd ../ibcm; $(MAKE) clean; $(MAKE) warlock
104bf56214cSstevel	@cd ../ibd; $(MAKE) clean; $(MAKE) warlock
1054ebb14b2Sfrits
1064ebb14b2Sfritswarlock.sata:
107bf56214cSstevel	@cd ../sata; $(MAKE) clean; $(MAKE) warlock
108bf56214cSstevel	@cd ../si3124; $(MAKE) clean; $(MAKE) warlock
1098d483882Smlf	@cd ../nv_sata; $(MAKE) clean; $(MAKE) warlock
110bf56214cSstevel	@cd ../ahci; $(MAKE) clean; $(MAKE) warlock
1114bb7efa7SGarrett D'Amore
112aecfc01dSrui zang - Sun Microsystems - Beijing Chinawarlock.wc:
113aecfc01dSrui zang - Sun Microsystems - Beijing China	@cd ../wc; $(MAKE) clean; $(MAKE) warlock
114*ea463888SZhao Edgar Liu - Sun Microsystems
115*ea463888SZhao Edgar Liu - Sun Microsystemswarlock.audiohd:
116*ea463888SZhao Edgar Liu - Sun Microsystems	@cd ../audiohd; $(MAKE) clean; $(MAKE) warlock
117