Avoid making Emacs think that this file contains a local variable list.
[sliver-openvswitch.git] / Makefile.am
1 # The goal of -Wno-syntax here is just to suppress the Automake warning
2 # about overriding distdir, below.
3 AUTOMAKE_OPTIONS = foreign -Wno-syntax subdir-objects
4 ACLOCAL_AMFLAGS = -I m4
5 SUBDIRS = datapath
6
7 if HAVE_DPKG_BUILDPACKAGE
8 distcheck-hook: 
9         cd $(srcdir) && dpkg-buildpackage -rfakeroot -us -uc
10         cd $(srcdir) && fakeroot ./debian/rules clean
11 else
12 distcheck-hook: 
13 endif
14
15 AM_CPPFLAGS = $(SSL_CFLAGS)
16 AM_CPPFLAGS += -I $(top_srcdir)/include
17 if HAVE_EXT
18 AM_CPPFLAGS += -I $(top_srcdir)/ext/include
19 endif
20
21 AM_CFLAGS = -Wstrict-prototypes
22
23 rundir = $(localstatedir)/run
24 AM_CFLAGS += -DRUNDIR=\"$(rundir)\"
25
26 if NDEBUG
27 AM_CFLAGS += -DNDEBUG -fomit-frame-pointer
28 else
29 AM_LDFLAGS = -export-dynamic
30 endif
31
32 DISTCLEANFILES =
33 EXTRA_DIST =
34 TESTS =
35 TESTS_ENVIRONMENT =
36 bin_PROGRAMS =
37 bin_SCRIPTS =
38 dist_man_MANS =
39 man_MANS =
40 noinst_HEADERS =
41 noinst_LIBRARIES =
42 noinst_PROGRAMS =
43 noinst_SCRIPTS =
44
45 do_subst = sed -e 's,[@]pkidir[@],$(pkidir),g' \
46                -e 's,[@]rundir[@],$(rundir),g' \
47                -e 's,[@]PERL[@],$(PERL),g'
48 ro_script = sed "`printf '1a\\' && printf '\\n\# -*- buffer-read-only: t -*-'`"
49 ro_man = printf '.\\" Local\040variables:\n.\\" buffer-read-only: t\n.\\" End:\n'
50
51 EXTRA_DIST += README.hwtables
52
53 include lib/automake.mk
54 include secchan/automake.mk
55 include controller/automake.mk
56 include utilities/automake.mk
57 include switch/automake.mk
58 include tests/automake.mk
59 include include/automake.mk
60 include third-party/automake.mk
61 include debian/automake.mk
62 include ext.mk