1# Makefile for the hysdn ISDN device driver
2
3# The target object and module list name.
4
5O_TARGET	:= vmlinux-obj.o
6
7# Multipart objects.
8
9list-multi	:= hysdn.o
10hysdn-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
15hysdn-objs-$(CONFIG_HYSDN_CAPI) += hycapi.o
16
17hysdn-objs 	+= $(hysdn-objs-y)
18
19# Each configuration option enables a list of files.
20
21obj-$(CONFIG_HYSDN)	+= hysdn.o
22
23include $(TOPDIR)/Rules.make
24
25# Link rules for multi-part drivers.
26
27hysdn.o: $(hysdn-objs)
28	$(LD) -r -o $@ $(hysdn-objs)
29
30