Change all uses of LIB in UNIX makefiles to LIBBASE, for better Windows
authorKen Raeburn <raeburn@mit.edu>
Fri, 4 Jun 2004 22:35:25 +0000 (22:35 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 4 Jun 2004 22:35:25 +0000 (22:35 +0000)
compatibility.  (Windows nmake exports make variables into the environment, and
LIB is treated by the Windows linker as a search path for libraries, thus
breaking the linking on Windows of anything needing libraries from the search
path in directories where we build libraries on UNIX.)

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

40 files changed:
src/ChangeLog
src/aclocal.m4
src/appl/telnet/libtelnet/ChangeLog
src/appl/telnet/libtelnet/Makefile.in
src/config/ChangeLog
src/config/lib.in
src/config/pre.in
src/config/shlib.conf
src/lib/apputils/ChangeLog
src/lib/apputils/Makefile.in
src/lib/crypto/ChangeLog
src/lib/crypto/Makefile.in
src/lib/des425/ChangeLog
src/lib/des425/Makefile.in
src/lib/gssapi/ChangeLog
src/lib/gssapi/Makefile.in
src/lib/kadm5/clnt/ChangeLog
src/lib/kadm5/clnt/Makefile.in
src/lib/kadm5/srv/ChangeLog
src/lib/kadm5/srv/Makefile.in
src/lib/kdb/ChangeLog
src/lib/kdb/Makefile.in
src/lib/krb4/ChangeLog
src/lib/krb4/Makefile.in
src/lib/krb5/ChangeLog
src/lib/krb5/Makefile.in
src/lib/rpc/ChangeLog
src/lib/rpc/Makefile.in
src/util/db2/ChangeLog
src/util/db2/Makefile.in
src/util/et/ChangeLog
src/util/et/Makefile.in
src/util/profile/ChangeLog
src/util/profile/Makefile.in
src/util/pty/ChangeLog
src/util/pty/Makefile.in
src/util/ss/ChangeLog
src/util/ss/Makefile.in
src/util/support/ChangeLog
src/util/support/Makefile.in

index c095304f62ece20a16b22db1826e17f97d81dfcc..77501629a247a91604b6bfa919fa3cf483764444 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * aclocal.m4 (KRB5_LIB_AUX): Use $(LIBBASE) instead of $(LIB).
+
 2004-06-03  Ken Raeburn  <raeburn@mit.edu>
 
        * configure.in: Check for various _r functions needed for thread
index 51664026fa4d4b993fa7d0979d2d872dee642e4c..010f3d8006d969a15a727e2585958e81691ed60c 100644 (file)
@@ -1169,8 +1169,8 @@ if test "$enable_static" = no && test "$krb5_force_static" != yes; then
        LIBLIST=
        OBJLISTS=
 else
-       LIBLIST='lib$(LIB)$(STLIBEXT)'
-       LIBLINKS='$(TOPLIBD)/lib$(LIB)$(STLIBEXT)'
+       LIBLIST='lib$(LIBBASE)$(STLIBEXT)'
+       LIBLINKS='$(TOPLIBD)/lib$(LIBBASE)$(STLIBEXT)'
        OBJLISTS=OBJS.ST
        LIBINSTLIST=install-static
        DEPLIBEXT=$STLIBEXT
@@ -1208,15 +1208,15 @@ if test "$enable_shared" = yes; then
                                OBJLISTS=
                                LIBINSTLIST=
                        fi
-                       LIBLIST="$LIBLIST "'lib$(LIB)$(SHLIBEXT)'
-                       LIBLINKS="$LIBLINKS "'$(TOPLIBD)/lib$(LIB)$(SHLIBEXT) $(TOPLIBD)/lib$(LIB)$(SHLIBVEXT)'
+                       LIBLIST="$LIBLIST "'lib$(LIBBASE)$(SHLIBEXT)'
+                       LIBLINKS="$LIBLINKS "'$(TOPLIBD)/lib$(LIBBASE)$(SHLIBEXT) $(TOPLIBD)/lib$(LIBBASE)$(SHLIBVEXT)'
                        case "$SHLIBSEXT" in
                        .so.s-nobuild)
                                LIBINSTLIST="$LIBINSTLIST install-shared"
                                ;;
                        *)
-                               LIBLIST="$LIBLIST "'lib$(LIB)$(SHLIBSEXT)'
-                               LIBLINKS="$LIBLINKS "'$(TOPLIBD)/lib$(LIB)$(SHLIBSEXT)'
+                               LIBLIST="$LIBLIST "'lib$(LIBBASE)$(SHLIBSEXT)'
+                               LIBLINKS="$LIBLINKS "'$(TOPLIBD)/lib$(LIBBASE)$(SHLIBSEXT)'
                                LIBINSTLIST="$LIBINSTLIST install-shlib-soname"
                                ;;
                        esac
@@ -1247,8 +1247,8 @@ AC_ARG_ENABLE([profiled],
                ;;
        *)
                AC_MSG_NOTICE([enabling profiled libraries])
-               LIBLIST="$LIBLIST "'lib$(LIB)$(PFLIBEXT)'
-               LIBLINKS="$LIBLINKS "'$(TOPLIBD)/lib$(LIB)$(PFLIBEXT)'
+               LIBLIST="$LIBLIST "'lib$(LIBBASE)$(PFLIBEXT)'
+               LIBLINKS="$LIBLINKS "'$(TOPLIBD)/lib$(LIBBASE)$(PFLIBEXT)'
                OBJLISTS="$OBJLISTS OBJS.PF"
                LIBINSTLIST="$LIBINSTLIST install-profiled"
                ;;
index ee96ebf12bb93295fc320ad53fc05b9fd31eb149..9e5c888d76676fc4d49365627b65da23a52e7a1e 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-03-04  Ken Raeburn  <raeburn@mit.edu>
 
        * configure.in: Deleted; configure this dir from parent now.
index 80fcabf8c8c0bf12a808623f6df16aaa612b29c2..bddb40a694ac0d131f4cbb92cf8d015fe10d5af3 100644 (file)
@@ -32,7 +32,7 @@ LIBOBJS=@LIBOBJS@
 SETENVSRC=@SETENVSRC@
 SETENVOBJ=@SETENVOBJ@
 
-LIB=telnet
+LIBBASE=telnet
 LIBMAJOR=0
 LIBMINOR=0
 RELDIR=../../../appl/telnet/libtelnet
index fb0398695a0c6ea46e57c8bff7cd06a184a7bf6d..f04f6ac3c6754639ea7b1821109884df48f92ada 100644 (file)
@@ -1,3 +1,10 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * lib.in (lib*, clean-*, install-*): Use $(LIBBASE) instead of
+       $(LIB).
+       * pre.in (SHLIB_EXPORT_FILE): Likewise.
+       * shlib.conf: Likewise.
+
 2004-05-30  Ken Raeburn  <raeburn@mit.edu>
 
        * shlib.conf (*-*-aix*): Use linker options for library
index 1b3feb604bd9c9d5d8ba489e47ad6c0eabd66ce4..6818d4a328a53040285322ac53d25b64fdd58e97 100644 (file)
@@ -32,82 +32,82 @@ dummy-target-1 $(SUBDIROBJLISTS) $(SUBDIROBJLISTS:.ST=.SH) $(SUBDIROBJLISTS:.ST=
 # Gets invoked as $(PARSE_OBJLISTS) list-of-OBJS.*-files
 PARSE_OBJLISTS= set -x && $(PERL) -p -e '$$e=$$ARGV; $$e =~ s/OBJS\...$$//; s/^/ /; s/ $$//; s/ / $$e/g;'
 
-lib$(LIB)$(STLIBEXT): $(STOBJLISTS)
+lib$(LIBBASE)$(STLIBEXT): $(STOBJLISTS)
        $(RM) $@
-       @echo "building static $(LIB) library"
+       @echo "building static $(LIBBASE) library"
        set -x; objlist=`$(PARSE_OBJLISTS) $(STOBJLISTS)` && $(AR) cq $@ $$objlist
        $(RANLIB) $@
 
-lib$(LIB)$(SHLIBVEXT): $(SHOBJLISTS) $(SHLIB_EXPDEPS) $(SHLIB_EXPORT_FILE_DEP)
+lib$(LIBBASE)$(SHLIBVEXT): $(SHOBJLISTS) $(SHLIB_EXPDEPS) $(SHLIB_EXPORT_FILE_DEP)
        $(RM) $@
-       @echo "building shared $(LIB) library ($(LIBMAJOR).$(LIBMINOR))"
+       @echo "building shared $(LIBBASE) library ($(LIBMAJOR).$(LIBMINOR))"
        set -x; objlist=`$(PARSE_OBJLISTS) $(SHOBJLISTS)` && $(MAKE_SHLIB_COMMAND)
 
-lib$(LIB)$(SHLIBSEXT): lib$(LIB)$(SHLIBVEXT)
+lib$(LIBBASE)$(SHLIBSEXT): lib$(LIBBASE)$(SHLIBVEXT)
        $(RM) $@
-       $(LN_S) lib$(LIB)$(SHLIBVEXT) $@
-lib$(LIB)$(SHLIBEXT): lib$(LIB)$(SHLIBVEXT)
+       $(LN_S) lib$(LIBBASE)$(SHLIBVEXT) $@
+lib$(LIBBASE)$(SHLIBEXT): lib$(LIBBASE)$(SHLIBVEXT)
        $(RM) $@
-       $(LN_S) lib$(LIB)$(SHLIBVEXT) $@
+       $(LN_S) lib$(LIBBASE)$(SHLIBVEXT) $@
 
-lib$(LIB)$(PFLIBEXT): $(PFOBJLISTS)
+lib$(LIBBASE)$(PFLIBEXT): $(PFOBJLISTS)
        $(RM) $@
-       @echo "building profiled $(LIB) library"
+       @echo "building profiled $(LIBBASE) library"
        set -x; objlist=`$(PARSE_OBJLISTS) $(PFOBJLISTS)` && $(AR) cq $@ $$objlist
        $(RANLIB) $@
 
-$(TOPLIBD)/lib$(LIB)$(STLIBEXT): lib$(LIB)$(STLIBEXT)
+$(TOPLIBD)/lib$(LIBBASE)$(STLIBEXT): lib$(LIBBASE)$(STLIBEXT)
        $(RM) $@
-       (cd $(TOPLIBD) && $(LN_S) $(RELDIR)/lib$(LIB)$(STLIBEXT) .)
-$(TOPLIBD)/lib$(LIB)$(SHLIBEXT): lib$(LIB)$(SHLIBEXT)
+       (cd $(TOPLIBD) && $(LN_S) $(RELDIR)/lib$(LIBBASE)$(STLIBEXT) .)
+$(TOPLIBD)/lib$(LIBBASE)$(SHLIBEXT): lib$(LIBBASE)$(SHLIBEXT)
        $(RM) $@
-       (cd $(TOPLIBD) && $(LN_S) $(RELDIR)/lib$(LIB)$(SHLIBEXT) .)
-$(TOPLIBD)/lib$(LIB)$(SHLIBSEXT): lib$(LIB)$(SHLIBSEXT)
+       (cd $(TOPLIBD) && $(LN_S) $(RELDIR)/lib$(LIBBASE)$(SHLIBEXT) .)
+$(TOPLIBD)/lib$(LIBBASE)$(SHLIBSEXT): lib$(LIBBASE)$(SHLIBSEXT)
        $(RM) $@
-       (cd $(TOPLIBD) && $(LN_S) $(RELDIR)/lib$(LIB)$(SHLIBSEXT) .)
-$(TOPLIBD)/lib$(LIB)$(SHLIBVEXT): lib$(LIB)$(SHLIBVEXT)
+       (cd $(TOPLIBD) && $(LN_S) $(RELDIR)/lib$(LIBBASE)$(SHLIBSEXT) .)
+$(TOPLIBD)/lib$(LIBBASE)$(SHLIBVEXT): lib$(LIBBASE)$(SHLIBVEXT)
        $(RM) $@
-       (cd $(TOPLIBD) && $(LN_S) $(RELDIR)/lib$(LIB)$(SHLIBVEXT) .)
-$(TOPLIBD)/lib$(LIB)$(PFLIBEXT): lib$(LIB)$(PFLIBEXT)
+       (cd $(TOPLIBD) && $(LN_S) $(RELDIR)/lib$(LIBBASE)$(SHLIBVEXT) .)
+$(TOPLIBD)/lib$(LIBBASE)$(PFLIBEXT): lib$(LIBBASE)$(PFLIBEXT)
        $(RM) $@
-       (cd $(TOPLIBD) && $(LN_S) $(RELDIR)/lib$(LIB)$(PFLIBEXT) .)
+       (cd $(TOPLIBD) && $(LN_S) $(RELDIR)/lib$(LIBBASE)$(PFLIBEXT) .)
 
 all-libs: $(LIBLIST)
 all-liblinks: $(LIBLINKS)
 
 clean-libs:
-       $(RM) lib$(LIB)$(STLIBEXT)
-       $(RM) lib$(LIB)$(SHLIBVEXT)
-       $(RM) lib$(LIB)$(SHLIBSEXT)
-       $(RM) lib$(LIB)$(SHLIBEXT)
-       $(RM) lib$(LIB)$(PFLIBEXT)
+       $(RM) lib$(LIBBASE)$(STLIBEXT)
+       $(RM) lib$(LIBBASE)$(SHLIBVEXT)
+       $(RM) lib$(LIBBASE)$(SHLIBSEXT)
+       $(RM) lib$(LIBBASE)$(SHLIBEXT)
+       $(RM) lib$(LIBBASE)$(PFLIBEXT)
 
 clean-liblinks:
-       $(RM) $(TOPLIBD)/lib$(LIB)$(STLIBEXT)
-       $(RM) $(TOPLIBD)/lib$(LIB)$(SHLIBVEXT)
-       $(RM) $(TOPLIBD)/lib$(LIB)$(SHLIBSEXT)
-       $(RM) $(TOPLIBD)/lib$(LIB)$(SHLIBEXT)
-       $(RM) $(TOPLIBD)/lib$(LIB)$(PFLIBEXT)
+       $(RM) $(TOPLIBD)/lib$(LIBBASE)$(STLIBEXT)
+       $(RM) $(TOPLIBD)/lib$(LIBBASE)$(SHLIBVEXT)
+       $(RM) $(TOPLIBD)/lib$(LIBBASE)$(SHLIBSEXT)
+       $(RM) $(TOPLIBD)/lib$(LIBBASE)$(SHLIBEXT)
+       $(RM) $(TOPLIBD)/lib$(LIBBASE)$(PFLIBEXT)
 
 install-libs: $(LIBINSTLIST)
 install-static:
-       $(RM) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIB)$(STLIBEXT)
-       $(INSTALL_DATA) lib$(LIB)$(STLIBEXT) $(DESTDIR)$(KRB5_LIBDIR)
-       $(RANLIB) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIB)$(STLIBEXT)
+       $(RM) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIBBASE)$(STLIBEXT)
+       $(INSTALL_DATA) lib$(LIBBASE)$(STLIBEXT) $(DESTDIR)$(KRB5_LIBDIR)
+       $(RANLIB) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIBBASE)$(STLIBEXT)
 install-shared:
-       $(RM) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIB)$(SHLIBVEXT)
-       $(RM) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIB)$(SHLIBEXT)
-       $(INSTALL_SHLIB) lib$(LIB)$(SHLIBVEXT) $(DESTDIR)$(KRB5_LIBDIR)
-       (cd $(DESTDIR)$(KRB5_LIBDIR) && $(LN_S) lib$(LIB)$(SHLIBVEXT) \
-               lib$(LIB)$(SHLIBEXT))
+       $(RM) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIBBASE)$(SHLIBVEXT)
+       $(RM) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIBBASE)$(SHLIBEXT)
+       $(INSTALL_SHLIB) lib$(LIBBASE)$(SHLIBVEXT) $(DESTDIR)$(KRB5_LIBDIR)
+       (cd $(DESTDIR)$(KRB5_LIBDIR) && $(LN_S) lib$(LIBBASE)$(SHLIBVEXT) \
+               lib$(LIBBASE)$(SHLIBEXT))
 install-shlib-soname: install-shared
-       $(RM) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIB)$(SHLIBSEXT)
-       (cd $(DESTDIR)$(KRB5_LIBDIR) && $(LN_S) lib$(LIB)$(SHLIBVEXT) \
-               lib$(LIB)$(SHLIBSEXT))
+       $(RM) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIBBASE)$(SHLIBSEXT)
+       (cd $(DESTDIR)$(KRB5_LIBDIR) && $(LN_S) lib$(LIBBASE)$(SHLIBVEXT) \
+               lib$(LIBBASE)$(SHLIBSEXT))
 install-profiled:
-       $(RM) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIB)$(PFLIBEXT)
-       $(INSTALL_DATA) lib$(LIB)$(PFLIBEXT) $(DESTDIR)$(KRB5_LIBDIR)
-       $(RANLIB) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIB)$(PFLIBEXT)
+       $(RM) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIBBASE)$(PFLIBEXT)
+       $(INSTALL_DATA) lib$(LIBBASE)$(PFLIBEXT) $(DESTDIR)$(KRB5_LIBDIR)
+       $(RANLIB) $(DESTDIR)$(KRB5_LIBDIR)/lib$(LIBBASE)$(PFLIBEXT)
 
 Makefile: $(SRCTOP)/config/lib.in
 config.status: $(SRCTOP)/config/shlib.conf
index 19c2e36feeeccacb4b8ada4c9b0746f7365dba02..7668a9d59ea96f40520593f9ad1772af682d575e 100644 (file)
@@ -455,7 +455,7 @@ MAKE_COMMANDS-k5= $(BUILDTOP)/util/ss/mk_cmds
 LN_S=@LN_S@
 AR=@AR@
 
-# Set to "lib$(LIB)$(STEXT) lib$(LIB)$(SHEXT) lib$(LIB)$(PFEXT)" or
+# Set to "lib$(LIBBASE)$(STEXT) lib$(LIBBASE)$(SHEXT) lib$(LIBBASE)$(PFEXT)" or
 # some subset thereof by configure; determines which types of libs get
 # built.
 LIBLIST=@LIBLIST@
@@ -486,7 +486,7 @@ PFLIBEXT=@PFLIBEXT@
 
 # File with symbol names to be exported, both functions and data,
 # currently not distinguished.
-SHLIB_EXPORT_FILE=$(srcdir)/lib$(LIB).exports
+SHLIB_EXPORT_FILE=$(srcdir)/lib$(LIBBASE).exports
 
 # File that needs to be current for building the shared library,
 # usually SHLIB_EXPORT_FILE, but not always, if we have to convert
index 0768adb877f6003a69c2c671a7bf3f1837c6d2a3..bc545c4945619cf483a2b979c4f10ed3a28349c8 100644 (file)
@@ -37,7 +37,7 @@ alpha*-dec-osf*)
        # Alpha OSF/1 doesn't need separate PIC objects
        SHOBJEXT=.o
        INIT_FINI_PREP='if test -z "$(LIBINITFUNC)"; then initfini=""; else initfini="-Wl,-init,$(LIBINITFUNC)__auxinit"; fi; if test -z "$(LIBFINIFUNC)";then :;else initfini="$$initfini -Wl,-fini,$(LIBFINIFUNC)"; fi'
-       LDCOMBINE='sed "s/^/-exported_symbol /" < $(SHLIB_EXPORT_FILE) > export && $(CC) -shared -Wl,-expect_unresolved -Wl,\* -Wl,-update_registry -Wl,$(BUILDTOP)/so_locations -Wl,-soname -Wl,lib$(LIB)$(SHLIBSEXT) -Wl,-hidden -Wl,-input,export $$initfini'
+       LDCOMBINE='sed "s/^/-exported_symbol /" < $(SHLIB_EXPORT_FILE) > export && $(CC) -shared -Wl,-expect_unresolved -Wl,\* -Wl,-update_registry -Wl,$(BUILDTOP)/so_locations -Wl,-soname -Wl,lib$(LIBBASE)$(SHLIBSEXT) -Wl,-hidden -Wl,-input,export $$initfini'
        use_linker_init_option=yes
        use_linker_fini_option=yes
        EXTRA_FILES="$EXTRA_FILES export"
@@ -84,10 +84,10 @@ alpha*-dec-osf*)
        RPATH_FLAG='-Wl,+b,'
        if test "$krb5_cv_prog_gcc" = yes; then
                SHLIB_EXPFLAGS='-Wl,+s -Wl,+b,$(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
-               LDCOMBINE='gcc -fPIC -shared -Wl,+h,lib$(LIB)$(SHLIBSEXT)'
+               LDCOMBINE='gcc -fPIC -shared -Wl,+h,lib$(LIBBASE)$(SHLIBSEXT)'
        else
                SHLIB_EXPFLAGS='+s +b $(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
-               LDCOMBINE='ld -b +h lib$(LIB)$(SHLIBSEXT)'
+               LDCOMBINE='ld -b +h lib$(LIBBASE)$(SHLIBSEXT)'
        fi
        CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) -Wl,+s $(RPATH_FLAG)$(PROG_RPATH) $(CFLAGS) $(LDFLAGS)'
        CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) $(CFLAGS) $(LDFLAGS)'
@@ -101,9 +101,9 @@ mips-sgi-irix6.3)   # This is a Kludge; see below
        SHOBJEXT=.o
        # Kludge follows: (gcc makes n32 object files but ld expects o32, so we reeducate ld)
        if test "$krb5_cv_prog_gcc" = yes; then
-               LDCOMBINE='ld -n32 -shared -ignore_unresolved -update_registry $(BUILDTOP)/so_locations -soname lib$(LIB)$(SHLIBSEXT)'
+               LDCOMBINE='ld -n32 -shared -ignore_unresolved -update_registry $(BUILDTOP)/so_locations -soname lib$(LIBBASE)$(SHLIBSEXT)'
        else
-               LDCOMBINE='ld -shared -ignore_unresolved -update_registry $(BUILDTOP)/so_locations -soname lib$(LIB)$(SHLIBSEXT)'
+               LDCOMBINE='ld -shared -ignore_unresolved -update_registry $(BUILDTOP)/so_locations -soname lib$(LIBBASE)$(SHLIBSEXT)'
        fi
        SHLIB_EXPFLAGS='-rpath $(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
        # no gprof for Irix...
@@ -141,7 +141,7 @@ mips-sgi-irix*)
                INIT_FINI_PREP='if test -z "$(LIBINITFUNC)"; then initfini=""; else initfini="-Wl,-init,$(LIBINITFUNC)__auxinit"; fi; if test -z "$(LIBFINIFUNC)";then :;else initfini="$$initfini -Wl,-fini,$(LIBFINIFUNC)"; fi'
                LDCOMBINE_TAIL='-Wl,-exports_file -Wl,$(SHLIB_EXPORT_FILE)'
        fi
-       LDCOMBINE='$(CC) -shared -Wl,-ignore_unresolved -Wl,-update_registry -Wl,$(BUILDTOP)/so_locations -Wl,-soname -Wl,lib$(LIB)$(SHLIBSEXT) $$initfini'
+       LDCOMBINE='$(CC) -shared -Wl,-ignore_unresolved -Wl,-update_registry -Wl,$(BUILDTOP)/so_locations -Wl,-soname -Wl,lib$(LIBBASE)$(SHLIBSEXT) $$initfini'
        SHLIB_EXPFLAGS='-rpath $(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
        # no gprof for Irix...
        PROFFLAGS=-p
@@ -169,10 +169,10 @@ mips-sgi-irix*)
 mips-sni-sysv4)
        if test "$krb5_cv_prog_gcc" = yes; then
                PICFLAGS=-fpic
-               LDCOMBINE='$(CC) -G -Wl,-h -Wl,lib$(LIB)$(SHLIBSEXT)'
+               LDCOMBINE='$(CC) -G -Wl,-h -Wl,lib$(LIBBASE)$(SHLIBSEXT)'
        else
                PICFLAGS=-Kpic
-               LDCOMBINE='$(CC) -G -h lib$(LIB)$(SHLIBSEXT)'
+               LDCOMBINE='$(CC) -G -h lib$(LIBBASE)$(SHLIBSEXT)'
        fi
        SHLIB_EXPFLAGS='-R$(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
        SHLIBEXT=.so
@@ -190,7 +190,7 @@ mips-*-netbsd*)
        SHLIBVEXT='.so.$(LIBMAJOR).$(LIBMINOR)'
        SHLIBSEXT='.so.$(LIBMAJOR)'
        SHLIBEXT=.so
-       LDCOMBINE='ld -shared -soname lib$(LIB)$(SHLIBSEXT)'
+       LDCOMBINE='ld -shared -soname lib$(LIBBASE)$(SHLIBSEXT)'
        SHLIB_EXPFLAGS='-R$(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
        RPATH_FLAG='-Wl,-rpath -Wl,'
        CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) $(RPATH_FLAG)$(PROG_RPATH) $(CFLAGS) $(LDFLAGS)'
@@ -254,7 +254,7 @@ mips-*-netbsd*)
        SHLIBSEXT='.$(LIBMAJOR).dylib'
        SHLIB_EXPFLAGS='$(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
        SHLIBEXT=.dylib
-       LDCOMBINE='$(CC) -undefined warning -dynamiclib -compatibility_version $(LIBMAJOR) -current_version $(LIBMAJOR).$(LIBMINOR) -install_name "$(KRB5_LIBDIR)/lib$(LIB)$(SHLIBVEXT)" $(CFLAGS) $(LDFLAGS)'
+       LDCOMBINE='$(CC) -undefined warning -dynamiclib -compatibility_version $(LIBMAJOR) -current_version $(LIBMAJOR).$(LIBMINOR) -install_name "$(KRB5_LIBDIR)/lib$(LIBBASE)$(SHLIBVEXT)" $(CFLAGS) $(LDFLAGS)'
        CC_LINK_SHARED='$(CC) $(PROG_LIBPATH) -dynamic $(CFLAGS) $(LDFLAGS)'
        CC_LINK_STATIC='$(CC) $(PROG_LIBPATH) $(CFLAGS) $(LDFLAGS)'
        RUN_ENV='DYLD_LIBRARY_PATH=`echo $(PROG_LIBPATH) | sed -e "s/-L//g" -e "s/ /:/g"`; export DYLD_LIBRARY_PATH;'
@@ -265,11 +265,11 @@ mips-*-netbsd*)
 *-*-solaris*)
        if test "$krb5_cv_prog_gcc" = yes; then
                PICFLAGS=-fPIC
-               LDCOMBINE='$(CC) -shared -h lib$(LIB)$(SHLIBSEXT)'
+               LDCOMBINE='$(CC) -shared -h lib$(LIBBASE)$(SHLIBSEXT)'
        else
                PICFLAGS=-KPIC
                # Solaris cc doesn't default to stuffing the SONAME field...
-               LDCOMBINE='$(CC) -dy -G -z text -h lib$(LIB)$(SHLIBSEXT) $$initfini'
+               LDCOMBINE='$(CC) -dy -G -z text -h lib$(LIBBASE)$(SHLIBSEXT) $$initfini'
                #
                INIT_FINI_PREP='if test -z "$(LIBINITFUNC)"; then initfini=; else initfini="-Wl,-z,initarray=$(LIBINITFUNC)__auxinit"; fi ; if test -z "$(LIBFINIFUNC)"; then :; else initfini="$$initfini -Wl,-z,finiarray=$(LIBFINIFUNC)" ; fi'
                use_linker_init_option=yes
@@ -311,7 +311,7 @@ mips-*-netbsd*)
        SHLIBEXT=.so
        # Linux ld doesn't default to stuffing the SONAME field...
        # Use objdump -x to examine the fields of the library
-       LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,lib$(LIB)$(SHLIBSEXT) -Wl,--retain-symbols-file,$(SHLIB_EXPORT_FILE)'
+       LDCOMBINE='$(CC) -shared -fPIC -Wl,-h,lib$(LIBBASE)$(SHLIBSEXT) -Wl,--retain-symbols-file,$(SHLIB_EXPORT_FILE)'
        # 
        LDCOMBINE_TAIL=''
        # For cases where we do have dependencies on other libraries
@@ -329,7 +329,7 @@ mips-*-netbsd*)
        # for the libraries marked as not having any dependencies; while
        # that's not strictly correct, the resulting behavior -- not adding
        # extra -R directories -- is still what we want.
-       #LDCOMBINE='ld -shared -h lib$(LIB)$(SHLIBSEXT)'
+       #LDCOMBINE='ld -shared -h lib$(LIBBASE)$(SHLIBSEXT)'
        #LDCOMBINE_TAIL="-lc"
        #SHLIB_EXPFLAGS='-R$(SHLIB_RDIRS) $(SHLIB_DIRS) $(SHLIB_EXPLIBS)'
 
index 382e1f33b547aed98bcc4ad49c28576df6192a82..a7cd71968ec9acd67b8be6426c1260376b484780 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-02-26  Ken Raeburn  <raeburn@mit.edu>
 
        * New directory.
index 80298fb99e3dd75d229e3a7ef89f394cf2bf7a7f..eae3c8859e3c24eb37e8366c1a5b711c7c332e11 100644 (file)
@@ -18,7 +18,7 @@ SED = sed
 # avoid having an empty library.
 STLIBOBJS=dummy.o @LIBOBJS@
 STOBJLISTS=OBJS.ST
-LIB=apputils
+LIBBASE=apputils
 
 all-unix:: all-liblinks
 clean-unix:: clean-liblinks clean-libs clean-libobjs
index b30a22c9228dfccc1c4b34ec3f868ab343e54fcb..e6a7a6b0cbbbef5ece0cac9c185638eef7047b30 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-06-02  Ken Raeburn  <raeburn@mit.edu>
 
        * prng.c (init_once): Variable deleted.
index 4670684c5bb0790566c83a708e6396ed31682fec..f63e4d59647f9bd4dfa1fed1c6aa5d569e24ae8b 100644 (file)
@@ -134,7 +134,7 @@ SRCS=\
        $(srcdir)/verify_checksum.c
 
 
-LIB=k5crypto
+LIBBASE=k5crypto
 LIBMAJOR=3
 LIBMINOR=0
 LIBINITFUNC=cryptoint_initialize_library
index 0acc237cf1c32ab6aee9982416190863ed3c1b32..1549d81b2e5d46e21c4a179287f520f2e42a6144 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-04-22  Ken Raeburn  <raeburn@mit.edu>
 
        * libdes425.exports: New file.
index d9d04275ec2c977bb2468932d77c7fc29248615a..be568a282d8a5c3899525b34c039600d02f412b2 100644 (file)
@@ -15,7 +15,7 @@ PROG_RPATH=$(KRB5_LIBDIR)
 
 RUN_SETUP=@KRB5_RUN_ENV@
 
-LIB=des425
+LIBBASE=des425
 LIBMAJOR=3
 LIBMINOR=0
 RELDIR=des425
index f41c528f8bd0ed634f904e5d877babce727d3d05..2d90a0aba22e33c3b7e772fdd6b0e9f46ff820d4 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-06-02  Ken Raeburn  <raeburn@mit.edu>
 
        * gss_libinit.c (gssint_lib_init): Initialize error tables here.
index 764e418eee4922ede9cbed33e448885cfa73b242..de0ebe9b0864df44fab6d9bbadbd9f304ebbe46a 100644 (file)
@@ -22,7 +22,7 @@ OBJS=\
 SRCS=\
        $(srcdir)/gss_libinit.c
 
-LIB=gssapi_krb5
+LIBBASE=gssapi_krb5
 LIBMAJOR=2
 LIBMINOR=2
 STOBJLISTS=OBJS.ST generic/OBJS.ST krb5/OBJS.ST
index 0fc7279730e1dc6ccd8d19cc1819e9ef181c0e81..eb947834f16577fdb6c34036d0f367942448e3ba 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-04-22  Ken Raeburn  <raeburn@mit.edu>
 
        * libkadm5clnt.exports: New file.
index 603074e5cf9f74cdce49958e1a100f2788559b57..b623a62a665bfb80bf2a855531ba1383a7963498 100644 (file)
@@ -4,7 +4,7 @@ mydir=clnt
 BUILDTOP=$(REL)..$(S)..$(S)..
 LOCALINCLUDES = -I$(BUILDTOP)/include/kadm5
 
-LIB=kadm5clnt
+LIBBASE=kadm5clnt
 LIBMAJOR=5
 LIBMINOR=1
 STOBJLISTS=../OBJS.ST OBJS.ST
index e1e7ece483a73203037fea316c2186d7bcfbf88d..5e260db52e30a88bccfa54d66f0dbc6518d3f320 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-04-22  Ken Raeburn  <raeburn@mit.edu>
 
        * libkadm5srv.exports: New file.
index 92fac7e7ebeebcdd2923a0114034d433615bedd5..c78ecd02e83ae3a950e7ec36dd702c925141b07b 100644 (file)
@@ -8,7 +8,7 @@ DEFINES = @HESIOD_DEFS@
 ##DOSBUILDTOP = ..\..\..
 ##DOSLIBNAME = libkadm5srv.lib
 
-LIB=kadm5srv
+LIBBASE=kadm5srv
 LIBMAJOR=5
 LIBMINOR=1
 STOBJLISTS=../OBJS.ST OBJS.ST
index a4ec4dc93b66d1cef2b20ee5b6711f1779e0d2d8..984b70d952ace8f81b84bb252460066f7fac5aec 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-05-25  Ezra Peisach  <epeisach@mit.edu>
 
        * keytab.c (krb5_ktkdb_get_entry): Change local variable rom int
index 5d59a06e990896cb069d50b7b1a3a9e91d441cef..e311d7d591bea2255131c53172cfcf458a6767c8 100644 (file)
@@ -7,7 +7,7 @@ KRB5_CONFIG_SETUP = KRB5_CONFIG=$(SRCTOP)/config-files/krb5.conf ; export KRB5_C
 PROG_LIBPATH=-L$(TOPLIBD)
 PROG_RPATH=$(KRB5_LIBDIR)
 
-LIB=kdb5
+LIBBASE=kdb5
 LIBMAJOR=4
 LIBMINOR=0
 RELDIR=kdb
index 9b95dc615f672576c71e5c3c2baf0e9e3534ab55..a5c0e13259d0201429f4dff69f172a9dec0ba2af 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-04-22  Ken Raeburn  <raeburn@mit.edu>
 
        * libkrb4.exports: New file.
index 8d3000cecd788414d4321ef7c8df1dc5d169df0f..dbea96a67935a85746384b6fa6fbcf657712e3c2 100644 (file)
@@ -9,7 +9,7 @@ DEFINES= -DKRB4_USE_KEYTAB
 ##DOS##LIBNAME=$(OUTPRE)krb4.lib
 ##DOS##OBJFILE=$(OUTPRE)krb4.lst
 
-LIB=krb4
+LIBBASE=krb4
 LIBMAJOR=2
 LIBMINOR=0
 RELDIR=krb4
index 5e621515a2130035c2f10e3c118dff3ab8e15b1d..bbf2d8f950a9f1d6838d374c61ee2921bc9123e2 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-06-02  Ken Raeburn  <raeburn@mit.edu>
 
        * krb5_libinit.c (initialized): Variable deleted, all references
index 2744933166d2a243ee926fa3894b8a7e36c82dbd..9a57bf9aea57a8d2ca5e98026bb5fa114ba56d95 100644 (file)
@@ -16,7 +16,7 @@ MAC_SUBDIRS = error_tables asn.1 ccache keytab krb rcache os posix
 
 STLIBOBJS=krb5_libinit.o
 
-LIB=krb5
+LIBBASE=krb5
 LIBMAJOR=3
 LIBMINOR=2
 
index 5de6685f716a22c79a082ec67655e5b49b8a148e..655a83376e65f7ed3ef6a4cb0495e1674b1774cd 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-05-30  Ken Raeburn  <raeburn@mit.edu>
 
        * clnt_tcp.c: Include string.h.
index fc1d340e427156be5e1b35dfd84ef37181468a65..9554b4602642f49be8a36c1c37fb2b4f49b7b655 100644 (file)
@@ -7,7 +7,7 @@ DEFINES = -DGSSAPI_KRB5 -DDEBUG_GSSAPI=0
 ##DOSBUILDTOP = ..\..
 ##DOSLIBNAME=libgssrpc.lib
 
-LIB=gssrpc
+LIBBASE=gssrpc
 LIBMAJOR=3
 LIBMINOR=0
 STOBJLISTS=OBJS.ST
index c0269703cee8a590a229b48c384c27dba5d0dee4..85f4d1f1e8037a6a54f71c3bba102e646734639e 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-05-23  Ken Raeburn  <raeburn@mit.edu>
 
        * configure.in: Check for sys/param.h too.
index 39dc7c21678b0db76aaef08614eac5176bd993cd..393e5ed2de0be79a3161b68e8719b87a0daa60c4 100644 (file)
@@ -4,7 +4,7 @@ mydir=.
 BUILDTOP=$(REL)..$(S)..
 LOCAL_SUBDIRS=hash btree db mpool recno clib test
 
-LIB=db
+LIBBASE=db
 LIBMAJOR=1
 LIBMINOR=1
 STOBJLISTS=hash/OBJS.ST btree/OBJS.ST db/OBJS.ST mpool/OBJS.ST \
index d26bb93b1c4e1790276c0f0cc7ff843ec88bba2d..8b36dbef4c031c1ada27673274928a4fdfe0b146 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-06-03  Ken Raeburn  <raeburn@mit.edu>
 
        * com_err.c (com_err_va): In success case, don't then fall
index c97547fef1480f857641c26af1a795707d329129..2ca69144cadd9da6d96754a40d11e237bff5886c 100644 (file)
@@ -16,7 +16,7 @@ SED = sed
 
 STLIBOBJS=error_message.o et_name.o com_err.o
 STOBJLISTS=OBJS.ST
-LIB=com_err
+LIBBASE=com_err
 LIBMAJOR=3
 LIBMINOR=0
 LIBINITFUNC=com_err_initialize
index ca3af0bff71ad695fc162b9b00ac88dcafdec5c3..248a5d83eb670b3521cb561c8b466c5164a98c12 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-06-03  Ken Raeburn  <raeburn@mit.edu>
 
        * prof_file.c (profile_open_file): Handle earlier (draft POSIX)
index ada45a37956fa32f85ea37b4d0512f4e4f28b429..af0628a37f888ca572f63ebd058c058f782fb96b 100644 (file)
@@ -40,7 +40,7 @@ EXTRADEPSRCS=$(srcdir)/test_parse.c $(srcdir)/test_profile.c
 DEPLIBS = $(COM_ERR_DEPLIB) $(SUPPORT_DEPLIB)
 MLIBS = -lcom_err $(SUPPORT_LIB)
 
-LIB=profile
+LIBBASE=profile
 LIBMAJOR=1
 LIBMINOR=1
 SHLIB_EXPDEPS = $(COM_ERR_DEPLIB) $(SUPPORT_DEPLIB)
index 5f5ddaec0430e25d6ef2bf0278699ed94016fd55..ecaa7205d636f7f33b1a734ea820823d3a9bcf04 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-04-12  Ezra Peisach  <epeisach@mit.edu>
 
        * configure.in: Remove tests for strsave, sys_errlist,
index 4620bd4f22bbfe5b52fb7f5781b98fdd9be7c7a5..0f179cfc06ef3e08eddf91638752198aed8d51cb 100644 (file)
@@ -10,7 +10,7 @@ KRB5_RUN_ENV= @KRB5_RUN_ENV@
 PROG_LIBPATH=-L$(TOPLIBD)
 PROG_RPATH=$(KRB5_LIBDIR)
 
-LIB=pty
+LIBBASE=pty
 LIBMAJOR=1
 LIBMINOR=2
 
index fde4415760f5712eb05fd9bc243bf472504c8228..91dccad47b5ee47acb60883719d5fcb3466329e4 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-03-17  Ken Raeburn  <raeburn@mit.edu>
 
        * error.c (ss_error): Always use ANSI C form.  Don't try to hide
index d36b0ae3339264b2f307f415e3bff988b0a8981c..e5588885a511c4de0bb222006d959debd0fa3af3 100644 (file)
@@ -11,7 +11,7 @@ all::
 
 TOP=$(BUILDTOP)
 
-LIB=ss
+LIBBASE=ss
 LIBMAJOR=1
 LIBMINOR=0
 RELDIR=../util/ss
index 1ecce49a82b4f3293fa36a8b55eae8b64446fe4e..3f2dface95c0cd01c8113490d2a73a8748c032a9 100644 (file)
@@ -1,3 +1,7 @@
+2004-06-04  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (LIBBASE): Renamed from LIB.
+
 2004-05-05  Ken Raeburn  <raeburn@mit.edu>
 
        * threads.c (krb5int_thread_support_fini) [!ENABLE_THREADS]:
index 80b599068d5494a4c8d4678a0a0656ed0f1ddc32..5a683fac8542da3bb4976961668f56a1b3152c25 100644 (file)
@@ -10,7 +10,7 @@ KRB5_RUN_ENV= @KRB5_RUN_ENV@
 PROG_LIBPATH=-L$(TOPLIBD)
 PROG_RPATH=$(KRB5_LIBDIR)
 
-LIB=krb5support
+LIBBASE=krb5support
 LIBMAJOR=0
 LIBMINOR=0