]> git.proxmox.com Git - mirror_spl.git/blob - module/Makefile.in
Remove Module.markers and Module.symver{s} in clean target
[mirror_spl.git] / module / Makefile.in
1 subdir-m += spl
2 subdir-m += splat
3
4 INSTALL=/usr/bin/install
5
6 modules:
7 $(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
8
9 clean:
10 $(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
11 if [ -f @LINUX_SYMBOLS@ ]; then $(RM) @LINUX_SYMBOLS@; fi
12 if [ -f Module.markers ]; then $(RM) Module.markers; fi
13
14 modules_install:
15 $(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` \
16 INSTALL_MOD_PATH=$(DESTDIR) \
17 INSTALL_MOD_DIR=addon/spl $@
18 find ${DESTDIR}/lib/modules/ -name 'modules.*' | xargs ${RM}
19
20 distdir:
21 list='$(subdir-m)'; for subdir in $$list; do \
22 (find $$subdir -name '*.c' -o -name '*.h' | \
23 xargs /bin/cp -t $$distdir/$$subdir); \
24 done
25
26 distclean maintainer-clean: clean
27 install: modules_install
28 all: modules
29 check: