X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile.am;h=79323da8a75f2cb135625b155839ca5b602b23a7;hb=488a9d1703a182529d53d80c7ab5a1b608a3600a;hp=52f5e594a51761c87487df7d8c8b933932174b36;hpb=9678a9b66c5a57fb1dd88b8f9f1e8111e91950dc;p=sliver-openvswitch.git diff --git a/Makefile.am b/Makefile.am index 52f5e594a..79323da8a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -# Copyright (C) 2007, 2008, 2009 Nicira Networks, Inc. +# Copyright (C) 2007, 2008, 2009, 2010 Nicira Networks, Inc. # # Copying and distribution of this file, with or without modification, # are permitted in any medium without royalty provided the copyright @@ -16,6 +16,7 @@ AM_CPPFLAGS += -I $(top_srcdir)/include AM_CPPFLAGS += -I $(top_srcdir)/lib AM_CFLAGS = -Wstrict-prototypes +AM_CFLAGS += $(WARNING_FLAGS) if NDEBUG AM_CPPFLAGS += -DNDEBUG @@ -24,10 +25,12 @@ else AM_LDFLAGS = -export-dynamic endif +BUILT_SOURCES = CLEANFILES = DISTCLEANFILES = EXTRA_DIST = INSTALL.bridge \ INSTALL.Linux \ + INSTALL.userspace \ INSTALL.OpenFlow \ INSTALL.SSL \ INSTALL.XenServer \ @@ -35,21 +38,24 @@ EXTRA_DIST = INSTALL.bridge \ bin_PROGRAMS = sbin_PROGRAMS = bin_SCRIPTS = -dist_commands_DATA = dist_man_MANS = +dist_pkgdata_DATA = dist_pkgdata_SCRIPTS = dist_sbin_SCRIPTS = man_MANS = +noinst_DATA = noinst_HEADERS = noinst_LIBRARIES = noinst_PROGRAMS = noinst_SCRIPTS = +OVSIDL_BUILT = +SUFFIXES = EXTRA_DIST += soexpand.pl ro_c = echo '/* -*- mode: c; buffer-read-only: t -*- */' -SUFFIXES = .in +SUFFIXES += .in .in: $(PERL) $(srcdir)/soexpand.pl -I$(srcdir) < $< | \ sed \ @@ -62,6 +68,8 @@ SUFFIXES = .in -e 's,[@]localstatedir[@],$(localstatedir),g' \ -e 's,[@]pkgdatadir[@],$(pkgdatadir),g' \ -e 's,[@]sysconfdir[@],$(sysconfdir),g' \ + -e 's,[@]abs_top_srcdir[@],$(abs_top_srcdir),g' \ + -e 's,[@]ovsdbmonitordir[@],$(ovsdbmonitordir),g' \ > $@.tmp @if head -n 1 $@.tmp | grep -q '#!'; then \ echo chmod +x $@.tmp; \ @@ -77,5 +85,6 @@ include include/automake.mk include third-party/automake.mk include debian/automake.mk include vswitchd/automake.mk +include ovsdb/automake.mk include xenserver/automake.mk include extras/ezio/automake.mk