1 # Makefile.in for splat kernel module
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@
10 # Solaris porting layer aggressive tests
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
23 splatmodule
:= splat.ko
24 splatmoduledir
:= @kmoduledir@
/kernel
/lib
/
29 mkdir
-p
$(DESTDIR
)$(splatmoduledir
)
30 $(INSTALL
) -m
644 $(splatmodule
) $(DESTDIR
)$(splatmoduledir
)/$(splatmodule
)
34 rm -f
$(DESTDIR
)$(splatmoduledir
)/$(splatmodule
)
38 -rm -f
$(splmodule
) *.o .
*.cmd
*.mod.c
*.ko
*.s
*/*.o
44 maintainer-clean
: distclean
47 cp
-p
$(DISTFILES
) $(distdir
)
50 $(MAKE
) -C @kernelsrc@ SUBDIRS
=`pwd` @KERNELMAKE_PARAMS@ modules