import of ftp.dlink.com/GPL/DSMG-600_reB/ppclinux.tar.gz
[linux-2.4.21-pre4.git] / drivers / isdn / hysdn / Makefile
1 # Makefile for the hysdn ISDN device driver
2
3 # The target object and module list name.
4
5 O_TARGET        := vmlinux-obj.o
6
7 # Multipart objects.
8
9 list-multi      := hysdn.o
10 hysdn-objs      := hysdn_procconf.o hysdn_proclog.o boardergo.o hysdn_boot.o \
11                    hysdn_sched.o hysdn_net.o hysdn_init.o
12
13 # Optional parts of multipart objects.
14
15 hysdn-objs-$(CONFIG_HYSDN_CAPI) += hycapi.o
16
17 hysdn-objs      += $(hysdn-objs-y)
18
19 # Each configuration option enables a list of files.
20
21 obj-$(CONFIG_HYSDN)     += hysdn.o
22
23 include $(TOPDIR)/Rules.make
24
25 # Link rules for multi-part drivers.
26
27 hysdn.o: $(hysdn-objs)
28         $(LD) -r -o $@ $(hysdn-objs)
29