patch-2.3.15 linux/net/atm/Makefile

Next file: linux/net/atm/addr.c
Previous file: linux/net/appletalk/ddp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/net/atm/Makefile linux/net/atm/Makefile
@@ -0,0 +1,66 @@
+#
+# Makefile for the ATM Protocol Families.
+#
+# Note! Dependencies are done automagically by 'make dep', which also
+# removes any old dependencies. DON'T put your own dependencies here
+# unless it's something special (ie not a .c file).
+#
+# Note 2! The CFLAGS definition is now in the main makefile...
+
+include ../../.config
+
+O_TARGET= atm.o
+
+ifeq ($(CONFIG_ATM),y)
+
+O_OBJS	= addr.o pvc.o raw.o signaling.o svc.o # party.o
+OX_OBJS = common.o atm_misc.o resources.o
+
+ifeq ($(CONFIG_MMU_HACKS),y)
+O_OBJS += mmuio.o
+endif
+
+ifeq ($(CONFIG_ATM_CLIP),y)
+O_OBJS += clip.o
+NEED_IPCOM = ipcommon.o
+endif
+
+ifeq ($(CONFIG_AREQUIPA),y)
+O_OBJS += arequipa.o
+NEED_IPCOM = ipcommon.o
+endif
+
+ifeq ($(CONFIG_NET_SCH_ATM),y)
+NEED_IPCOM = ipcommon.o
+endif
+
+O_OBJS += $(NEED_IPCOM)
+
+ifeq ($(CONFIG_PROC_FS),y)
+OX_OBJS += proc.o
+endif
+
+ifeq ($(CONFIG_ATM_LANE),y)
+O_OBJS += lec.o lane_mpoa_init.o
+else
+  ifeq ($(CONFIG_ATM_LANE),m)
+  O_OBJS += lane_mpoa_init.o
+  M_OBJS += lec.o
+  endif
+endif
+
+ifeq ($(CONFIG_ATM_MPOA),y)
+O_OBJS += mpc.o mpoa_caches.o mpoa_proc.o
+else
+  ifeq ($(CONFIG_ATM_MPOA),m)
+  M_OBJS += mpoa.o
+  endif
+endif
+
+endif
+
+
+include $(TOPDIR)/Rules.make
+
+mpoa.o: mpc.o mpoa_caches.o mpoa_proc.o
+	ld -r -o mpoa.o mpc.o mpoa_caches.o mpoa_proc.o

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)