usr/src/uts/intel/warlock/Makefile
author mrj
Wed, 24 Jan 2007 13:49:46 -0800
changeset 3477 59e70fa3d800
parent 3333 88329a0ff1be
child 4361 d1c73aac0a37
permissions -rw-r--r--
6516103 dboot putback neglected to update warlock makefiles
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3138
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
     1
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
     2
# CDDL HEADER START
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
     3
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
     7
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    10
# See the License for the specific language governing permissions
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    11
# and limitations under the License.
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    12
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    18
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    19
# CDDL HEADER END
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    20
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    21
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    22
#
3477
59e70fa3d800 6516103 dboot putback neglected to update warlock makefiles
mrj
parents: 3333
diff changeset
    23
# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
3138
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    24
# Use is subject to license terms.
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    25
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    26
# ident	"%Z%%M%	%I%	%E% SMI"
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    27
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    28
# uts/intel/warlock/Makefile
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    29
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    30
#	Path to the base of the uts directory tree (usually /usr/src/uts).
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    31
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    32
UTSBASE = ../..
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    33
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    34
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    35
#	Define the module and object file sets.
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    36
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    37
MODULE		= warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    38
ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    39
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    40
.KEEP_STATE:
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    41
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    42
CFLAGS += -I../../common/sys -I../../sun/sys/scsi -D_KERNEL
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    43
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    44
#	Defines for local commands.
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    45
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    46
WARLOCK		= warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    47
WLCC		= wlcc
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    48
TOUCH		= touch
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    49
SCCS		= sccs
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    50
TEST		= test
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    51
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    52
include $(UTSBASE)/intel/Makefile.intel
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    53
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    54
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    55
#	lock_lint rules
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    56
#
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    57
all:	warlock warlock.1394 warlock.audio warlock.ecpp warlock.scsi \
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    58
	warlock.usb warlock.ib warlock.sata
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    59
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    60
warlock: $(MODULE).ok 
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    61
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    62
warlock.ok: ddi_dki_impl.ll scsi.ll
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    63
	$(TOUCH) $@
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    64
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    65
%.ll: $(UTSBASE)/common/io/warlock/%.c
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    66
	$(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $<
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    67
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    68
warlock.usb:
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    69
	@cd ../usba; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    70
	@cd ../ohci; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    71
	@cd ../uhci; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    72
	@cd ../ehci; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    73
	@cd ../hid; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    74
	@cd ../scsa2usb; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    75
	@cd ../usb_ac; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    76
	@cd ../usb_as; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    77
	@cd ../usb_ah; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    78
	@cd ../ugen; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    79
	@cd ../usb_mid; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    80
	@cd ../usbprn; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    81
	@cd ../usbser; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    82
	@cd $(CLOSED)/uts/intel/usbser_edge; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    83
	@cd ../usbsksp; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    84
	@cd ../usbsprl; make clean; $(MAKE) warlock
3227
9602d8b74112 6428204 CDC ACM class driver and devices with modem function need to be supported
yq193411
parents: 3138
diff changeset
    85
	@cd ../usbsacm; make clean; $(MAKE) warlock
3138
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    86
	@cd ../usbskel; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    87
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    88
warlock.scsi:
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    89
	@cd $(CLOSED)/uts/intel/glm; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    90
	@cd $(CLOSED)/uts/intel/mpt; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    91
	@cd ../sd; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    92
	@cd ../ses; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    93
	@cd ../st; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    94
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    95
warlock.1394:
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    96
	@cd ../s1394; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    97
	@cd ../hci1394; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    98
	@cd ../scsa1394; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
    99
	@cd ../av1394; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   100
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   101
warlock.ecpp:
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   102
	@cd ../ecpp; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   103
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   104
warlock.audio:
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   105
	@cd ../audiosup; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   106
	@cd ../mixer; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   107
	@cd $(CLOSED)/uts/intel/amsrc1; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   108
	@cd ../amsrc2; make clean; $(MAKE) warlock
3477
59e70fa3d800 6516103 dboot putback neglected to update warlock makefiles
mrj
parents: 3333
diff changeset
   109
	@cd ../../intel/audio810; make clean; $(MAKE) warlock
59e70fa3d800 6516103 dboot putback neglected to update warlock makefiles
mrj
parents: 3333
diff changeset
   110
	@cd ../../intel/audiohd; make clean; $(MAKE) warlock
59e70fa3d800 6516103 dboot putback neglected to update warlock makefiles
mrj
parents: 3333
diff changeset
   111
	@cd ../../intel/audioixp; make clean; $(MAKE) warlock
59e70fa3d800 6516103 dboot putback neglected to update warlock makefiles
mrj
parents: 3333
diff changeset
   112
	@cd $(CLOSED)/uts/intel/audiovia823x; make clean; $(MAKE) warlock
59e70fa3d800 6516103 dboot putback neglected to update warlock makefiles
mrj
parents: 3333
diff changeset
   113
	@cd $(CLOSED)/uts/intel/audioens; make clean; $(MAKE) warlock
3138
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   114
	@cd ../usb_ac; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   115
	@cd ../usb_as; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   116
	@cd ../usb_ah; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   117
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   118
warlock.ib:
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   119
	@cd ../ibmf; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   120
	@cd $(CLOSED)/uts/intel/tavor; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   121
	@cd $(CLOSED)/uts/intel/daplt; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   122
	@cd ../ib; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   123
	@cd ../ibtl; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   124
	@cd ../ibcm; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   125
	@cd ../ibd; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   126
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   127
warlock.sata:
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   128
	@cd ../sata; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   129
	@cd ../si3124; make clean; $(MAKE) warlock
7bbdcbfa4cd5 6491439 warlock support on x86
frits
parents:
diff changeset
   130
	@cd $(CLOSED)/uts/intel/marvell88sx; make clean; $(MAKE) warlock
3333
88329a0ff1be PSARC/2006/384 SATA AHCI HBA Driver
yt160523
parents: 3227
diff changeset
   131
	@cd ../ahci; make clean; $(MAKE) warlock