- Linus: drop support for old-style Makefiles entirely. Big.
[davej-history.git] / net / atm / Makefile
blob40d63cc87401172175fd5ff68c5aa81ff946e723
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 export-objs = common.o atm_misc.o raw.o resources.o ipcommon.o proc.o lane_mpoa_init.o
16 multi-list = mpoa.o
17 mpoa-objs = mpc.o mpoa_caches.o mpoa_proc.o
19 obj-$(CONFIG_ATM) = addr.o pvc.o signaling.o svc.o common.o atm_misc.o raw.o resources.o
21 ifeq ($(CONFIG_ATM_CLIP),y)
22 obj-y += clip.o
23 NEED_IPCOM = ipcommon.o
24 endif
26 ifeq ($(CONFIG_NET_SCH_ATM),y)
27 NEED_IPCOM = ipcommon.o
28 endif
30 obj-y += $(NEED_IPCOM)
32 ifeq ($(CONFIG_PROC_FS),y)
33 obj-y += proc.o
34 endif
36 obj-$(CONFIG_ATM_LANE) += lec.o lane_mpoa_init.o
37 obj-$(CONFIG_ATM_MPOA) += mpoa.o
39 include $(TOPDIR)/Rules.make
41 mpoa.o: $(mpoa-objs)
42 $(LD) -r -o mpoa.o $(mpoa-objs)