1# 2# Makefile for the Linux Ethernet layer. 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 10O_TARGET := ethernet.o 11 12OBJS := eth.o 13 14ifeq ($(CONFIG_SYSCTL),y) 15OBJS += sysctl_net_ether.o 16endif 17 18ifdef CONFIG_IPX 19OBJ2 := pe2.o 20endif 21 22ifdef CONFIG_ATALK 23OBJ2 := pe2.o 24endif 25 26obj-$(CONFIG_NET) := $(OBJS) $(OBJ2) 27 28include $(TOPDIR)/Rules.make 29