From 0cdb2583996bdd6e2f03db5053044d7fa3018429 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Thu, 21 Jul 1994 05:05:04 +0000 Subject: [PATCH] * Makefile.in: * configure.in: attempt to autoconf git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4005 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/ksu/ChangeLog | 5 +++++ src/clients/ksu/Makefile.in | 34 ++++++++++++++++++++++++++++++++++ src/clients/ksu/configure.in | 11 +++++++++++ 3 files changed, 50 insertions(+) create mode 100644 src/clients/ksu/Makefile.in create mode 100644 src/clients/ksu/configure.in diff --git a/src/clients/ksu/ChangeLog b/src/clients/ksu/ChangeLog index 101001b20..e9aac13d1 100644 --- a/src/clients/ksu/ChangeLog +++ b/src/clients/ksu/ChangeLog @@ -1,3 +1,8 @@ +Thu Jul 21 01:01:20 1994 Tom Yu (tlyu at dragons-lair) + + * Makefile.in: + * configure.in: attempt to autoconf + Sat Jul 16 03:02:17 1994 Tom Yu (tlyu at dragons-lair) * ksu.c: frob error codes diff --git a/src/clients/ksu/Makefile.in b/src/clients/ksu/Makefile.in new file mode 100644 index 000000000..f452b6c66 --- /dev/null +++ b/src/clients/ksu/Makefile.in @@ -0,0 +1,34 @@ +DEFINES = -DLOCAL_REALM='"."' -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/bin /local/bin"' +CFLAGS = $(CCOPTS) $(DEFINES) $(DEFS) $(LOCALINCLUDE) +LDFLAGS = -g + +ISODELIB=@ISODELIB@ +COMERRLIB=$(BUILDTOP)/util/et/libcom_err.a +DBMLIB= + +SRCS = \ + $(srcdir)/krb_auth_su.c \ + $(srcdir)/ccache.c \ + $(srcdir)/authorization.c \ + $(srcdir)/main.c \ + $(srcdir)/heuristic.c +OBJS = \ + krb_auth_su.o \ + ccache.o \ + authorization.o \ + main.o \ + heuristic.o + +all:: ksu + +KLIB = $(TOPLIBD)/libkrb5.a $(TOPLIBD)/libcrypto.a $(ISODELIB) $(COMERRLIB) $(DBMLIB) + +ksu: $(OBJS) + $(CC) $(CFLAGS) -o ksu $(OBJS) $(KLIB) $(LIBS) + +clean:: + $(RM) ksu + +install:: + $(INSTALL_PROGRAM) ksu ${DESTDIR}$(CLIENT_BINDIR)/ksu + $(INSTALL_DATA) ksu.1 ${DESTDIR}$(CLIENT_MANDIR)/ksu.1 diff --git a/src/clients/ksu/configure.in b/src/clients/ksu/configure.in new file mode 100644 index 000000000..9036ba9a5 --- /dev/null +++ b/src/clients/ksu/configure.in @@ -0,0 +1,11 @@ +AC_INIT(krb_auth_su.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