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...
12 export-objs := common.o atm_misc.o raw.o resources.o ipcommon.o proc.o
15 mpoa-objs := mpc.o mpoa_caches.o mpoa_proc.o
17 obj-y := addr.o pvc.o signaling.o svc.o common.o atm_misc.o raw.o resources.o
18 ifeq ($(CONFIG_ATM),m)
22 ifneq ($(CONFIG_ATM_CLIP),n)
23 NEED_IPCOM = ipcommon.o
25 obj-$(CONFIG_ATM_CLIP) += clip.o
27 ifeq ($(CONFIG_ATM_BR2684),y)
28 NEED_IPCOM = ipcommon.o
30 ifeq ($(CONFIG_ATM_BR2684),m)
31 NEED_IPCOM = ipcommon.o
34 obj-$(CONFIG_ATM_BR2684) += br2684.o
36 ifeq ($(CONFIG_NET_SCH_ATM),y)
37 NEED_IPCOM = ipcommon.o
40 obj-y += $(NEED_IPCOM)
42 ifeq ($(CONFIG_PROC_FS),y)
46 obj-$(CONFIG_ATM_LANE) += lec.o
47 obj-$(CONFIG_ATM_MPOA) += mpoa.o
48 obj-$(CONFIG_PPPOATM) += pppoatm.o
50 include $(TOPDIR)/Rules.make
53 $(LD) -r -o mpoa.o $(mpoa-objs)