* configure.in: Use new library build rules
authorTom Yu <tlyu@mit.edu>
Wed, 19 Nov 1997 00:55:59 +0000 (00:55 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 19 Nov 1997 00:55:59 +0000 (00:55 +0000)
* Makefile.in: Use new library build rules.

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

src/lib/krb5util/ChangeLog
src/lib/krb5util/Makefile.in
src/lib/krb5util/configure.in

index 515b199d5b6b17a59c87badc2775f0d8df0d6400..57fdd7455a8af6722fdd71ed157773b4678cddc2 100644 (file)
@@ -1,3 +1,9 @@
+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
index b25298adb284012df0ddf3aa70b5db3381212a58..ecab500328e07284b0443f7339054af8b6b62d5c 100644 (file)
@@ -3,39 +3,25 @@ CFLAGS = $(CCOPTS) $(DEFS)
 ##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
index 638bf2735536157d0aeb8bde1d95495b7c7a43ba..4db6fec014cb4dac94363a6f43ebdcbe130bd9b4 100644 (file)
@@ -1,12 +1,8 @@
 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