1# Makefile for the sc 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	:= sc.o
10sc-objs		:= shmem.o init.o debug.o packet.o command.o event.o \
11		   ioctl.o interrupt.o message.o timer.o
12
13# Each configuration option enables a list of files.
14
15obj-$(CONFIG_ISDN_DRV_SC)	+= sc.o
16
17include $(TOPDIR)/Rules.make
18
19# Link rules for multi-part drivers.
20
21sc.o: $(sc-objs)
22	$(LD) -r -o $@ $(sc-objs)
23