File: Makefile

package info (click to toggle)
kernel-source-2.4.14 2.4.14-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 139,160 kB
  • ctags: 428,423
  • sloc: ansic: 2,435,554; asm: 141,119; makefile: 8,258; sh: 3,099; perl: 2,561; yacc: 1,177; cpp: 755; tcl: 577; lex: 352; awk: 251; lisp: 218; sed: 72
file content (60 lines) | stat: -rw-r--r-- 1,068 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#
# Makefile for the Linux 802.x protocol layers.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definition is now in the main makefile...

O_TARGET := 802.o

export-objs = llc_macinit.o p8022.o psnap.o

obj-y	= p8023.o

obj-$(CONFIG_SYSCTL) += sysctl_net_802.o
obj-$(CONFIG_LLC) += llc_sendpdu.o llc_utility.o cl2llc.o llc_macinit.o
ifeq ($(CONFIG_SYSCTL),y)
obj-y += sysctl_net_802.o
endif

ifeq ($(CONFIG_LLC),y)
subdir-y += transit
obj-y += llc_sendpdu.o llc_utility.o cl2llc.o llc_macinit.o
SNAP = y
endif

ifdef CONFIG_TR
obj-y += tr.o
	SNAP=y
endif

ifdef CONFIG_NET_FC
obj-y += fc.o
endif

ifdef CONFIG_FDDI
obj-y += fddi.o
endif

ifdef CONFIG_HIPPI
obj-y += hippi.o
endif

ifdef CONFIG_IPX
	SNAP=y
endif

ifdef CONFIG_ATALK
	SNAP=y
endif

ifeq ($(SNAP),y)
obj-y += p8022.o psnap.o
endif

include $(TOPDIR)/Rules.make

cl2llc.c: cl2llc.pre
	sed -f ./pseudo/opcd2num.sed cl2llc.pre >cl2llc.c