- Linus: drop support for old-style Makefiles entirely. Big.
[davej-history.git] / net / 802 / Makefile
blob03e484b50ec60bc8eb4efc424f89444e1dee3b94
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
12 export-objs = llc_macinit.o p8022.o psnap.o
14 obj-y = p8023.o
16 obj-$(CONFIG_SYSCTL) += sysctl_net_802.o
17 obj-$(CONFIG_LLC) += llc_sendpdu.o llc_utility.o cl2llc.o llc_macinit.o
18 ifeq ($(CONFIG_SYSCTL),y)
19 obj-y += sysctl_net_802.o
20 endif
22 ifeq ($(CONFIG_LLC),y)
23 subdir-y += transit
24 obj-y += llc_sendpdu.o llc_utility.o cl2llc.o llc_macinit.o
25 SNAP = y
26 endif
28 ifdef CONFIG_TR
29 obj-y += tr.o
30 SNAP=y
31 endif
33 ifdef CONFIG_NET_FC
34 obj-y += fc.o
35 endif
37 ifdef CONFIG_FDDI
38 obj-y += fddi.o
39 endif
41 ifdef CONFIG_HIPPI
42 obj-y += hippi.o
43 endif
45 ifdef CONFIG_IPX
46 SNAP=y
47 endif
49 ifdef CONFIG_ATALK
50 SNAP=y
51 endif
53 ifeq ($(SNAP),y)
54 obj-y += p8022.o psnap.o
55 endif
57 include $(TOPDIR)/Rules.make
59 cl2llc.c: cl2llc.pre
60 sed -f ./pseudo/opcd2num.sed cl2llc.pre >cl2llc.c
62 tar:
63 tar -cvf /dev/f1 .