* Makefile.in:
authorTom Yu <tlyu@mit.edu>
Thu, 21 Jul 1994 05:05:04 +0000 (05:05 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 21 Jul 1994 05:05:04 +0000 (05:05 +0000)
* configure.in: attempt to autoconf

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4005 dc483132-0cff-0310-8789-dd5450dbe970

src/clients/ksu/ChangeLog
src/clients/ksu/Makefile.in [new file with mode: 0644]
src/clients/ksu/configure.in [new file with mode: 0644]

index 101001b20768018ea412de11c2360d6e6d0bc85e..e9aac13d1a4f56c13b121f915d525545e1775d42 100644 (file)
@@ -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 (file)
index 0000000..f452b6c
--- /dev/null
@@ -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 (file)
index 0000000..9036ba9
--- /dev/null
@@ -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])