]>
Commit | Line | Data |
---|---|---|
86933a6e | 1 | include $(top_srcdir)/config/rpm.am |
a7958f7e BB |
2 | include $(top_srcdir)/config/deb.am |
3 | include $(top_srcdir)/config/tgz.am | |
86933a6e | 4 | |
493972c8 | 5 | SUBDIRS = include rpm |
86933a6e | 6 | if CONFIG_USER |
40748209 | 7 | SUBDIRS += lib cmd man scripts |
86933a6e BB |
8 | endif |
9 | if CONFIG_KERNEL | |
d1142fbf | 10 | SUBDIRS += module |
4a6d8d2c BB |
11 | |
12 | extradir = /usr/src/spl-$(VERSION) | |
13 | extra_HEADERS = spl.release.in spl_config.h.in | |
14 | ||
15 | kerneldir = /usr/src/spl-$(VERSION)/$(LINUX_VERSION) | |
16 | nodist_kernel_HEADERS = spl.release spl_config.h module/$(LINUX_SYMBOLS) | |
86933a6e | 17 | endif |
c5f70460 | 18 | |
d8a1b739 | 19 | AUTOMAKE_OPTIONS = foreign |
493972c8 | 20 | EXTRA_DIST = autogen.sh META DISCLAIMER copy-builtin |
287b2fb1 | 21 | EXTRA_DIST += config/config.awk config/rpm.am config/deb.am config/tgz.am |
f1ca4da6 | 22 | |
c5f70460 BB |
23 | distclean-local:: |
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' \ | |
fe883092 BB |
31 | -o -name 'Makefile' -o -name '$(LINUX_SYMBOLS)' \ |
32 | -o -name '*.order' -o -name '*.markers' \) \ | |
c5f70460 BB |
33 | -type f -print | xargs $(RM) |
34 | ||
c5f70460 BB |
35 | ctags: |
36 | $(RM) $(top_srcdir)/tags | |
37 | find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags | |
38 | ||
39 | etags: | |
40 | $(RM) $(top_srcdir)/TAGS | |
41 | find $(top_srcdir) -name .pc -prune -o -name '*.[hc]' | xargs etags -a | |
42 | ||
43 | tags: ctags etags | |
44 | ||
287b2fb1 | 45 | pkg: @DEFAULT_PACKAGE@ |
493972c8 | 46 | pkg-kmod: @DEFAULT_PACKAGE@-kmod |
287b2fb1 | 47 | pkg-utils: @DEFAULT_PACKAGE@-utils |