2 ACLOCAL_AMFLAGS = -I config
4 include $(top_srcdir)/config/rpm.am
5 include $(top_srcdir)/config/deb.am
6 include $(top_srcdir)/config/tgz.am
10 SUBDIRS += lib cmd man scripts
15 extradir = /usr/src/spl-$(VERSION)
16 extra_HEADERS = spl.release.in spl_config.h.in
18 kerneldir = /usr/src/spl-$(VERSION)/$(LINUX_VERSION)
19 nodist_kernel_HEADERS = spl.release spl_config.h module/$(LINUX_SYMBOLS)
22 AUTOMAKE_OPTIONS = foreign
23 EXTRA_DIST = autogen.sh META DISCLAIMER copy-builtin
24 EXTRA_DIST += config/config.awk config/rpm.am config/deb.am config/tgz.am
27 -$(RM) -R autom4te*.cache
28 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
29 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
30 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
31 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
32 -o -name '.*.rej' -o -name 'aclocal.m4' -o -size 0 \
33 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
34 -o -name 'Makefile' -o -name '$(LINUX_SYMBOLS)' \
35 -o -name '*.order' -o -name '*.markers' \) \
36 -type f -print | xargs $(RM)
39 sed -i 's/Release:[[:print:]]*/Release: $(RELEASE)/' \
43 $(RM) $(top_srcdir)/tags
44 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
47 $(RM) $(top_srcdir)/TAGS
48 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
52 pkg: @DEFAULT_PACKAGE@
53 pkg-kmod: @DEFAULT_PACKAGE@-kmod
54 pkg-utils: @DEFAULT_PACKAGE@-utils