blob: 88c77cff99bb548e0793ac84a4623e0d093bb3b3 [file] [log] [blame] [raw]
#
# Makefile for the Linux IPX layer.
#
#CONFIG_IPX := m
#KBUILD_CPPFLAGS += -I $(M)/include
LINUXINCLUDE := -I $(M)/include $(LINUXINCLUDE)
ifeq ($(CONFIG_IPX_INTERN),y)
KBUILD_CPPFLAGS += -D CONFIG_IPX_INTERN=1
endif
ifeq ($(CONFIG_IPX_P8023_RAW),y)
KBUILD_CPPFLAGS += -D CONFIG_IPX_P8023_RAW=1
endif
ifeq ($(CONFIG_IPX_UNPRIVILEGED_BIND_ANY),y)
KBUILD_CPPFLAGS += -D CONFIG_IPX_UNPRIVILEGED_BIND_ANY=1
endif
obj-m := ipx.o
ipx-y := af_ipx.o ipx_route.o ipx_proc.o pe2.o
ipx-$(CONFIG_IPX_P8023_RAW) += p8023.o
ipx-$(CONFIG_SYSCTL) += sysctl_net_ipx.o