El precompiler esta avanzado, ahora solo con crear el archivo data con el lenguaje...
[vsorcdistro/.git] / ryu / ryu / tests / packet_data_generator2 / Makefile.BSD
1 # Copyright (C) 2015 Nippon Telegraph and Telephone Corporation.
2 # Copyright (C) 2015 YAMAMOTO Takashi <yamamoto at valinux co jp>
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #    http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13 # implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16
17 # OVS: openvswitch installed directory  (used to look for libraries)
18 # OVS_SRC: openvswitch source directory
19
20 OVS?=${HOME}/ovs
21 OVS_SRC?=/disks/774373a2-e180-11e3-9fa1-08606e7f74e7/git/openvswitch
22
23 CPPFLAGS+=-I${OVS}/include -I${OVS_SRC}
24 LDFLAGS+=-L${OVS}/lib -Wl,-R${OVS}/lib -lofproto -lopenvswitch
25
26 PROG=gen
27 NOMAN=
28
29 all: generate
30
31 generate: ${PROG}
32         ${_MKMSG} "generate packet_data"
33         cd ${.CURDIR} && ${.OBJDIR}/${PROG}
34
35 .include <bsd.prog.mk>