8354 sync regcomp(3C) with upstream (fix make catalog)
[unleashed/tickless.git] / usr / src / uts / intel / warlock / Makefile
blobb10949920427fd03ca11622c216b1075635916f3
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
25 # uts/intel/warlock/Makefile
27 # Path to the base of the uts directory tree (usually /usr/src/uts).
29 UTSBASE = ../..
32 # Define the module and object file sets.
34 MODULE = warlock
35 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
37 .KEEP_STATE:
39 CFLAGS += -I../../common/sys -I../../sun/sys/scsi -D_KERNEL
41 # Defines for local commands.
43 WARLOCK = warlock
44 WLCC = wlcc
45 TOUCH = touch
46 TEST = test
48 include $(UTSBASE)/intel/Makefile.intel
51 # lock_lint rules
53 all: warlock warlock.1394 warlock.ecpp warlock.scsi \
54 warlock.usb warlock.ib warlock.sata warlock.wc \
55 warlock.audiohd
57 warlock: $(MODULE).ok
59 warlock.ok: ddi_dki_impl.ll scsi.ll
60 $(TOUCH) $@
62 %.ll: $(UTSBASE)/common/io/warlock/%.c
63 $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $<
65 warlock.usb:
66 @cd ../usba; $(MAKE) clean; $(MAKE) warlock
67 @cd ../ohci; $(MAKE) clean; $(MAKE) warlock
68 @cd ../uhci; $(MAKE) clean; $(MAKE) warlock
69 @cd ../ehci; $(MAKE) clean; $(MAKE) warlock
70 @cd ../hid; $(MAKE) clean; $(MAKE) warlock
71 @cd ../scsa2usb; $(MAKE) clean; $(MAKE) warlock
72 @cd ../usb_ac; $(MAKE) clean; $(MAKE) warlock
73 @cd ../usb_as; $(MAKE) clean; $(MAKE) warlock
74 @cd ../usb_ah; $(MAKE) clean; $(MAKE) warlock
75 @cd ../ugen; $(MAKE) clean; $(MAKE) warlock
76 @cd ../usb_mid; $(MAKE) clean; $(MAKE) warlock
77 @cd ../usbprn; $(MAKE) clean; $(MAKE) warlock
78 @cd ../usbser; $(MAKE) clean; $(MAKE) warlock
79 @cd ../usbsksp; $(MAKE) clean; $(MAKE) warlock
80 @cd ../usbsprl; $(MAKE) clean; $(MAKE) warlock
81 @cd ../usbsacm; $(MAKE) clean; $(MAKE) warlock
82 @cd ../usbecm; $(MAKE) clean; $(MAKE) warlock
83 @cd ../usbskel; $(MAKE) clean; $(MAKE) warlock
85 warlock.scsi:
86 @cd ../sd; $(MAKE) clean; $(MAKE) warlock
87 @cd ../ses; $(MAKE) clean; $(MAKE) warlock
88 @cd ../st; $(MAKE) clean; $(MAKE) warlock
90 warlock.1394:
91 @cd ../s1394; $(MAKE) clean; $(MAKE) warlock
92 @cd ../hci1394; $(MAKE) clean; $(MAKE) warlock
93 @cd ../scsa1394; $(MAKE) clean; $(MAKE) warlock
94 @cd ../av1394; $(MAKE) clean; $(MAKE) warlock
96 warlock.ecpp:
97 @cd ../ecpp; $(MAKE) clean; $(MAKE) warlock
99 warlock.ib:
100 @cd ../ibmf; $(MAKE) clean; $(MAKE) warlock
101 @cd ../ib; $(MAKE) clean; $(MAKE) warlock
102 @cd ../ibtl; $(MAKE) clean; $(MAKE) warlock
103 @cd ../ibcm; $(MAKE) clean; $(MAKE) warlock
104 @cd ../ibd; $(MAKE) clean; $(MAKE) warlock
106 warlock.sata:
107 @cd ../sata; $(MAKE) clean; $(MAKE) warlock
108 @cd ../si3124; $(MAKE) clean; $(MAKE) warlock
109 @cd ../nv_sata; $(MAKE) clean; $(MAKE) warlock
110 @cd ../ahci; $(MAKE) clean; $(MAKE) warlock
112 warlock.wc:
113 @cd ../wc; $(MAKE) clean; $(MAKE) warlock
115 warlock.audiohd:
116 @cd ../audiohd; $(MAKE) clean; $(MAKE) warlock