]> git.proxmox.com Git - mirror_ovs.git/blame - Makefile.am
vswitch: Don't pass null pointer to stat().
[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 =
4b11d5e8 30EXTRA_DIST = INSTALL.Linux INSTALL.XenServer INSTALL.SSL
064af421
BP
31TESTS =
32TESTS_ENVIRONMENT =
33bin_PROGRAMS =
34sbin_PROGRAMS =
35bin_SCRIPTS =
36dist_commands_DATA =
37dist_man_MANS =
38dist_pkgdata_SCRIPTS =
39dist_sbin_SCRIPTS =
40man_MANS =
41noinst_HEADERS =
42noinst_LIBRARIES =
43noinst_PROGRAMS =
44noinst_SCRIPTS =
45
46EXTRA_DIST += soexpand.pl
47
48ro_c = echo '/* -*- mode: c; buffer-read-only: t -*- */'
49
50SUFFIXES = .in
51.in:
52 $(PERL) $(srcdir)/soexpand.pl -I$(srcdir) < $< | \
53 sed -e 's,[@]LOGDIR[@],$(LOGDIR),g' \
54 -e 's,[@]PKIDIR[@],$(PKIDIR),g' \
55 -e 's,[@]RUNDIR[@],$(RUNDIR),g' \
56 -e 's,[@]pkgdatadir[@],$(pkgdatadir),g' \
57 -e 's,[@]PERL[@],$(PERL),g' > $@
58
59include lib/automake.mk
60include secchan/automake.mk
61include utilities/automake.mk
62include tests/automake.mk
63include include/automake.mk
64include third-party/automake.mk
65include debian/automake.mk
66include vswitchd/automake.mk
67include xenserver/automake.mk
68if HAVE_CURSES
69if HAVE_PCRE
70include extras/ezio/automake.mk
71endif
72endif
73endif # ENABLE_USERSPACE