X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile.am;h=670f5f0b2fc2645ff4c8eadbe250f1066a8a996a;hb=4b0424809b823101c969a0691fc1db0c880ae64a;hp=0faed67952b688659c650a75d522286b7a75a804;hpb=38b7a52b618b98f03f089d0dff4050ec76fd06d4;p=sliver-openvswitch.git diff --git a/Makefile.am b/Makefile.am index 0faed6795..670f5f0b2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,6 +10,11 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = datapath AM_CPPFLAGS = $(SSL_CFLAGS) + +if WIN32 +AM_CPPFLAGS += -I $(top_srcdir)/include/windows +endif + AM_CPPFLAGS += -I $(top_srcdir)/include AM_CPPFLAGS += -I $(top_srcdir)/lib AM_CPPFLAGS += -I $(top_builddir)/lib @@ -56,6 +61,7 @@ EXTRA_DIST = \ INSTALL.Fedora \ INSTALL.KVM \ INSTALL.Libvirt \ + INSTALL.NetBSD \ INSTALL.RHEL \ INSTALL.SSL \ INSTALL.XenServer \ @@ -118,6 +124,7 @@ ro_shell = printf '\043 Generated automatically -- do not modify! -*- buffer- SUFFIXES += .in .in: + @mkdir -p $$(dirname $@) $(PERL) $(srcdir)/build-aux/soexpand.pl -I$(srcdir) < $< | \ sed \ -e 's,[@]PKIDIR[@],$(PKIDIR),g' \ @@ -158,10 +165,10 @@ dist-hook-git: distfiles @if test -e $(srcdir)/.git && (git --version) >/dev/null 2>&1; then \ (cd datapath && $(MAKE) distfiles); \ (cat distfiles; sed 's|^|datapath/|' datapath/distfiles) | \ - sort -u > all-distfiles; \ - (cd $(srcdir) && git ls-files) | grep -v '\.gitignore$$' | \ - sort -u > all-gitfiles; \ - comm -1 -3 all-distfiles all-gitfiles > missing-distfiles; \ + LC_ALL=C sort -u > all-distfiles; \ + (cd $(srcdir) && git ls-files) | grep -vFf $(srcdir)/.non-distfiles | \ + LC_ALL=C sort -u > all-gitfiles; \ + LC_ALL=C comm -1 -3 all-distfiles all-gitfiles > missing-distfiles; \ if test -s missing-distfiles; then \ echo "The distribution is missing the following files:"; \ cat missing-distfiles; \ @@ -176,7 +183,8 @@ distfiles: Makefile list='$(DISTFILES)'; \ for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ - -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t" | sort -u > $@ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t" | \ + LC_ALL=C sort -u > $@ CLEANFILES += distfiles endif .PHONY: dist-hook-git @@ -297,5 +305,6 @@ include rhel/automake.mk include xenserver/automake.mk include python/automake.mk include python/compat/automake.mk +include planetlab/automake.mk include tutorial/automake.mk include vtep/automake.mk