]> git.proxmox.com Git - mirror_spl.git/blob - modules/splat/Makefile.in
OK, some pretty substantial rework here. I've merged the spl-file
[mirror_spl.git] / modules / 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 \
8 splat-ctl.c splat-internal.h
9
10 CPPFLAGS += @KERNELCPPFLAGS@
11
12 # Solaris porting layer aggressive tests
13 obj-m := splat.o
14
15 splat-objs += splat-ctl.o
16 splat-objs += splat-kmem.o
17 splat-objs += splat-taskq.o
18 splat-objs += splat-random.o
19 splat-objs += splat-mutex.o
20 splat-objs += splat-condvar.o
21 splat-objs += splat-thread.o
22 splat-objs += splat-rwlock.o
23 splat-objs += splat-time.o
24 splat-objs += splat-vnode.o
25 splat-objs += splat-kobj.o
26
27 splatmodule := splat.ko
28 splatmoduledir := @kmoduledir@/kernel/lib/
29
30 install:
31 mkdir -p $(DESTDIR)$(splatmoduledir)
32 $(INSTALL) -m 644 $(splatmodule) $(DESTDIR)$(splatmoduledir)/$(splatmodule)
33 -/sbin/depmod -a
34
35 uninstall:
36 rm -f $(DESTDIR)$(splatmoduledir)/$(splatmodule)
37 -/sbin/depmod -a
38
39 clean:
40 -rm -f $(splmodule) *.o .*.cmd *.mod.c *.ko *.s */*.o
41
42 distclean: clean
43 rm -f Makefile
44 rm -rf .tmp_versions
45
46 maintainer-clean: distclean
47
48 distdir: $(DISTFILES)
49 cp -p $(DISTFILES) $(distdir)