X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=datapath%2FMakefile.am;h=fb1453c1435bd2a625adc0d0819d7b3fa3999da3;hb=0e70cdcb8ddeb20417e682fd63769f9d16601b07;hp=71e2dc485217d1747987da82e478405928773e48;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=openvswitch diff --git a/datapath/Makefile.am b/datapath/Makefile.am index 71e2dc48..fb1453c1 100644 --- a/datapath/Makefile.am +++ b/datapath/Makefile.am @@ -1,12 +1,22 @@ SUBDIRS = -if L26_ENABLED -SUBDIRS += linux-2.6 +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