mirror_zfs/module/Makefile.in
Brian Behlendorf 0c617c9a63 Build system cleanup
1) Undefine non-unique entries in spl_config.h
2) Minor Makefile cleanup
3) Don't use includedir for proper kernel header install
2009-03-11 12:37:34 -07:00

25 lines
557 B
Makefile

subdir-m += spl
subdir-m += splat
INSTALL=/usr/bin/install
modules clean:
$(MAKE) -C @LINUX@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ $@
modules_install:
$(MAKE) -C @LINUX@ SUBDIRS=`pwd` \
INSTALL_MOD_PATH=$(DESTDIR) INSTALL_MOD_DIR=addon $@
$(INSTALL) -D Module.symvers \
$(DESTDIR)/@LINUX@/include/spl/Module.symvers
distdir:
list='$(subdir-m)'; for subdir in $$list; do \
(find $$subdir -name '*.c' -o -name '*.h' | \
xargs /bin/cp -t $$distdir/$$subdir); \
done
distclean maintainer-clean: clean
install: modules_install
all: modules
check: