1#
2# Makefile for the Linux 802.x protocol layers.
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 := 802.o
11
12export-objs = llc_macinit.o p8022.o psnap.o fc.o
13
14obj-y			:= p8023.o
15
16obj-$(CONFIG_SYSCTL)	+= sysctl_net_802.o
17
18subdir-$(CONFIG_LLC)	+= transit
19obj-$(CONFIG_LLC)	+= llc_sendpdu.o llc_utility.o cl2llc.o llc_macinit.o
20obj-$(CONFIG_LLC)	+= p8022.o psnap.o
21
22obj-$(CONFIG_TR)	+= p8022.o psnap.o tr.o
23
24obj-$(CONFIG_NET_FC)	+=                 fc.o
25
26obj-$(CONFIG_FDDI)	+=                 fddi.o
27
28obj-$(CONFIG_HIPPI)	+=                 hippi.o
29
30obj-$(CONFIG_IPX)	+= p8022.o psnap.o
31
32obj-$(CONFIG_ATALK)	+= p8022.o psnap.o
33
34
35include $(TOPDIR)/Rules.make
36
37cl2llc.c: cl2llc.pre
38	@rm -f $@
39	sed -f ./pseudo/opcd2num.sed cl2llc.pre >cl2llc.c
40