ia64/xen-unstable

view linux-2.4.27-xen-sparse/drivers/char/Makefile @ 2621:9402048e2325

bitkeeper revision 1.1159.1.218 (416a8128OiHXHyk_Sy8FsA0YUQcEnA)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xeno.bk-26dom0
into freefall.cl.cam.ac.uk:/local/scratch/cl349/xeno.bk-26dom0
author cl349@freefall.cl.cam.ac.uk
date Mon Oct 11 12:48:40 2004 +0000 (2004-10-11)
parents 869c20f2977b
children
line source
1 #
2 # Makefile for the kernel character device drivers.
3 #
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
7 #
8 # Note 2! The CFLAGS definitions are now inherited from the
9 # parent makes..
10 #
12 #
13 # This file contains the font map for the default (hardware) font
14 #
15 FONTMAPFILE = cp437.uni
17 O_TARGET := char.o
19 obj-y += mem.o tty_io.o n_tty.o tty_ioctl.o raw.o pty.o misc.o random.o
21 # All of the (potential) objects that export symbols.
22 # This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
24 export-objs := busmouse.o console.o keyboard.o sysrq.o \
25 misc.o pty.o random.o selection.o serial.o \
26 sonypi.o tty_io.o tty_ioctl.o generic_serial.o \
27 au1000_gpio.o vac-serial.o hp_psaux.o nvram.o \
28 scx200.o fetchop.o
30 mod-subdirs := joystick ftape drm drm-4.0 pcmcia
32 list-multi :=
34 KEYMAP =defkeymap.o
35 KEYBD =pc_keyb.o
36 CONSOLE =console.o
37 SERIAL =serial.o
39 ifeq ($(ARCH),xen)
40 ifneq ($(CONFIG_XEN_PHYSDEV_ACCESS),y)
41 KEYBD =
42 endif
43 endif
45 ifeq ($(ARCH),s390)
46 KEYMAP =
47 KEYBD =
48 CONSOLE =
49 SERIAL =
50 endif
52 ifeq ($(ARCH),mips)
53 ifneq ($(CONFIG_PC_KEYB),y)
54 KEYBD =
55 endif
56 ifeq ($(CONFIG_VR41XX_KIU),y)
57 KEYMAP =
58 KEYBD = vr41xx_keyb.o
59 endif
60 endif
62 ifeq ($(ARCH),s390x)
63 KEYMAP =
64 KEYBD =
65 CONSOLE =
66 SERIAL =
67 endif
69 ifeq ($(ARCH),m68k)
70 ifdef CONFIG_AMIGA
71 KEYBD = amikeyb.o
72 else
73 ifndef CONFIG_MAC
74 KEYBD =
75 endif
76 endif
77 SERIAL =
78 endif
80 ifeq ($(ARCH),parisc)
81 ifdef CONFIG_GSC_PS2
82 KEYBD = hp_psaux.o hp_keyb.o
83 else
84 KEYBD =
85 endif
86 ifdef CONFIG_SERIAL_MUX
87 CONSOLE += mux.o
88 endif
89 ifdef CONFIG_PDC_CONSOLE
90 CONSOLE += pdc_console.o
91 endif
92 endif
94 ifdef CONFIG_Q40
95 KEYBD += q40_keyb.o
96 SERIAL = serial.o
97 endif
99 ifdef CONFIG_APOLLO
100 KEYBD += dn_keyb.o
101 endif
103 ifeq ($(ARCH),parisc)
104 ifdef CONFIG_GSC_PS2
105 KEYBD = hp_psaux.o hp_keyb.o
106 else
107 KEYBD =
108 endif
109 ifdef CONFIG_PDC_CONSOLE
110 CONSOLE += pdc_console.o
111 endif
112 endif
114 ifeq ($(ARCH),arm)
115 ifneq ($(CONFIG_PC_KEYMAP),y)
116 KEYMAP =
117 endif
118 ifneq ($(CONFIG_PC_KEYB),y)
119 KEYBD =
120 endif
121 endif
123 ifeq ($(ARCH),sh)
124 KEYMAP =
125 KEYBD =
126 CONSOLE =
127 ifeq ($(CONFIG_SH_HP600),y)
128 KEYMAP = defkeymap.o
129 KEYBD = scan_keyb.o hp600_keyb.o
130 CONSOLE = console.o
131 endif
132 ifeq ($(CONFIG_SH_DMIDA),y)
133 # DMIDA does not connect the HD64465 PS/2 keyboard port
134 # but we allow for USB keyboards to be plugged in.
135 KEYMAP = defkeymap.o
136 KEYBD = # hd64465_keyb.o pc_keyb.o
137 CONSOLE = console.o
138 endif
139 ifeq ($(CONFIG_SH_EC3104),y)
140 KEYMAP = defkeymap.o
141 KEYBD = ec3104_keyb.o
142 CONSOLE = console.o
143 endif
144 ifeq ($(CONFIG_SH_DREAMCAST),y)
145 KEYMAP = defkeymap.o
146 KEYBD =
147 CONSOLE = console.o
148 endif
149 endif
151 ifeq ($(CONFIG_DECSTATION),y)
152 KEYMAP =
153 KEYBD =
154 endif
156 ifeq ($(CONFIG_BAGET_MIPS),y)
157 KEYBD =
158 SERIAL = vac-serial.o
159 endif
161 ifeq ($(CONFIG_NINO),y)
162 SERIAL =
163 endif
165 ifneq ($(CONFIG_SUN_SERIAL),)
166 SERIAL =
167 endif
169 ifeq ($(CONFIG_QTRONIX_KEYBOARD),y)
170 KEYBD = qtronix.o
171 KEYMAP = qtronixmap.o
172 endif
174 ifeq ($(CONFIG_DUMMY_KEYB),y)
175 KEYBD = dummy_keyb.o
176 endif
178 obj-$(CONFIG_VT) += vt.o vc_screen.o consolemap.o consolemap_deftbl.o $(CONSOLE) selection.o
179 obj-$(CONFIG_SERIAL) += $(SERIAL)
180 obj-$(CONFIG_PARPORT_SERIAL) += parport_serial.o
181 obj-$(CONFIG_SERIAL_HCDP) += hcdp_serial.o
182 obj-$(CONFIG_SERIAL_21285) += serial_21285.o
183 obj-$(CONFIG_SERIAL_SA1100) += serial_sa1100.o
184 obj-$(CONFIG_SERIAL_AMBA) += serial_amba.o
185 obj-$(CONFIG_TS_AU1X00_ADS7846) += au1000_ts.o
186 obj-$(CONFIG_SERIAL_DEC) += decserial.o
188 ifndef CONFIG_SUN_KEYBOARD
189 obj-$(CONFIG_VT) += keyboard.o $(KEYMAP) $(KEYBD)
190 else
191 obj-$(CONFIG_PCI) += keyboard.o $(KEYMAP)
192 endif
194 obj-$(CONFIG_HIL) += hp_keyb.o
195 obj-$(CONFIG_MAGIC_SYSRQ) += sysrq.o
196 obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o
197 obj-$(CONFIG_ROCKETPORT) += rocket.o
198 obj-$(CONFIG_MOXA_SMARTIO) += mxser.o
199 obj-$(CONFIG_MOXA_INTELLIO) += moxa.o
200 obj-$(CONFIG_DIGI) += pcxx.o
201 obj-$(CONFIG_DIGIEPCA) += epca.o
202 obj-$(CONFIG_CYCLADES) += cyclades.o
203 obj-$(CONFIG_STALLION) += stallion.o
204 obj-$(CONFIG_ISTALLION) += istallion.o
205 obj-$(CONFIG_SIBYTE_SB1250_DUART) += sb1250_duart.o
206 obj-$(CONFIG_COMPUTONE) += ip2.o ip2main.o
207 obj-$(CONFIG_RISCOM8) += riscom8.o
208 obj-$(CONFIG_ISI) += isicom.o
209 obj-$(CONFIG_ESPSERIAL) += esp.o
210 obj-$(CONFIG_SYNCLINK) += synclink.o
211 obj-$(CONFIG_SYNCLINKMP) += synclinkmp.o
212 obj-$(CONFIG_N_HDLC) += n_hdlc.o
213 obj-$(CONFIG_SPECIALIX) += specialix.o
214 obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
215 obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o
216 obj-$(CONFIG_SX) += sx.o generic_serial.o
217 obj-$(CONFIG_RIO) += rio/rio.o generic_serial.o
218 obj-$(CONFIG_SH_SCI) += sh-sci.o generic_serial.o
219 obj-$(CONFIG_SERIAL167) += serial167.o
220 obj-$(CONFIG_MVME147_SCC) += generic_serial.o vme_scc.o
221 obj-$(CONFIG_MVME162_SCC) += generic_serial.o vme_scc.o
222 obj-$(CONFIG_BVME6000_SCC) += generic_serial.o vme_scc.o
223 obj-$(CONFIG_HVC_CONSOLE) += hvc_console.o
224 obj-$(CONFIG_SERIAL_TX3912) += generic_serial.o serial_tx3912.o
225 obj-$(CONFIG_TXX927_SERIAL) += serial_txx927.o
226 obj-$(CONFIG_SERIAL_TXX9) += generic_serial.o serial_txx9.o
227 obj-$(CONFIG_IP22_SERIAL) += sgiserial.o
228 obj-$(CONFIG_AU1X00_UART) += au1x00-serial.o
229 obj-$(CONFIG_SGI_L1_SERIAL) += sn_serial.o
231 subdir-$(CONFIG_RIO) += rio
232 subdir-$(CONFIG_INPUT) += joystick
234 obj-$(CONFIG_ATIXL_BUSMOUSE) += atixlmouse.o
235 obj-$(CONFIG_LOGIBUSMOUSE) += logibusmouse.o
236 obj-$(CONFIG_PRINTER) += lp.o
237 obj-$(CONFIG_TIPAR) += tipar.o
238 obj-$(CONFIG_OBMOUSE) += obmouse.o
240 ifeq ($(CONFIG_INPUT),y)
241 obj-y += joystick/js.o
242 endif
244 obj-$(CONFIG_FETCHOP) += fetchop.o
245 obj-$(CONFIG_BUSMOUSE) += busmouse.o
246 obj-$(CONFIG_DTLK) += dtlk.o
247 obj-$(CONFIG_R3964) += n_r3964.o
248 obj-$(CONFIG_APPLICOM) += applicom.o
249 obj-$(CONFIG_SONYPI) += sonypi.o
250 obj-$(CONFIG_MS_BUSMOUSE) += msbusmouse.o
251 obj-$(CONFIG_82C710_MOUSE) += qpmouse.o
252 obj-$(CONFIG_AMIGAMOUSE) += amigamouse.o
253 obj-$(CONFIG_ATARIMOUSE) += atarimouse.o
254 obj-$(CONFIG_ADBMOUSE) += adbmouse.o
255 obj-$(CONFIG_PC110_PAD) += pc110pad.o
256 obj-$(CONFIG_MK712_MOUSE) += mk712.o
257 obj-$(CONFIG_RTC) += rtc.o
258 obj-$(CONFIG_GEN_RTC) += genrtc.o
259 obj-$(CONFIG_EFI_RTC) += efirtc.o
260 obj-$(CONFIG_SGI_DS1286) += ds1286.o
261 obj-$(CONFIG_MIPS_RTC) += mips_rtc.o
262 obj-$(CONFIG_SGI_IP27_RTC) += ip27-rtc.o
263 ifeq ($(CONFIG_PPC),)
264 obj-$(CONFIG_NVRAM) += nvram.o
265 endif
266 obj-$(CONFIG_TOSHIBA) += toshiba.o
267 obj-$(CONFIG_I8K) += i8k.o
268 obj-$(CONFIG_DS1620) += ds1620.o
269 obj-$(CONFIG_DS1742) += ds1742.o
270 obj-$(CONFIG_INTEL_RNG) += i810_rng.o
271 obj-$(CONFIG_AMD_RNG) += amd768_rng.o
272 obj-$(CONFIG_HW_RANDOM) += hw_random.o
273 obj-$(CONFIG_AMD_PM768) += amd76x_pm.o
274 obj-$(CONFIG_BRIQ_PANEL) += briq_panel.o
276 obj-$(CONFIG_ITE_GPIO) += ite_gpio.o
277 obj-$(CONFIG_AU1X00_GPIO) += au1000_gpio.o
278 obj-$(CONFIG_AU1X00_USB_TTY) += au1000_usbtty.o
279 obj-$(CONFIG_AU1X00_USB_RAW) += au1000_usbraw.o
280 obj-$(CONFIG_COBALT_LCD) += lcd.o
282 obj-$(CONFIG_QIC02_TAPE) += tpqic02.o
284 subdir-$(CONFIG_FTAPE) += ftape
285 subdir-$(CONFIG_DRM_OLD) += drm-4.0
286 subdir-$(CONFIG_DRM_NEW) += drm
287 subdir-$(CONFIG_PCMCIA) += pcmcia
288 subdir-$(CONFIG_AGP) += agp
290 ifeq ($(CONFIG_FTAPE),y)
291 obj-y += ftape/ftape.o
292 endif
294 obj-$(CONFIG_H8) += h8.o
295 obj-$(CONFIG_PPDEV) += ppdev.o
296 obj-$(CONFIG_DZ) += dz.o
297 obj-$(CONFIG_NWBUTTON) += nwbutton.o
298 obj-$(CONFIG_NWFLASH) += nwflash.o
299 obj-$(CONFIG_SCx200) += scx200.o
300 obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o
302 # Only one watchdog can succeed. We probe the hardware watchdog
303 # drivers first, then the softdog driver. This means if your hardware
304 # watchdog dies or is 'borrowed' for some reason the software watchdog
305 # still gives you some cover.
307 obj-$(CONFIG_PCWATCHDOG) += pcwd.o
308 obj-$(CONFIG_ACQUIRE_WDT) += acquirewdt.o
309 obj-$(CONFIG_ADVANTECH_WDT) += advantechwdt.o
310 obj-$(CONFIG_IB700_WDT) += ib700wdt.o
311 obj-$(CONFIG_MIXCOMWD) += mixcomwd.o
312 obj-$(CONFIG_60XX_WDT) += sbc60xxwdt.o
313 obj-$(CONFIG_W83877F_WDT) += w83877f_wdt.o
314 obj-$(CONFIG_SC520_WDT) += sc520_wdt.o
315 obj-$(CONFIG_WDT) += wdt.o
316 obj-$(CONFIG_WDTPCI) += wdt_pci.o
317 obj-$(CONFIG_21285_WATCHDOG) += wdt285.o
318 obj-$(CONFIG_977_WATCHDOG) += wdt977.o
319 obj-$(CONFIG_I810_TCO) += i810-tco.o
320 obj-$(CONFIG_MACHZ_WDT) += machzwd.o
321 obj-$(CONFIG_SH_WDT) += shwdt.o
322 obj-$(CONFIG_EUROTECH_WDT) += eurotechwdt.o
323 obj-$(CONFIG_ALIM7101_WDT) += alim7101_wdt.o
324 obj-$(CONFIG_ALIM1535_WDT) += alim1535d_wdt.o
325 obj-$(CONFIG_INDYDOG) += indydog.o
326 obj-$(CONFIG_SC1200_WDT) += sc1200wdt.o
327 obj-$(CONFIG_SCx200_WDT) += scx200_wdt.o
328 obj-$(CONFIG_WAFER_WDT) += wafer5823wdt.o
329 obj-$(CONFIG_SOFT_WATCHDOG) += softdog.o
330 obj-$(CONFIG_INDYDOG) += indydog.o
331 obj-$(CONFIG_8xx_WDT) += mpc8xx_wdt.o
333 subdir-$(CONFIG_MWAVE) += mwave
334 ifeq ($(CONFIG_MWAVE),y)
335 obj-y += mwave/mwave.o
336 endif
338 subdir-$(CONFIG_IPMI_HANDLER) += ipmi
339 ifeq ($(CONFIG_IPMI_HANDLER),y)
340 obj-y += ipmi/ipmi.o
341 endif
343 include $(TOPDIR)/Rules.make
345 fastdep:
347 conmakehash: conmakehash.c
348 $(HOSTCC) $(HOSTCFLAGS) -o conmakehash conmakehash.c
350 consolemap_deftbl.c: $(FONTMAPFILE) conmakehash
351 ./conmakehash $(FONTMAPFILE) > consolemap_deftbl.c
353 consolemap_deftbl.o: consolemap_deftbl.c $(TOPDIR)/include/linux/types.h
355 .DELETE_ON_ERROR:
357 defkeymap.c: defkeymap.map
358 set -e ; loadkeys --mktable $< | sed -e 's/^static *//' > $@
360 qtronixmap.c: qtronixmap.map
361 set -e ; loadkeys --mktable $< | sed -e 's/^static *//' > $@