1 include $(top_srcdir)/config/rpm.am
2 include $(top_srcdir)/config/deb.am
3 include $(top_srcdir)/config/tgz.am
7 SUBDIRS += dracut udev etc man scripts lib cmd
12 extradir = /usr/src/zfs-$(VERSION)
13 extra_HEADERS = zfs.release.in zfs_config.h.in
15 kerneldir = /usr/src/zfs-$(VERSION)/$(LINUX_VERSION)
16 nodist_kernel_HEADERS = zfs.release zfs_config.h module/$(LINUX_SYMBOLS)
19 AUTOMAKE_OPTIONS = foreign
20 EXTRA_DIST = autogen.sh zfs.spec.in zfs-modules.spec.in
21 EXTRA_DIST += config/config.awk config/rpm.am config/deb.am config/tgz.am
22 EXTRA_DIST += META DISCLAIMER COPYRIGHT README.markdown OPENSOLARIS.LICENSE
23 EXTRA_DIST += dkms.postinst copy-builtin
26 -$(RM) -R autom4te*.cache
27 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
28 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
29 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
30 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
31 -o -name '.*.rej' -o -name '.script-config' -o -size 0 \
32 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
33 -o -name 'Makefile' -o -name 'Module.symvers' \
34 -o -name '*.order' -o -name '*.markers' \) \
35 -type f -print | xargs $(RM)
38 $(RM) $(top_srcdir)/tags
39 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
42 $(RM) $(top_srcdir)/TAGS
43 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
47 pkg: @DEFAULT_PACKAGE@
48 pkg-modules: @DEFAULT_PACKAGE@-modules
49 pkg-utils: @DEFAULT_PACKAGE@-utils