summaryrefslogtreecommitdiffstats
path: root/src/admin/create
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1994-06-09 23:07:20 +0000
committerMark Eichin <eichin@mit.edu>1994-06-09 23:07:20 +0000
commitbfada90ca02dc1dc5c554eddf8ccba269e24ab99 (patch)
treece283363544a1d7b961c85ee1b8d391bd25b48aa /src/admin/create
parentb53c50df36fcea380b72b94bce54ae9b1521b93a (diff)
downloadkrb5-bfada90ca02dc1dc5c554eddf8ccba269e24ab99.tar.gz
krb5-bfada90ca02dc1dc5c554eddf8ccba269e24ab99.tar.xz
krb5-bfada90ca02dc1dc5c554eddf8ccba269e24ab99.zip
autoconf enhancements for kerberos
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3690 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/admin/create')
-rw-r--r--src/admin/create/Makefile.in33
-rw-r--r--src/admin/create/configure.in7
2 files changed, 40 insertions, 0 deletions
diff --git a/src/admin/create/Makefile.in b/src/admin/create/Makefile.in
new file mode 100644
index 0000000000..0ebe65c611
--- /dev/null
+++ b/src/admin/create/Makefile.in
@@ -0,0 +1,33 @@
+srcdir = @srcdir@
+VPATH = @srcdir@
+
+DEFS = @DEFS@
+LIBS = @LIBS@
+
+CFLAGS = -g $(DEFS) $(LOCALINCLUDE)
+LDFLAGS = -g
+
+BUILDTOP=../..
+SRCTOP = $(srcdir)/$(BUILDTOP)
+TOPLIBD = $(BUILDTOP)/lib
+ISODELIB=$(TOPLIBD)/libisode.a
+COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a
+DBMLIB=
+KDBLIB=$(TOPLIBD)/libkdb5.a
+
+all::
+
+KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB)
+
+
+DEPLIBS = $(DEPKDBLIB) $(DEPKLIB)
+LOCAL_LIBRARIES = $(KDBLIB) $(KLIB)
+
+all:: kdb5_create
+
+kdb5_create: kdb5_create.o $(DEPLIBS)
+ $(CC) $(CFLAGS) -o kdb5_create kdb5_create.o $(LOCAL_LIBRARIES) $(LIBS)
+
+install::
+ $(INSTALLPROG) kdb5_create ${DESTDIR}$(ADMIN_BINDIR)/kdb5_create
+ $(INSTALLPROG) kdb5_create.M ${DESTDIR}$(ADMIN_MANDIR)/kdb5_create.$(ADMIN_MANSUFFIX)
diff --git a/src/admin/create/configure.in b/src/admin/create/configure.in
new file mode 100644
index 0000000000..d2310e478e
--- /dev/null
+++ b/src/admin/create/configure.in
@@ -0,0 +1,7 @@
+AC_INIT(kdb5_create.c)
+AC_HAVE_LIBRARY(socket)
+AC_HAVE_LIBRARY(nsl)
+CONFIG_RULES
+KRB_INCLUDE
+ISODE_INCLUDE
+AC_OUTPUT(Makefile,[EXTRA_RULES])