2008-02-26 20:36:04 +00:00
|
|
|
# Makefile.in for splat kernel module
|
|
|
|
|
|
|
|
MODULES := splat
|
|
|
|
DISTFILES = Makefile.in \
|
|
|
|
splat-kmem.c splat-random.c splat-taskq.c \
|
|
|
|
splat-time.c splat-condvar.c splat-mutex.c \
|
2008-02-27 23:42:31 +00:00
|
|
|
splat-rwlock.c splat-thread.c \
|
|
|
|
splat-ctl.c splat-internal.h
|
|
|
|
|
2008-02-27 00:59:48 +00:00
|
|
|
CPPFLAGS += @KERNELCPPFLAGS@
|
2008-02-26 20:36:04 +00:00
|
|
|
|
2008-05-26 04:38:26 +00:00
|
|
|
# Solaris Porting LAyer Tests
|
2008-02-26 20:36:04 +00:00
|
|
|
obj-m := splat.o
|
|
|
|
|
|
|
|
splat-objs += splat-ctl.o
|
|
|
|
splat-objs += splat-kmem.o
|
|
|
|
splat-objs += splat-taskq.o
|
|
|
|
splat-objs += splat-random.o
|
|
|
|
splat-objs += splat-mutex.o
|
|
|
|
splat-objs += splat-condvar.o
|
|
|
|
splat-objs += splat-thread.o
|
|
|
|
splat-objs += splat-rwlock.o
|
|
|
|
splat-objs += splat-time.o
|
2008-03-12 20:52:46 +00:00
|
|
|
splat-objs += splat-vnode.o
|
2008-03-11 20:54:40 +00:00
|
|
|
splat-objs += splat-kobj.o
|
2008-03-28 18:21:09 +00:00
|
|
|
splat-objs += splat-atomic.o
|
2008-02-26 20:36:04 +00:00
|
|
|
|
|
|
|
splatmodule := splat.ko
|
|
|
|
splatmoduledir := @kmoduledir@/kernel/lib/
|
|
|
|
|
2008-02-27 20:52:44 +00:00
|
|
|
install:
|
2008-02-26 20:36:04 +00:00
|
|
|
mkdir -p $(DESTDIR)$(splatmoduledir)
|
|
|
|
$(INSTALL) -m 644 $(splatmodule) $(DESTDIR)$(splatmoduledir)/$(splatmodule)
|
|
|
|
-/sbin/depmod -a
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
rm -f $(DESTDIR)$(splatmoduledir)/$(splatmodule)
|
|
|
|
-/sbin/depmod -a
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-rm -f $(splmodule) *.o .*.cmd *.mod.c *.ko *.s */*.o
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f Makefile
|
|
|
|
rm -rf .tmp_versions
|
|
|
|
|
|
|
|
maintainer-clean: distclean
|
|
|
|
|
|
|
|
distdir: $(DISTFILES)
|
|
|
|
cp -p $(DISTFILES) $(distdir)
|