Put the tests directory under autoconf
authorTheodore Tso <tytso@mit.edu>
Thu, 15 Sep 1994 22:34:43 +0000 (22:34 +0000)
committerTheodore Tso <tytso@mit.edu>
Thu, 15 Sep 1994 22:34:43 +0000 (22:34 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4256 dc483132-0cff-0310-8789-dd5450dbe970

src/configure.in
src/tests/Makefile.in [new file with mode: 0644]
src/tests/configure.in [new file with mode: 0644]
src/tests/create/Makefile.in [new file with mode: 0644]
src/tests/create/configure.in [new file with mode: 0644]
src/tests/hammer/Makefile.in [new file with mode: 0644]
src/tests/hammer/configure.in [new file with mode: 0644]
src/tests/verify/Makefile.in [new file with mode: 0644]
src/tests/verify/configure.in [new file with mode: 0644]

index 1e1ff3663ea8d25aedd3947ce8e9480d16cc159a..c24605d9e681a42b12f9edbb93ad8a8a2d70ed7b 100644 (file)
@@ -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 (file)
index 0000000..76388e8
--- /dev/null
@@ -0,0 +1,2 @@
+CFLAGS = $(CCOPTS)
+LDFLAGS = -g
diff --git a/src/tests/configure.in b/src/tests/configure.in
new file mode 100644 (file)
index 0000000..88efad4
--- /dev/null
@@ -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 (file)
index 0000000..31231ac
--- /dev/null
@@ -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 (file)
index 0000000..8f48de8
--- /dev/null
@@ -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 (file)
index 0000000..3455ca3
--- /dev/null
@@ -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 (file)
index 0000000..eb641cf
--- /dev/null
@@ -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 (file)
index 0000000..6a32771
--- /dev/null
@@ -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 (file)
index 0000000..591e3d6
--- /dev/null
@@ -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])