+Tue Nov 18 19:55:22 1997 Tom Yu <tlyu@mit.edu>
+
+ * configure.in: Use new library build rules.
+
+ * Makefile.in: Use new library build rules.
+
Tue Feb 18 09:47:34 1997 Ezra Peisach <epeisach@mit.edu>
* compat_recv.c: Remove include of kerberosIV/krb4-proto.h
##DOSBUILDTOP = ..\..
##DOSLIBNAME=krb5util.lib
-.c.o:
- $(CC) $(CFLAGS) -c $(srcdir)/$*.c
-
OBJS= compat_recv.$(OBJEXT) seteuid.$(OBJEXT)
+STLIBOBJS=compat_recv.o seteuid.o
+
SRCS= $(srcdir)/compat_recv.c $(srcdir)/seteuid.c
-LIB_SUBDIRS= .
-LIBDONE= DONE
+LIB=krb5util
+LIBMAJOR=1
+LIBMINOR=0
+STOBJLISTS=OBJS.ST
+RELDIR=krb5util
LIBNAME=libkrb5util.
-all::
-
-all-unix:: libkrb5util.$(LIBEXT)
+all-unix:: all-liblinks
all-mac::
all-windows::
-libkrb5util.a: $(OBJS)
- $(RM) $@
- $(ARADD) $@ $(OBJS)
- $(RANLIB) $@
-
-install:: libkrb5util.a
- $(INSTALL_DATA) libkrb5util.a $(DESTDIR)$(KRB5_LIBDIR)/libkrb5util.a
- $(RANLIB) $(DESTDIR)$(KRB5_LIBDIR)/libkrb5util.a
-
-check-unix::
-check-mac::
-check-windows::
-
-clean-unix::
- $(RM) libkrb5util.$(LIBEXT)
+clean-unix:: clean-liblinks clean-libs clean-libobjs
clean-mac::
clean-windows::
$(RM) krb5util.lib krb5util.bak
AC_INIT(configure.in)
CONFIG_RULES
-AC_PROG_ARCHIVE
-AC_PROG_ARCHIVE_ADD
-AC_PROG_RANLIB
-AC_PROG_INSTALL
AC_CHECK_HEADERS(unistd.h stdlib.h sys/types.h)
AC_CHECK_FUNCS(seteuid setresuid setreuid)
-LinkFileDir(../libkrb5util.a, libkrb5util.a, ./krb5util)
-AppendRule([all-unix:: ../libkrb5util.a])
dnl AppendRule([all:: all-$(WHAT)])
+KRB5_BUILD_LIBRARY_STATIC
+KRB5_BUILD_LIBOBJS
V5_AC_OUTPUT_MAKEFILE