* added 0.99 linux version
[mascara-docs.git] / i386 / linux / linux-2.3.21 / net / 802 / Makefile
blob66f8af658d645193be30876a7f49d7bf477710c0
2 # Makefile for the Linux 802.x protocol layers.
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).
8 # Note 2! The CFLAGS definition is now in the main makefile...
10 O_TARGET := 802.o
11 O_OBJS = p8023.o
13 ifeq ($(CONFIG_SYSCTL),y)
14 O_OBJS += sysctl_net_802.o
15 endif
17 ifeq ($(CONFIG_LLC),y)
18 SUB_DIRS += transit
19 O_OBJS += llc_sendpdu.o llc_utility.o cl2llc.o
20 OX_OBJS += llc_macinit.o
21 SNAP = y
22 endif
24 ifdef CONFIG_TR
25 O_OBJS += tr.o
26 SNAP=y
27 endif
29 ifdef CONFIG_NET_FC
30 O_OBJS += fc.o
31 endif
33 ifdef CONFIG_FDDI
34 O_OBJS += fddi.o
35 endif
37 ifdef CONFIG_HIPPI
38 O_OBJS += hippi.o
39 endif
41 ifdef CONFIG_IPX
42 SNAP=y
43 endif
45 ifdef CONFIG_ATALK
46 SNAP=y
47 endif
49 ifeq ($(SNAP),y)
50 OX_OBJS += p8022.o psnap.o
51 endif
54 include $(TOPDIR)/Rules.make
56 cl2llc.c: cl2llc.pre
57 sed -f ./pseudo/opcd2num.sed cl2llc.pre >cl2llc.c
59 tar:
60 tar -cvf /dev/f1 .