2008-02-26 23:36:04 +03:00
|
|
|
# Makefile.in for splat kernel module
|
|
|
|
|
|
|
|
MODULES := splat
|
2009-01-13 20:30:59 +03:00
|
|
|
DISTFILES = Makefile.in *.c *.h
|
2008-06-02 21:28:49 +04:00
|
|
|
EXTRA_CFLAGS = @KERNELCPPFLAGS@
|
2008-02-26 23:36:04 +03:00
|
|
|
|
2008-05-26 08:38:26 +04:00
|
|
|
# Solaris Porting LAyer Tests
|
2008-02-26 23:36:04 +03: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 23:52:46 +03:00
|
|
|
splat-objs += splat-vnode.o
|
2008-03-11 23:54:40 +03:00
|
|
|
splat-objs += splat-kobj.o
|
2008-03-28 21:21:09 +03:00
|
|
|
splat-objs += splat-atomic.o
|
2009-01-07 23:54:03 +03:00
|
|
|
splat-objs += splat-list.o
|
2009-01-13 20:30:59 +03:00
|
|
|
splat-objs += splat-generic.o
|
2008-02-26 23:36:04 +03:00
|
|
|
|
|
|
|
splatmodule := splat.ko
|
|
|
|
splatmoduledir := @kmoduledir@/kernel/lib/
|
|
|
|
|
2008-02-27 23:52:44 +03:00
|
|
|
install:
|
2008-02-26 23:36:04 +03: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)
|