rearrange lib linking stuff
authorJohn Kohl <jtkohl@mit.edu>
Mon, 18 Feb 1991 10:31:53 +0000 (10:31 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 18 Feb 1991 10:31:53 +0000 (10:31 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1717 dc483132-0cff-0310-8789-dd5450dbe970

src/config/Project.tmpl

index d86127f6318285fc7281ec7ec67cd9298bb10fda..24efc6b6b676061e1ec86082bdaab7c99c69eedc 100644 (file)
@@ -266,22 +266,25 @@ P_PROTOS=-UUseNarrowPrototypes
        UNIFDEFSRC = $(TOP)/util/unifdef
           TOPLIBD = $(TOP)/lib
             OSLIB = os
+         OSDEPLIB = $(TOPLIBD)/libos.a
            DESLIB = des5
+        DESDEPLIB = $(TOPLIBD)/libdes5.a
         RSAMD4LIB = md4
+     RSAMD4DEPLIB = $(TOPLIBD)/libmd4.a
           KRB5LIB = krb5
+       KRB5DEPLIB = $(TOPLIBD)/libkrb5.a
            CRCLIB = crc32
-           MD4LIB = md4
+        CRCDEPLIB = $(TOPLIBD)/libcrc32.a
          ISODELIB = IsodeLib
 
            DBMLIB = DbmLib
-          DEPKLIB = $(TOPLIBD)/lib$(KRB5LIB).a $(TOPLIBD)/lib$(RSAMD4LIB).a $(TOPLIBD)/lib$(DESLIB).a $(TOPLIBD)/lib$(OSLIB).a $(TOPLIBD)/lib$(CRCLIB).a
-             KLIB = -L$(TOPLIBD) -l$(KRB5LIB) -l$(RSAMD4LIB) -l$(DESLIB) -l$(OSLIB) -l$(CRCLIB) $(ISODELIB) $(COMERRLIB) $(DBMLIB)
-        DEPKDBLIB = $(TOPLIBD)/libkdb.a
-/* ideally, this would be just "kdb", but since it needs to load before
-   the other libs, it misses th e -L$(TOPLIBD) */
-           KDBLIB = $(DEPKDBLIB)
-     DEPKRB425LIB = $(TOPLIBD)/libkrb425.a
-        KRB425LIB = $(DEPKDBLIB)
+          DEPKLIB = $(KRB5DEPLIB) $(RSAMD4DEPLIB) $(DESDEPLIB) $(OSDEPLIB) $(CRCDEPLIB)
+          KLIBLOC = -L$(TOPLIBD)
+             KLIB = $(KLIBLOC) -l$(KRB5LIB) -l$(RSAMD4LIB) -l$(DESLIB) -l$(OSLIB) -l$(CRCLIB) $(ISODELIB) $(COMERRLIB) $(DBMLIB)
+        KDBDEPLIB = $(TOPLIBD)/libkdb.a
+           KDBLIB = $(KLIBLOC) -lkdb
+     KRB425DEPLIB = $(TOPLIBD)/libkrb425.a
+        KRB425LIB = $(KRB425DEPLIB)
           KRB4LIB = Krb4LibList
      KRB4INCLUDES = Krb4Includes