1 # Makefile for the hysdn ISDN device driver
3 # The target object and module list name.
5 O_TARGET := vmlinux-obj.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
13 # Optional parts of multipart objects.
15 hysdn-objs-$(CONFIG_HYSDN_CAPI) += hycapi.o
17 hysdn-objs += $(hysdn-objs-y)
19 # Each configuration option enables a list of files.
21 obj-$(CONFIG_HYSDN) += hysdn.o
23 include $(TOPDIR)/Rules.make
25 # Link rules for multi-part drivers.
27 hysdn.o: $(hysdn-objs)
28 $(LD) -r -o $@ $(hysdn-objs)