2 # $Id: Makefile,v 1.6 1999/07/20 06:41:44 calle Exp $
4 # Makefile for the CAPI and AVM-B1 device drivers.
6 # Note! Dependencies are done automagically by 'make dep', which also
7 # removes any old dependencies. DON'T put your own dependencies here
8 # unless it's something special (ie not a .c file).
10 # Note 2! The CFLAGS definitions are now inherited from the
14 # Revision 1.6 1999/07/20 06:41:44 calle
15 # Bugfix: After the redesign of the AVM B1 driver, the driver didn't even
16 # compile, if not selected as modules.
18 # Revision 1.5 1999/07/01 15:26:20 calle
19 # complete new version (I love it):
20 # + new hardware independed "capi_driver" interface that will make it easy to:
21 # - support other controllers with CAPI-2.0 (i.e. USB Controller)
22 # - write a CAPI-2.0 for the passive cards
23 # - support serial link CAPI-2.0 boxes.
24 # + wrote "capi_driver" for all supported cards.
25 # + "capi_driver" (supported cards) now have to be configured with
26 # make menuconfig, in the past all supported cards where included
28 # + new and better informations in /proc/capi/
29 # + new ioctl to switch trace of capi messages per controller
30 # using "avmcapictrl trace [contr] on|off|...."
31 # + complete testcircle with all supported cards and also the
32 # PCMCIA cards (now patch for pcmcia-cs-3.0.13 needed) done.
34 # Revision 1.4 1997/03/30 17:10:40 calle
35 # added support for AVM-B1-PCI card.
37 # Revision 1.3 1997/03/22 02:00:57 fritz
38 # -Reworked toplevel Makefile. From now on, no different Makefiles
39 # for standalone- and in-kernel-compilation are needed any more.
40 # -Added local Rules.make for above reason.
41 # -Experimental changes in teles3.c for enhanced IRQ-checking with
42 # 2.1.X and SMP kernels.
43 # -Removed diffstd-script, same functionality is in stddiff -r.
44 # -Enhanced scripts std2kern and stddiff.
46 # Revision 1.1 1997/03/05 21:26:14 fritz
47 # Renamed, according naming conventions in CVS tree.
49 # Revision 1.1 1997/03/04 21:50:26 calle
50 # Frirst version in isdn4linux
52 # Revision 2.2 1997/02/12 09:31:39 calle
54 # Revision 1.1 1997/01/31 10:32:20 calle
60 # Objects that don't export a symtab
62 L_OBJS
:= # used as component of an L_TARGET
63 O_OBJS
:= # used as component of an O_TARGET
64 M_OBJS
:= # used as module
66 # Objects that do export a symtab
68 LX_OBJS
:= # used as component of an L_TARGET
69 OX_OBJS
:= # used as component of an O_TARGET
70 MX_OBJS
:= # used as module
72 # Targets, created by linking others
74 O_TARGET
:= # used for .o targets (from O and OX objects)
75 L_TARGET
:= # used for .a targets (from L and LX objects)
77 ifeq ($(CONFIG_ISDN_DRV_AVMB1
),y
)
81 ifdef CONFIG_ISDN_DRV_AVMB1_B1ISA
84 ifdef CONFIG_ISDN_DRV_AVMB1_B1PCI
87 ifdef CONFIG_ISDN_DRV_AVMB1_T1ISA
90 ifdef CONFIG_ISDN_DRV_AVMB1_B1PCMCIA
93 OX_OBJS
+= capiutil.o capidrv.o b1.o
95 ifeq ($(CONFIG_ISDN_DRV_AVMB1
),m
)
96 O_TARGET
+= kernelcapi.o
98 M_OBJS
+= capi.o kernelcapi.o
99 ifdef CONFIG_ISDN_DRV_AVMB1_B1ISA
102 ifdef CONFIG_ISDN_DRV_AVMB1_B1PCI
105 ifdef CONFIG_ISDN_DRV_AVMB1_T1ISA
108 MX_OBJS
+= capiutil.o capidrv.o b1.o
109 ifdef CONFIG_ISDN_DRV_AVMB1_B1PCMCIA
110 MX_OBJS
+= b1pcmcia.o
115 include $(TOPDIR
)/Rules.make