more debug output
[linux-2.4.git] / drivers / tc / Makefile
1 #
2 # Makefile for the linux kernel.
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 in the main makefile...
9
10 # All of the (potential) objects that export symbols.
11 # This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'.
12
13 export-objs     := tc.o
14
15 # Object file lists.
16
17 obj-y           :=
18 obj-m           :=
19 obj-n           :=
20 obj-            :=
21
22 obj-$(CONFIG_TC) += tc.o
23 obj-$(CONFIG_ZS) += zs.o
24 obj-$(CONFIG_VT) += lk201.o lk201-map.o lk201-remap.o
25
26 # Files that are both resident and modular: remove from modular.
27
28 obj-m           := $(filter-out $(obj-y), $(obj-m))
29
30 # Translate to Rules.make lists.
31
32 L_TARGET        := tc.a
33
34 L_OBJS          := $(sort $(filter-out $(export-objs), $(obj-y)))
35 LX_OBJS         := $(sort $(filter     $(export-objs), $(obj-y)))
36 M_OBJS          := $(sort $(filter-out $(export-objs), $(obj-m)))
37 MX_OBJS         := $(sort $(filter     $(export-objs), $(obj-m)))
38
39 include $(TOPDIR)/Rules.make
40
41 lk201-map.c: lk201-map.map
42         loadkeys --mktable lk201-map.map > lk201-map.c