]> git.proxmox.com Git - mirror_zfs.git/blame - Makefile.am
Change spl-kmod-devel install path
[mirror_zfs.git] / Makefile.am
CommitLineData
86933a6e 1include $(top_srcdir)/config/rpm.am
a7958f7e
BB
2include $(top_srcdir)/config/deb.am
3include $(top_srcdir)/config/tgz.am
86933a6e 4
d1142fbf 5SUBDIRS = include
86933a6e 6if CONFIG_USER
30196bfd 7SUBDIRS += lib cmd scripts
86933a6e
BB
8endif
9if CONFIG_KERNEL
d1142fbf 10SUBDIRS += module
4a6d8d2c
BB
11
12extradir = /usr/src/spl-$(VERSION)
13extra_HEADERS = spl.release.in spl_config.h.in
14
15kerneldir = /usr/src/spl-$(VERSION)/$(LINUX_VERSION)
16nodist_kernel_HEADERS = spl.release spl_config.h module/$(LINUX_SYMBOLS)
86933a6e 17endif
c5f70460 18
d8a1b739 19AUTOMAKE_OPTIONS = foreign
287b2fb1
BB
20EXTRA_DIST = autogen.sh spl.spec.in spl-modules.spec.in META DISCLAIMER
21EXTRA_DIST += config/config.awk config/rpm.am config/deb.am config/tgz.am
039bae18 22EXTRA_DIST += dkms.postinst copy-builtin
f1ca4da6 23
c5f70460
BB
24distclean-local::
25 -$(RM) -R autom4te*.cache
26 -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \
27 -o -name .pc -o -name .hg -o -name .git \) -prune -o \
28 \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
29 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
30 -o -name '.*.rej' -o -name 'aclocal.m4' -o -size 0 \
31 -o -name '*%' -o -name '.*.cmd' -o -name 'core' \
fe883092
BB
32 -o -name 'Makefile' -o -name '$(LINUX_SYMBOLS)' \
33 -o -name '*.order' -o -name '*.markers' \) \
c5f70460
BB
34 -type f -print | xargs $(RM)
35
c5f70460
BB
36ctags:
37 $(RM) $(top_srcdir)/tags
38 find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags
39
40etags:
41 $(RM) $(top_srcdir)/TAGS
42 find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a
43
44tags: ctags etags
45
287b2fb1
BB
46pkg: @DEFAULT_PACKAGE@
47pkg-modules: @DEFAULT_PACKAGE@-modules
48pkg-utils: @DEFAULT_PACKAGE@-utils