patch-2.4.0-prerelease linux/net/ax25/Makefile

Next file: linux/net/ax25/af_ax25.c
Previous file: linux/net/atm/signaling.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/net/ax25/Makefile linux/net/ax25/Makefile
@@ -9,20 +9,17 @@
 
 
 O_TARGET := ax25.o
-O_OBJS	 := ax25_addr.o ax25_dev.o ax25_iface.o ax25_in.o ax25_ip.o ax25_out.o \
-	    ax25_route.o ax25_std_in.o ax25_std_subr.o ax25_std_timer.o \
-	    ax25_subr.o ax25_timer.o ax25_uid.o
-M_OBJS   := $(O_TARGET)
 
-OX_OBJS  += af_ax25.o
+export-objs := af_ax25.o
+
+obj-y	 := ax25_addr.o ax25_dev.o ax25_iface.o ax25_in.o ax25_ip.o ax25_out.o \
+	    ax25_route.o ax25_std_in.o ax25_std_subr.o ax25_std_timer.o \
+	    ax25_subr.o ax25_timer.o ax25_uid.o af_ax25.o
 
-ifeq ($(CONFIG_AX25_DAMA_SLAVE),y)
-O_OBJS += ax25_ds_in.o ax25_ds_subr.o ax25_ds_timer.o
-endif
+obj-m    := $(O_TARGET)
 
-ifeq ($(CONFIG_SYSCTL),y)
-O_OBJS += sysctl_net_ax25.o
-endif
+obj-$(CONFIG_AX25_DAMA_SLAVE) += ax25_ds_in.o ax25_ds_subr.o ax25_ds_timer.o
+obj-$(CONFIG_SYSCTL) += sysctl_net_ax25.o
 
 include $(TOPDIR)/Rules.make
 

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