From a6314ba4bd49a043d3340d57a7b2ebb6baa1faf5 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 15 Sep 1994 22:34:43 +0000 Subject: [PATCH] Put the tests directory under autoconf git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4256 dc483132-0cff-0310-8789-dd5450dbe970 --- src/configure.in | 2 +- src/tests/Makefile.in | 2 ++ src/tests/configure.in | 9 +++++++++ src/tests/create/Makefile.in | 24 ++++++++++++++++++++++++ src/tests/create/configure.in | 11 +++++++++++ src/tests/hammer/Makefile.in | 23 +++++++++++++++++++++++ src/tests/hammer/configure.in | 11 +++++++++++ src/tests/verify/Makefile.in | 24 ++++++++++++++++++++++++ src/tests/verify/configure.in | 11 +++++++++++ 9 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 src/tests/Makefile.in create mode 100644 src/tests/configure.in create mode 100644 src/tests/create/Makefile.in create mode 100644 src/tests/create/configure.in create mode 100644 src/tests/hammer/Makefile.in create mode 100644 src/tests/hammer/configure.in create mode 100644 src/tests/verify/Makefile.in create mode 100644 src/tests/verify/configure.in diff --git a/src/configure.in b/src/configure.in index 1e1ff3663..c24605d9e 100644 --- a/src/configure.in +++ b/src/configure.in @@ -4,7 +4,7 @@ CONFIG_RULES AC_SET_BUILDTOP WITH_KRB5ROOT AC_ENABLE([isode],isode=isode,) -CONFIG_DIRS(util include $isode lib kdc admin kadmin slave clients appl) +CONFIG_DIRS(util include $isode lib kdc admin kadmin slave clients appl tests) MAKE_SUBDIRS("making",all) MAKE_SUBDIRS("cleaning",clean) MAKE_SUBDIRS("installing",install) diff --git a/src/tests/Makefile.in b/src/tests/Makefile.in new file mode 100644 index 000000000..76388e8c6 --- /dev/null +++ b/src/tests/Makefile.in @@ -0,0 +1,2 @@ +CFLAGS = $(CCOPTS) +LDFLAGS = -g diff --git a/src/tests/configure.in b/src/tests/configure.in new file mode 100644 index 000000000..88efad487 --- /dev/null +++ b/src/tests/configure.in @@ -0,0 +1,9 @@ +AC_INIT(configure.in) +WITH_CCOPTS +AC_SET_BUILDTOP +CONFIG_DIRS(asn.1 create hammer verify) +MAKE_SUBDIRS("making",all) +MAKE_SUBDIRS("cleaning",clean) +MAKE_SUBDIRS("installing",install) +CONFIG_RULES +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/tests/create/Makefile.in b/src/tests/create/Makefile.in new file mode 100644 index 000000000..31231acd4 --- /dev/null +++ b/src/tests/create/Makefile.in @@ -0,0 +1,24 @@ +CFLAGS = $(CCOPTS) $(DEFS) +LDFLAGS = -g + +ISODELIB=@ISODELIB@ +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= +KDBLIB=$(TOPLIBD)/libkdb5.a + +all:: kdb5_mkdums + +KLIB = $(KDBLIB) $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + +kdb5_mkdums: kdb5_mkdums.o + $(CC) $(CFLAGS) -o kdb5_mkdums kdb5_mkdums.o $(KLIB) $(LIBS) + +kdb5_mkdums.o: $(srcdir)/kdb5_mkdums.c + +all:: kdb5_mkdums + +install:: + +clean:: + $(RM) kdb5_mkdums.o kdb5_mkdums + diff --git a/src/tests/create/configure.in b/src/tests/create/configure.in new file mode 100644 index 000000000..8f48de853 --- /dev/null +++ b/src/tests/create/configure.in @@ -0,0 +1,11 @@ +AC_INIT(kdb5_mkdums.c) +WITH_CCOPTS +CONFIG_RULES +AC_SET_BUILDTOP +AC_PROG_INSTALL +AC_HAVE_LIBRARY(socket) +AC_HAVE_LIBRARY(nsl) +KRB_INCLUDE +ISODE_INCLUDE +WITH_KRB5ROOT +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/tests/hammer/Makefile.in b/src/tests/hammer/Makefile.in new file mode 100644 index 000000000..3455ca352 --- /dev/null +++ b/src/tests/hammer/Makefile.in @@ -0,0 +1,23 @@ +CFLAGS = $(CCOPTS) $(DEFS) +LDFLAGS = -g + +ISODELIB=@ISODELIB@ +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= + +all:: kdc5_hammer + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + +kdc5_hammer: kdc5_hammer.o + $(CC) $(CFLAGS) -o kdc5_hammer kdc5_hammer.o $(KLIB) $(LIBS) + +kdc5_hammer.o: $(srcdir)/kdc5_hammer.c + +all:: kdc5_hammer + +install:: + +clean:: + $(RM) kdc5_hammer.o kdc5_hammer + diff --git a/src/tests/hammer/configure.in b/src/tests/hammer/configure.in new file mode 100644 index 000000000..eb641cf25 --- /dev/null +++ b/src/tests/hammer/configure.in @@ -0,0 +1,11 @@ +AC_INIT(kdc5_hammer.c) +WITH_CCOPTS +CONFIG_RULES +AC_SET_BUILDTOP +AC_PROG_INSTALL +AC_HAVE_LIBRARY(socket) +AC_HAVE_LIBRARY(nsl) +KRB_INCLUDE +ISODE_INCLUDE +WITH_KRB5ROOT +AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/tests/verify/Makefile.in b/src/tests/verify/Makefile.in new file mode 100644 index 000000000..6a32771b3 --- /dev/null +++ b/src/tests/verify/Makefile.in @@ -0,0 +1,24 @@ +CFLAGS = $(CCOPTS) $(DEFS) +LDFLAGS = -g + +ISODELIB=@ISODELIB@ +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= +KDBLIB=$(TOPLIBD)/libkdb5.a + +all:: kdb5_verify + +KLIB = $(KDBLIB) $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + +kdb5_verify: kdb5_verify.o + $(CC) $(CFLAGS) -o kdb5_verify kdb5_verify.o $(KLIB) $(LIBS) + +kdb5_verify.o: $(srcdir)/kdb5_verify.c + +all:: kdb5_verify + +install:: + +clean:: + $(RM) kdb5_verify.o kdb5_verify + diff --git a/src/tests/verify/configure.in b/src/tests/verify/configure.in new file mode 100644 index 000000000..591e3d663 --- /dev/null +++ b/src/tests/verify/configure.in @@ -0,0 +1,11 @@ +AC_INIT(kdb5_verify.c) +WITH_CCOPTS +CONFIG_RULES +AC_SET_BUILDTOP +AC_PROG_INSTALL +AC_HAVE_LIBRARY(socket) +AC_HAVE_LIBRARY(nsl) +KRB_INCLUDE +ISODE_INCLUDE +WITH_KRB5ROOT +AC_OUTPUT(Makefile,[EXTRA_RULES]) -- 2.26.2