1 include $(top_srcdir)/config/rpm.am
2 include $(top_srcdir)/config/deb.am
3 include $(top_srcdir)/config/tgz.am
7 SUBDIRS += lib cmd scripts
12 extradir = /usr/src/spl-$(VERSION)
13 extra_HEADERS = spl.release.in spl_config.h.in
15 kerneldir = /usr/src/spl-$(VERSION)/$(LINUX_VERSION)
16 nodist_kernel_HEADERS = spl.release spl_config.h module/$(LINUX_SYMBOLS)
19 AUTOMAKE_OPTIONS = foreign
20 EXTRA_DIST = autogen.sh META DISCLAIMER copy-builtin
21 EXTRA_DIST += config/config.awk config/rpm.am config/deb.am config/tgz.am
24 -$(RM) -R autom4te*.cache
25 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
26 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
27 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
28 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
29 -o -name '.*.rej' -o -name 'aclocal.m4' -o -size 0 \
30 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
31 -o -name 'Makefile' -o -name '$(LINUX_SYMBOLS)' \
32 -o -name '*.order' -o -name '*.markers' \) \
33 -type f -print | xargs $(RM)
36 $(RM) $(top_srcdir)/tags
37 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
40 $(RM) $(top_srcdir)/TAGS
41 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
45 pkg: @DEFAULT_PACKAGE@
46 pkg-kmod: @DEFAULT_PACKAGE@-kmod
47 pkg-utils: @DEFAULT_PACKAGE@-utils