X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2FMakefile.am;h=e1bd3e69a3949e37f3514f5b26b995e4024de663;hb=c1a543a8d6d2847983b6b0defd1e19777da85715;hp=71e2dc485217d1747987da82e478405928773e48;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=openvswitch diff --git a/datapath/Makefile.am b/datapath/Makefile.am index 71e2dc48..e1bd3e69 100644 --- a/datapath/Makefile.am +++ b/datapath/Makefile.am @@ -1,6 +1,6 @@ SUBDIRS = -if L26_ENABLED -SUBDIRS += linux-2.6 +if LINUX_ENABLED +SUBDIRS += linux endif EXTRA_DIST = $(dist_headers) $(dist_sources) @@ -9,4 +9,14 @@ EXTRA_DIST = $(dist_headers) $(dist_sources) 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