X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=4229cb1dfcc72451691e211f38b1e373cd0f3600;hb=b36682d8dcf5290fc70d99c5bc1aa1e0be6d878e;hp=f1de10f05f497cb39d43d802a6cb931c2991b6ab;hpb=8833d73dea713cc86d0bc94d3d02e663067f3f9e;p=openvswitch diff --git a/Makefile.am b/Makefile.am index f1de10f0..4229cb1d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,14 @@ +# Copyright (C) 2007, 2008, 2009 Nicira Networks, Inc. +# +# Copying and distribution of this file, with or without modification, +# are permitted in any medium without royalty provided the copyright +# notice and this notice are preserved. This file is offered as-is, +# without warranty of any kind. + 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) @@ -18,11 +24,15 @@ 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.OpenFlow \ + INSTALL.SSL \ + INSTALL.XenServer \ + README-gcov bin_PROGRAMS = sbin_PROGRAMS = bin_SCRIPTS = @@ -43,24 +53,32 @@ ro_c = echo '/* -*- mode: c; buffer-read-only: t -*- */' 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