]> git.proxmox.com Git - mirror_ovs.git/blame - Makefile.am
Implement JSON-RPC protocol.
[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
064af421
BP
12AM_CPPFLAGS = $(SSL_CFLAGS)
13AM_CPPFLAGS += $(NCURSES_CFLAGS)
14AM_CPPFLAGS += $(PCRE_CFLAGS)
15AM_CPPFLAGS += -I $(top_srcdir)/include
16AM_CPPFLAGS += -I $(top_srcdir)/lib
17
18AM_CFLAGS = -Wstrict-prototypes
19
20if NDEBUG
21AM_CPPFLAGS += -DNDEBUG
22AM_CFLAGS += -fomit-frame-pointer
23else
24AM_LDFLAGS = -export-dynamic
25endif
26
27CLEANFILES =
28DISTCLEANFILES =
c2d1694f
JP
29EXTRA_DIST = INSTALL.bridge \
30 INSTALL.Linux \
31 INSTALL.OpenFlow \
32 INSTALL.SSL \
9678a9b6
BP
33 INSTALL.XenServer \
34 README-gcov
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) < $< | \
3b135da3 55 sed \
064af421 56 -e 's,[@]PKIDIR[@],$(PKIDIR),g' \
3b135da3
BP
57 -e 's,[@]LOGDIR[@],$(LOGDIR),g' \
58 -e 's,[@]PERL[@],$(PERL),g' \
59 -e 's,[@]PYTHON[@],$(PYTHON),g' \
064af421 60 -e 's,[@]RUNDIR[@],$(RUNDIR),g' \
3b135da3
BP
61 -e 's,[@]VERSION[@],$(VERSION),g' \
62 -e 's,[@]localstatedir[@],$(localstatedir),g' \
064af421 63 -e 's,[@]pkgdatadir[@],$(pkgdatadir),g' \
3b135da3
BP
64 -e 's,[@]sysconfdir[@],$(sysconfdir),g' \
65 > $@.tmp
66 @if head -n 1 $@.tmp | grep -q '#!'; then \
67 echo chmod +x $@.tmp; \
68 chmod +x $@.tmp; \
69 fi
70 mv $@.tmp $@
064af421
BP
71
72include lib/automake.mk
8cd4882f 73include ofproto/automake.mk
064af421
BP
74include utilities/automake.mk
75include tests/automake.mk
76include include/automake.mk
77include third-party/automake.mk
78include debian/automake.mk
79include vswitchd/automake.mk
80include xenserver/automake.mk
064af421 81include extras/ezio/automake.mk