]> git.proxmox.com Git - mirror_spl-debian.git/blame - src/splat/Makefile.in
More build fixes, I have the kernel module almost building and its
[mirror_spl-debian.git] / src / splat / Makefile.in
CommitLineData
f1ca4da6 1# Makefile.in for splat kernel module
2
3MODULES := splat
f1ca4da6 4DISTFILES = Makefile.in \
5 splat-kmem.c splat-random.c splat-taskq.c \
6 splat-time.c splat-condvar.c splat-mutex.c \
7 splat-rwlock.c splat-thread.c splat-ctl.c
3d4ea0ce 8CPPFLAGS += @KERNELCPPFLAGS@
f1ca4da6 9
10# Solaris porting layer aggressive tests
11obj-m := splat.o
12
13splat-objs += splat-ctl.o
14splat-objs += splat-kmem.o
15splat-objs += splat-taskq.o
16splat-objs += splat-random.o
17splat-objs += splat-mutex.o
18splat-objs += splat-condvar.o
19splat-objs += splat-thread.o
20splat-objs += splat-rwlock.o
21splat-objs += splat-time.o
22
23splatmodule := splat.ko
24splatmoduledir := @kmoduledir@/kernel/lib/
25
26all: all-spec
27
28install: all
29 mkdir -p $(DESTDIR)$(splatmoduledir)
30 $(INSTALL) -m 644 $(splatmodule) $(DESTDIR)$(splatmoduledir)/$(splatmodule)
31 -/sbin/depmod -a
32
33uninstall:
34 rm -f $(DESTDIR)$(splatmoduledir)/$(splatmodule)
35 -/sbin/depmod -a
36
37clean:
38 -rm -f $(splmodule) *.o .*.cmd *.mod.c *.ko *.s */*.o
39
40distclean: clean
41 rm -f Makefile
42 rm -rf .tmp_versions
43
44maintainer-clean: distclean
45
46distdir: $(DISTFILES)
47 cp -p $(DISTFILES) $(distdir)
48
49all-spec:
50 $(MAKE) -C @kernelsrc@ SUBDIRS=`pwd` @KERNELMAKE_PARAMS@ modules