1 # SPDX-License-Identifier: GPL-2.0 << 2 # 1 # 3 # Makefile for the ATM Protocol Families. 2 # Makefile for the ATM Protocol Families. 4 # 3 # >> 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). >> 7 # >> 8 # Note 2! The CFLAGS definition is now in the main makefile... >> 9 >> 10 O_TARGET := atm.o >> 11 >> 12 export-objs := common.o atm_misc.o raw.o resources.o ipcommon.o proc.o 5 13 6 atm-y := addr.o pvc.o signaling.o sv !! 14 list-multi := mpoa.o 7 mpoa-objs := mpc.o mpoa_caches.o mpoa_pr 15 mpoa-objs := mpc.o mpoa_caches.o mpoa_proc.o 8 16 9 obj-$(CONFIG_ATM) += atm.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) >> 19 obj-m += $(O_TARGET) >> 20 endif >> 21 >> 22 ifneq ($(CONFIG_ATM_CLIP),n) >> 23 NEED_IPCOM = ipcommon.o >> 24 endif 10 obj-$(CONFIG_ATM_CLIP) += clip.o 25 obj-$(CONFIG_ATM_CLIP) += clip.o >> 26 >> 27 ifeq ($(CONFIG_ATM_BR2684),y) >> 28 NEED_IPCOM = ipcommon.o >> 29 else >> 30 ifeq ($(CONFIG_ATM_BR2684),m) >> 31 NEED_IPCOM = ipcommon.o >> 32 endif >> 33 endif 11 obj-$(CONFIG_ATM_BR2684) += br2684.o 34 obj-$(CONFIG_ATM_BR2684) += br2684.o 12 atm-$(CONFIG_PROC_FS) += proc.o !! 35 >> 36 ifeq ($(CONFIG_NET_SCH_ATM),y) >> 37 NEED_IPCOM = ipcommon.o >> 38 endif >> 39 >> 40 obj-y += $(NEED_IPCOM) >> 41 >> 42 ifeq ($(CONFIG_PROC_FS),y) >> 43 obj-y += proc.o >> 44 endif 13 45 14 obj-$(CONFIG_ATM_LANE) += lec.o 46 obj-$(CONFIG_ATM_LANE) += lec.o 15 obj-$(CONFIG_ATM_MPOA) += mpoa.o 47 obj-$(CONFIG_ATM_MPOA) += mpoa.o 16 obj-$(CONFIG_PPPOATM) += pppoatm.o 48 obj-$(CONFIG_PPPOATM) += pppoatm.o >> 49 >> 50 include $(TOPDIR)/Rules.make >> 51 >> 52 mpoa.o: $(mpoa-objs) >> 53 $(LD) -r -o mpoa.o $(mpoa-objs)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.