Portability cleanup as required by Linus.
[linux-2.6/linux-mips.git] / drivers / tc / Makefile
blob701214ea5c7470bdb821deea2d1a1c13ac162815
2 # Makefile for the linux kernel.
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 definitions are now in the main makefile...
10 SUB_DIRS :=
11 MOD_SUB_DIRS :=
12 ALL_SUB_DIRS :=
14 L_TARGET := tc.a
15 L_OBJS := tc.o
17 # Nasty trick as nobody references tcsyms.o, but we still want it linked.
18 # Stolen from pci Makefile
19 ifeq ($(CONFIG_MODULES),y)
20 O_TARGET = tc_syms.o
21 OX_OBJS = tcsyms.o
22 O_OBJS = tc.o
23 L_OBJS := tc_syms.o
24 else
25 L_OBJS := tc.o
26 endif
28 ifdef CONFIG_ZS
29 L_OBJS += zs.o
30 endif
32 include $(TOPDIR)/Rules.make