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...
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
)
23 ifeq ($(CONFIG_ATM_CLIP
),y
)
25 NEED_IPCOM
= ipcommon.o
28 ifeq ($(CONFIG_NET_SCH_ATM
),y
)
29 NEED_IPCOM
= ipcommon.o
32 O_OBJS
+= $(NEED_IPCOM
)
34 ifeq ($(CONFIG_PROC_FS
),y
)
38 ifeq ($(CONFIG_ATM_LANE
),y
)
39 O_OBJS
+= lec.o lane_mpoa_init.o
41 ifeq ($(CONFIG_ATM_LANE
),m
)
42 O_OBJS
+= lane_mpoa_init.o
47 ifeq ($(CONFIG_ATM_MPOA
),y
)
48 O_OBJS
+= mpc.o mpoa_caches.o mpoa_proc.o
50 ifeq ($(CONFIG_ATM_MPOA
),m
)
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