X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=Makefile.am;h=f8dfd16c1c4aa968777c5e1da9329d0e727aaf81;hb=a0bc29a541fc7dc6e20137d5558e2094d614e6ab;hp=59ffc1939d3575cb565de2fa44e05e06284a1b49;hpb=a14bc59fb8f27db193d74662dc9c5cb8237177ef;p=sliver-openvswitch.git diff --git a/Makefile.am b/Makefile.am index 59ffc1939..f8dfd16c1 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 @@ -9,7 +9,6 @@ AUTOMAKE_OPTIONS = foreign subdir-objects ACLOCAL_AMFLAGS = -I m4 SUBDIRS = datapath -if ENABLE_USERSPACE AM_CPPFLAGS = $(SSL_CFLAGS) AM_CPPFLAGS += $(NCURSES_CFLAGS) AM_CPPFLAGS += $(PCRE_CFLAGS) @@ -17,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 @@ -25,49 +25,65 @@ else AM_LDFLAGS = -export-dynamic endif +BUILT_SOURCES = CLEANFILES = DISTCLEANFILES = -EXTRA_DIST = INSTALL.Linux INSTALL.XenServer INSTALL.SSL -TESTS = -TESTS_ENVIRONMENT = +EXTRA_DIST = INSTALL.bridge \ + INSTALL.Linux \ + INSTALL.userspace \ + INSTALL.OpenFlow \ + INSTALL.SSL \ + INSTALL.XenServer \ + README-gcov 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 -e 's,[@]LOGDIR[@],$(LOGDIR),g' \ + sed \ -e 's,[@]PKIDIR[@],$(PKIDIR),g' \ + -e 's,[@]LOGDIR[@],$(LOGDIR),g' \ + -e 's,[@]PERL[@],$(PERL),g' \ + -e 's,[@]PYTHON[@],$(PYTHON),g' \ -e 's,[@]RUNDIR[@],$(RUNDIR),g' \ + -e 's,[@]VERSION[@],$(VERSION),g' \ + -e 's,[@]localstatedir[@],$(localstatedir),g' \ -e 's,[@]pkgdatadir[@],$(pkgdatadir),g' \ - -e 's,[@]PERL[@],$(PERL),g' > $@ + -e 's,[@]sysconfdir[@],$(sysconfdir),g' \ + -e 's,[@]abs_top_srcdir[@],$(abs_top_srcdir),g' \ + > $@.tmp + @if head -n 1 $@.tmp | grep -q '#!'; then \ + echo chmod +x $@.tmp; \ + chmod +x $@.tmp; \ + fi + mv $@.tmp $@ include lib/automake.mk -include secchan/automake.mk +include ofproto/automake.mk include utilities/automake.mk include tests/automake.mk 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 -if HAVE_CURSES -if HAVE_PCRE include extras/ezio/automake.mk -endif -endif -endif # ENABLE_USERSPACE