* better
[mascara-docs.git] / i386 / linux-2.3.21 / drivers / pci / Makefile
blob0503f4af1caeb6875809a41b5c6af6b3959d6477
2 # Makefile for the PCI bus specific drivers.
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).
8 # Note 2! The CFLAGS definition is now inherited from the
9 # parent makefile.
12 L_TARGET := pci.a
14 # Nasty trick as nobody references pcisyms.o, but we still want it linked.
15 ifeq ($(CONFIG_MODULES),y)
16 O_TARGET = pci_syms.o
17 OX_OBJS = pcisyms.o
18 O_OBJS = pci.o
19 L_OBJS := pci_syms.o
20 else
21 L_OBJS := pci.o
22 endif
24 ifdef CONFIG_PROC_FS
25 L_OBJS += proc.o
26 endif
28 L_OBJS += compat.o quirks.o names.o helper.o
30 ifndef CONFIG_X86
31 L_OBJS += syscall.o setup.o
32 endif
34 include $(TOPDIR)/Rules.make