diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | tools/Makefile.am | 2 | ||||
-rw-r--r-- | tools/getkversion/Makefile.am | 12 | ||||
-rw-r--r-- | tools/getkversion/getkversion.c | 19 |
5 files changed, 1 insertions, 34 deletions
@@ -46,7 +46,6 @@ utils/showmount/showmount utils/statd/statd tools/locktest/testlk tools/getiversion/getiversion -tools/getkversion/getkversion support/export/mount.h support/export/mount_clnt.c support/export/mount_xdr.c diff --git a/configure.in b/configure.in index 7cec002..757ebb8 100644 --- a/configure.in +++ b/configure.in @@ -319,7 +319,6 @@ AC_CONFIG_FILES([ support/nfs/Makefile tools/Makefile tools/getiversion/Makefile - tools/getkversion/Makefile tools/locktest/Makefile tools/nlmtest/Makefile tools/rpcdebug/Makefile diff --git a/tools/Makefile.am b/tools/Makefile.am index c4c9875..515da13 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,5 +1,5 @@ ## Process this file with automake to produce Makefile.in -SUBDIRS = getiversion getkversion locktest rpcdebug rpcgen nlmtest +SUBDIRS = getiversion locktest rpcdebug rpcgen nlmtest MAINTAINERCLEANFILES = Makefile.in diff --git a/tools/getkversion/Makefile.am b/tools/getkversion/Makefile.am deleted file mode 100644 index 4f89892..0000000 --- a/tools/getkversion/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -## Process this file with automake to produce Makefile.in - -CC=$(CC_FOR_BUILD) -LIBTOOL = @LIBTOOL@ --tag=CC - -noinst_PROGRAMS = getkversion -getkversion_SOURCES = getkversion.c -getkversion_CFLAGS=$(CFLAGS_FOR_BUILD) -getkversion_CPPFLAGS=$(CPPFLAGS_FOR_BUILD) -getkversion_LDFLAGS=$(LDFLAGS_FOR_BUILD) - -MAINTAINERCLEANFILES = Makefile.in diff --git a/tools/getkversion/getkversion.c b/tools/getkversion/getkversion.c deleted file mode 100644 index abe1705..0000000 --- a/tools/getkversion/getkversion.c +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Get version number of the kernel this was compiled for. - * This is NOT the same as calling uname(), because we may be - * running on a different kernel. - */ - -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - -#include <linux/version.h> -#include <stdio.h> - -int -main(void) /* This is for Dan Popp ;) */ -{ - printf("%s\n", UTS_RELEASE); - return 0; -} |