X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2FMakefile.am;h=1c9e53b9d9f73d14b7d407a5c00f33d7f84ca776;hb=28c5588e8e1a8d091c5d2275232c35f2968a97fa;hp=71e2dc485217d1747987da82e478405928773e48;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=sliver-openvswitch.git diff --git a/datapath/Makefile.am b/datapath/Makefile.am index 71e2dc485..1c9e53b9d 100644 --- a/datapath/Makefile.am +++ b/datapath/Makefile.am @@ -1,12 +1,22 @@ -SUBDIRS = -if L26_ENABLED -SUBDIRS += linux-2.6 +SUBDIRS = +if LINUX_ENABLED +SUBDIRS += linux endif -EXTRA_DIST = $(dist_headers) $(dist_sources) +EXTRA_DIST = $(dist_headers) $(dist_sources) $(dist_extras) # Suppress warnings about GNU extensions in Modules.mk files. AUTOMAKE_OPTIONS = -Wno-portability include Modules.mk -include linux-2.6/Modules.mk +include linux/Modules.mk + +# The following is based on commands for the Automake "distdir" target. +distfiles: Makefile + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t" | sort -u > $@ +CLEANFILES = distfiles