import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / drivers / isdn / sc / Makefile
1 # Makefile for the sc 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      := sc.o
10 sc-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
15 obj-$(CONFIG_ISDN_DRV_SC)       += sc.o
16
17 include $(TOPDIR)/Rules.make
18
19 # Link rules for multi-part drivers.
20
21 sc.o: $(sc-objs)
22         $(LD) -r -o $@ $(sc-objs)