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