Makefile revision 489b7c4ab76ae8df137fbfcc2214f7baa52883a0
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater# The contents of this file are subject to the terms of the
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# Common Development and Distribution License (the "License").
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# You may not use this file except in compliance with the License.
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0519188c8e1ae76978fc4e0f799620cd36eba07aAutomatic Updater# or http://www.opensolaris.org/os/licensing.
79b273c187a4aa1016a62181983dfdd0521681aeMark Andrews# See the License for the specific language governing permissions
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# and limitations under the License.
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# If applicable, add the following below this CDDL HEADER, with the
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Use is subject to license terms.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# This makefile drives the production of the usbprn kernel driver.
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# sparc architecture dependent
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Path to the base of the uts directory tree (usually /usr/src/uts).
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Define the module and object file sets.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterLINTS = $(USBPRN_OBJS:%.o=$(LINTS_DIR)/%.ln)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Include common rules.
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# lint pass one enforcement
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Define targets
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater# Include common targets.
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews# Defines for local commands.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# lock_lint rules
24bf1e02f03577db0feb50b80238c4150c96d05dAutomatic UpdaterUSBA_FILES = $(USBA_WITHOUT_WUSB_OBJS:%.o=../usba/%.ll)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/usbprn.wlcmd warlock_ddi.files
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater $(WARLOCK) -c $(WLCMD_DIR)/usbprn.wlcmd $(WARLOCK_OUT) \
24bf1e02f03577db0feb50b80238c4150c96d05dAutomatic Updater%.ll: $(UTSBASE)/common/io/usb/clients/printer/%.c \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater $(UTSBASE)/common/sys/usb/clients/printer/usbprn.h
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updaterwarlock_with_usba: $(WLCMD_DIR)/usbprn_with_usba.wlcmd $(WARLOCK_OUT) \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater usba_files ohci_files ehci_files uhci_files warlock_ddi.files
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater $(WARLOCK) -c $(WLCMD_DIR)/usbprn_with_usba.wlcmd \