]> git.proxmox.com Git - mirror_spl.git/blob - module/Makefile.in
Build system cleanup
[mirror_spl.git] / module / Makefile.in
1 subdir-m += spl
2 subdir-m += splat
3
4 INSTALL=/usr/bin/install
5
6 modules clean:
7 $(MAKE) -C @LINUX@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
8
9 modules_install:
10 $(MAKE) -C @LINUX@ SUBDIRS=`pwd` \
11 INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=addon $@
12 $(INSTALL) -D Module.symvers \
13 $(DESTDIR)/@LINUX@/include/spl/Module.symvers
14
15 distdir:
16 list='$(subdir-m)'; for subdir in $$list; do \
17 (find $$subdir -name '*.c' -o -name '*.h' | \
18 xargs /bin/cp -t $$distdir/$$subdir); \
19 done
20
21 distclean maintainer-clean: clean
22 install: modules_install
23 all: modules
24 check: