Print this page
5832 EOF wireless usb (aka UWB)
Reviewed by: TBD
Reviewed by: TBD
Approved by: TBD
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/intel/usbsksp/Makefile
+++ new/usr/src/uts/intel/usbsksp/Makefile
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 #
23 23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 25 #
26 +# Copyright 2014 Garrett D'Amore <garrett@damore.org>
27 +#
26 28 # uts/intel/usbsksp/Makefile
27 29
28 30 #
29 31 # This makefile drives the production of the Keyspan USB Serial
30 32 # Adapter driver.
31 33 #
32 34 # Path to the base of the uts directory tree (usually /usr/src/uts).
33 35 #
34 36 UTSBASE = ../..
35 37
36 38 #
37 39 # Define the module and object file sets.
38 40 #
39 41 MODULE = usbsksp
40 42 OBJECTS = $(USBSER_KEYSPAN_OBJS:%=$(OBJS_DIR)/%)
41 43 LINTS = $(USBSER_KEYSPAN_OBJS:%.o=$(LINTS_DIR)/%.ln)
42 44 ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
43 45 WARLOCK_OUT = $(USBSER_KEYSPAN_OBJS:%.o=%.ll)
44 46 WARLOCK_OK = $(MODULE).ok
45 47 WLCMD_DIR = $(UTSBASE)/common/io/warlock
46 48
47 49 #
48 50 # Include common rules.
49 51 #
50 52 include $(UTSBASE)/intel/Makefile.intel
51 53
52 54 LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser -Nmisc/usbs49_fw
53 55
54 56 #
55 57 # Define targets
56 58 #
57 59 ALL_TARGET = $(BINARY)
58 60 LINT_TARGET = $(MODULE).lint
59 61 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
60 62
61 63 .KEEP_STATE:
62 64
63 65 all: $(ALL_DEPS)
64 66
65 67 def: $(DEF_DEPS)
66 68
67 69 clean: $(CLEAN_DEPS)
68 70 $(RM) $(WARLOCK_OUT) $(WARLOCK_OK)
69 71
70 72 clobber: $(CLOBBER_DEPS)
71 73 $(RM) $(WARLOCK_OUT) $(WARLOCK_OK)
72 74
73 75 lint: $(LINT_DEPS)
74 76
75 77 modlintlib: $(MODLINTLIB_DEPS)
76 78
77 79 clean.lint: $(CLEAN_LINT_DEPS)
78 80
79 81 install: $(INSTALL_DEPS)
80 82
81 83 #
82 84 # Include common targets.
83 85 #
84 86 include $(UTSBASE)/intel/Makefile.targ
85 87
86 88 CERRWARN += -_gcc=-Wno-uninitialized
87 89
88 90 #
89 91 # Defines for local commands.
90 92 #
91 93 WLCC = wlcc
↓ open down ↓ |
56 lines elided |
↑ open up ↑ |
92 94 TOUCH = touch
93 95 WARLOCK = warlock
94 96 TEST = test
95 97
96 98 #
97 99 # warlock
98 100 #
99 101 WARLOCK_CMD = $(WLCMD_DIR)/usbser_keyspan.wlcmd
100 102
101 103 USBSER_FILES = $(USBSER_OBJS:%.o=../usbser/%.ll)
102 -USBA_FILES = $(USBA_WITHOUT_WUSB_OBJS:%.o=../usba/%.ll)
104 +USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll)
103 105 UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll)
104 106 OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll)
105 107 EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll)
106 108
107 109 warlock: $(WARLOCK_OK)
108 110
109 111 $(WARLOCK_OK): warlock_with_usba warlock_with_usbser
110 112 $(TOUCH) $@
111 113
112 114 %.ll: $(UTSBASE)/common/io/usb/clients/usbser/usbser_keyspan/%.c
113 115 $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $<
114 116
115 117 warlock_with_usbser: $(WARLOCK_OUT) usbser_files warlock_ddi.files \
116 118 $(WARLOCK_CMD)
117 119 $(WARLOCK) -c $(WARLOCK_CMD) $(WARLOCK_OUT) \
118 120 $(USBSER_FILES) -l ../warlock/ddi_dki_impl.ll
119 121
120 122 warlock_with_usba: $(WARLOCK_OUT) usbser_files \
121 123 $(WLCMD_DIR)/usbser_keyspan_with_usba.wlcmd \
122 124 usba_files ohci_files uhci_files ehci_files warlock_ddi.files
123 125 $(WARLOCK) -c $(WLCMD_DIR)/usbser_keyspan_with_usba.wlcmd \
124 126 $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \
125 127 $(USBSER_FILES) \
126 128 $(WARLOCK_OUT) -l ../warlock/ddi_dki_impl.ll
127 129
128 130 usbser_files:
129 131 @cd ../usbser; pwd; $(MAKE) warlock
130 132
131 133 usba_files:
132 134 @cd ../usba;pwd; $(MAKE) warlock
133 135
134 136 uhci_files:
135 137 @cd ../uhci;pwd; $(MAKE) warlock
136 138
137 139 ohci_files:
138 140 @cd ../ohci;pwd; $(MAKE) warlock
139 141
140 142 ehci_files:
141 143 @cd ../ehci;pwd; $(MAKE) warlock
142 144
143 145 warlock_ddi.files:
144 146 cd ../warlock; pwd; $(MAKE) warlock
↓ open down ↓ |
32 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX