* better
[mascara-docs.git] / i386 / linux-2.3.21 / net / atm / Makefile
blob999fe120306e5e465d4e111ec5a223d8c15463ac
2 # Makefile for the ATM Protocol Families.
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
8 # Note 2! The CFLAGS definition is now in the main makefile...
10 include ../../.config
12 O_TARGET= atm.o
14 ifeq ($(CONFIG_ATM),y)
16 O_OBJS = addr.o pvc.o signaling.o svc.o
17 OX_OBJS = common.o atm_misc.o raw.o resources.o
19 ifeq ($(CONFIG_MMU_HACKS),y)
20 O_OBJS += mmuio.o
21 endif
23 ifeq ($(CONFIG_ATM_CLIP),y)
24 O_OBJS += clip.o
25 NEED_IPCOM = ipcommon.o
26 endif
28 ifeq ($(CONFIG_NET_SCH_ATM),y)
29 NEED_IPCOM = ipcommon.o
30 endif
32 O_OBJS += $(NEED_IPCOM)
34 ifeq ($(CONFIG_PROC_FS),y)
35 OX_OBJS += proc.o
36 endif
38 ifeq ($(CONFIG_ATM_LANE),y)
39 O_OBJS += lec.o lane_mpoa_init.o
40 else
41 ifeq ($(CONFIG_ATM_LANE),m)
42 O_OBJS += lane_mpoa_init.o
43 M_OBJS += lec.o
44 endif
45 endif
47 ifeq ($(CONFIG_ATM_MPOA),y)
48 O_OBJS += mpc.o mpoa_caches.o mpoa_proc.o
49 else
50 ifeq ($(CONFIG_ATM_MPOA),m)
51 M_OBJS += mpoa.o
52 endif
53 endif
55 endif
58 include $(TOPDIR)/Rules.make
60 mpoa.o: mpc.o mpoa_caches.o mpoa_proc.o
61 ld -r -o mpoa.o mpc.o mpoa_caches.o mpoa_proc.o