1 | # -*- mode: Makefile; -*- |
---|
2 | #============================================================================ |
---|
3 | # |
---|
4 | # Copyright (C) 2004 Mike Wray <mike.wray@hp.com> |
---|
5 | # |
---|
6 | # This program is free software; you can redistribute it and/or modify |
---|
7 | # it under the terms of the GNU General Public License as published by the |
---|
8 | # Free Software Foundation; either version 2 of the License, or (at your |
---|
9 | # option) any later version. |
---|
10 | # |
---|
11 | # This program is distributed in the hope that it will be useful, but |
---|
12 | # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
---|
13 | # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
---|
14 | # for more details. |
---|
15 | # |
---|
16 | # You should have received a copy of the GNU General Public License along |
---|
17 | # with this program; if not, write to the Free software Foundation, Inc., |
---|
18 | # 59 Temple Place, suite 330, Boston, MA 02111-1307 USA |
---|
19 | #============================================================================ |
---|
20 | |
---|
21 | ifeq ($(src),) |
---|
22 | SRC_DIR= |
---|
23 | else |
---|
24 | SRC_DIR=$(src)/ |
---|
25 | endif |
---|
26 | |
---|
27 | VNET_SRC := |
---|
28 | VNET_SRC += esp.c |
---|
29 | VNET_SRC += etherip.c |
---|
30 | VNET_SRC += random.c |
---|
31 | VNET_SRC += sa_algorithm.c |
---|
32 | VNET_SRC += sa.c |
---|
33 | VNET_SRC += skb_context.c |
---|
34 | VNET_SRC += skb_util.c |
---|
35 | VNET_SRC += sxpr_util.c |
---|
36 | VNET_SRC += timer_util.c |
---|
37 | VNET_SRC += tunnel.c |
---|
38 | VNET_SRC += varp.c |
---|
39 | VNET_SRC += varp_socket.c |
---|
40 | VNET_SRC += vif.c |
---|
41 | VNET_SRC += vnet.c |
---|
42 | VNET_SRC += vnet_dev.c |
---|
43 | VNET_SRC += vnet_ioctl.c |
---|
44 | VNET_SRC += vnet_eval.c |
---|
45 | VNET_SRC += vnet_forward.c |
---|
46 | |
---|
47 | VNET_LIB_SRC += allocate.c |
---|
48 | VNET_LIB_SRC += enum.c |
---|
49 | VNET_LIB_SRC += hash_table.c |
---|
50 | VNET_LIB_SRC += iostream.c |
---|
51 | VNET_LIB_SRC += kernel_stream.c |
---|
52 | VNET_LIB_SRC += mem_stream.c |
---|
53 | VNET_LIB_SRC += sxpr.c |
---|
54 | VNET_LIB_SRC += sxpr_parser.c |
---|
55 | VNET_LIB_SRC += sys_net.c |
---|
56 | VNET_LIB_SRC += sys_string.c |
---|
57 | |
---|
58 | VNET_OBJ := $(VNET_SRC:.c=.o) |
---|
59 | VNET_LIB_OBJ := $(VNET_LIB_SRC:.c=.o) |
---|
60 | |
---|