Fix OpenFlow extensions submodule to build again.
[sliver-openvswitch.git] / Make.vars
1 # -*- makefile -*-
2
3 AM_CPPFLAGS = $(SSL_CFLAGS)
4 AM_CPPFLAGS += -I $(ofp_top_srcdir)/include
5 if HAVE_EXT
6 AM_CPPFLAGS += -I $(ofp_top_srcdir)/ext/include
7 endif
8
9 AM_CFLAGS = -DVERSION=\"$(VERSION)\"
10 AM_CFLAGS += -Wstrict-prototypes
11
12 rundir = $(localstatedir)/run
13 AM_CFLAGS += -DRUNDIR=\"$(rundir)\"
14
15 if NDEBUG
16 AM_CFLAGS += -DNDEBUG -fomit-frame-pointer
17 else
18 AM_LDFLAGS = -export-dynamic
19 endif
20
21 do_subst = sed -e 's,[@]pkidir[@],$(pkidir),g' \
22                -e 's,[@]rundir[@],$(rundir),g' \
23                -e 's,[@]PERL[@],$(PERL),g'
24 ro_script = sed "`printf '1a\\' && printf '\\n\# -*- buffer-read-only: t -*-'`"
25 ro_man = printf '.\\" Local variables:\n.\\" buffer-read-only: t\n.\\" End:\n'