Initial import
[sliver-openvswitch.git] / datapath / linux-2.4 / Makefile.in
1 export builddir = @abs_builddir@
2 export srcdir = @abs_srcdir@
3 export top_srcdir = @abs_top_srcdir@
4 export KSRC = @KSRC24@
5 export KVERSION = 2.4
6 export VMDIR = @VMDIR@
7
8 SHAREDFILES = ../chain.c ../crc32.c ../table-hash.c ../table-linear.c   \
9               ../table-mac.c ../forward.c ../flow.c ../unit-exports.c  \
10                           ../dp_dev.c ../datapath_t.c
11
12 SIMLINKFILES = $(patsubst ../%,%, $(SHAREDFILES))
13
14 CFILES = datapath.c $(SIMLINKFILES)
15
16 # create local symlinks of shared files
17 %.c : ../%.c
18         ln -s $< $@
19
20 COMPAT24_CFILES =                               \
21         compat-2.4/random32.c                   \
22         compat-2.4/genetlink.c                  \
23         compat-2.4/netlink.c                    \
24         compat-2.4/attr.c                       \
25         compat-2.4/rcupdate.c                   \
26         compat-2.4/string.c                     \
27         compat-2.4/kernel.c                     \
28         compat-2.4/compat24.c
29
30 UNIT_CFILES =                                   \
31         ../table_t.c                            \
32         ../unit.c
33
34 SHARED_T_FILES =                                \
35     ../forward_t.c                              \
36     ../table_t.c                                \
37     ../crc_t.c                                  \
38     ../unit.c
39 UNIT_CFILES = $(patsubst ../%,%, $(SHARED_T_FILES))
40
41 kFILES = ../datapath.h                          \
42         ../chain.h                              \
43         ../crc32.h                              \
44         ../flow.h                               \
45         ../forward.h                            \
46         ../table.h                              \
47         ../datapath_t.h                         \
48         compat-2.4/include/linux/rcupdate.h     \
49         compat-2.4/include/linux/jiffies.h      \
50         compat-2.4/include/linux/ipv6.h         \
51         compat-2.4/include/linux/timer.h        \
52         compat-2.4/include/linux/if_vlan.h      \
53         compat-2.4/include/linux/types.h        \
54         compat-2.4/include/linux/skbuff.h       \
55         compat-2.4/include/linux/etherdevice.h  \
56         compat-2.4/include/linux/tcp.h          \
57         compat-2.4/include/linux/genetlink.h    \
58         compat-2.4/include/linux/sockios.h      \
59         compat-2.4/include/linux/list.h         \
60         compat-2.4/include/linux/udp.h          \
61         compat-2.4/include/linux/slab.h         \
62         compat-2.4/include/linux/random.h       \
63         compat-2.4/include/linux/mutex.h        \
64         compat-2.4/include/linux/ip.h           \
65         compat-2.4/include/linux/string.h       \
66         compat-2.4/include/linux/netlink.h      \
67         compat-2.4/include/linux/compiler.h     \
68         compat-2.4/include/linux/kernel.h       \
69         compat-2.4/include/linux/if_ether.h     \
70         compat-2.4/include/net/checksum.h       \
71         compat-2.4/include/net/genetlink.h      \
72         compat-2.4/include/net/netlink.h        \
73         compat-2.4/include/asm/system.h         \
74         compat-2.4/compat24.h
75
76 VERSION = @VERSION@
77
78 CFLAGS_EXTRA += -DVERSION=\"$(VERSION)\"
79 CFLAGS_EXTRA += -O2 -g
80 CFLAGS_EXTRA += -I $(srcdir)/.. -I $(top_srcdir)/include
81
82 # Conditional include so that make dist doesn't puke when
83 # this build isn't turned on by automake
84 ifneq (,$(KSRC))
85 include $(srcdir)/kbuild.inc
86 else
87 clean:
88 endif
89
90 distclean : clean
91 distdir : clean
92 install :
93
94
95 PWD       := $(shell pwd)
96
97 all: default
98
99
100 check: all