]> git.proxmox.com Git - mirror_ovs.git/blame - Makefile.am
Use Autotest for the Open vSwitch test suite.
[mirror_ovs.git] / Makefile.am
CommitLineData
a14bc59f
BP
1# Copyright (C) 2007, 2008, 2009 Nicira Networks, Inc.
2#
3# Copying and distribution of this file, with or without modification,
4# are permitted in any medium without royalty provided the copyright
5# notice and this notice are preserved. This file is offered as-is,
6# without warranty of any kind.
7
064af421
BP
8AUTOMAKE_OPTIONS = foreign subdir-objects
9ACLOCAL_AMFLAGS = -I m4
10SUBDIRS = datapath
11
12if ENABLE_USERSPACE
064af421
BP
13AM_CPPFLAGS = $(SSL_CFLAGS)
14AM_CPPFLAGS += $(NCURSES_CFLAGS)
15AM_CPPFLAGS += $(PCRE_CFLAGS)
16AM_CPPFLAGS += -I $(top_srcdir)/include
17AM_CPPFLAGS += -I $(top_srcdir)/lib
18
19AM_CFLAGS = -Wstrict-prototypes
20
21if NDEBUG
22AM_CPPFLAGS += -DNDEBUG
23AM_CFLAGS += -fomit-frame-pointer
24else
25AM_LDFLAGS = -export-dynamic
26endif
27
28CLEANFILES =
29DISTCLEANFILES =
c2d1694f
JP
30EXTRA_DIST = INSTALL.bridge \
31 INSTALL.Linux \
32 INSTALL.OpenFlow \
33 INSTALL.SSL \
34 INSTALL.XenServer
064af421
BP
35bin_PROGRAMS =
36sbin_PROGRAMS =
37bin_SCRIPTS =
38dist_commands_DATA =
39dist_man_MANS =
40dist_pkgdata_SCRIPTS =
41dist_sbin_SCRIPTS =
42man_MANS =
43noinst_HEADERS =
44noinst_LIBRARIES =
45noinst_PROGRAMS =
46noinst_SCRIPTS =
47
48EXTRA_DIST += soexpand.pl
49
50ro_c = echo '/* -*- mode: c; buffer-read-only: t -*- */'
51
52SUFFIXES = .in
53.in:
54 $(PERL) $(srcdir)/soexpand.pl -I$(srcdir) < $< | \
55 sed -e 's,[@]LOGDIR[@],$(LOGDIR),g' \
56 -e 's,[@]PKIDIR[@],$(PKIDIR),g' \
57 -e 's,[@]RUNDIR[@],$(RUNDIR),g' \
58 -e 's,[@]pkgdatadir[@],$(pkgdatadir),g' \
59 -e 's,[@]PERL[@],$(PERL),g' > $@
60
61include lib/automake.mk
8cd4882f 62include ofproto/automake.mk
064af421
BP
63include utilities/automake.mk
64include tests/automake.mk
65include include/automake.mk
66include third-party/automake.mk
67include debian/automake.mk
68include vswitchd/automake.mk
69include xenserver/automake.mk
70if HAVE_CURSES
71if HAVE_PCRE
72include extras/ezio/automake.mk
73endif
74endif
75endif # ENABLE_USERSPACE