* lib.in: Fix up lib build rules to deal properly (hopefuly) with
authorTom Yu <tlyu@mit.edu>
Sat, 1 Jul 2000 15:34:34 +0000 (15:34 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 1 Jul 2000 15:34:34 +0000 (15:34 +0000)
empty objlist files.

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

src/config/ChangeLog
src/config/lib.in

index d49064567c393e900094e5289c3e0a22129234e1..59075fb654a09492b6b90764415187036636cc29 100644 (file)
@@ -1,3 +1,8 @@
+2000-07-01  Tom Yu  <tlyu@mit.edu>
+
+       * lib.in: Fix up lib build rules to deal properly (hopefuly) with
+       empty objlist files.
+
 2000-06-30  Danilo Almeida  <dalmeida@mit.edu>
 
        * win-pre.in: Fix up DNS build flags to correspond to new DNS
index 203376ec1cb6c97c4e4d5045b6f96e040459135b..54f7f1ecd351dd8788ba77b35d1bb0f491bbf8d8 100644 (file)
@@ -78,7 +78,7 @@ lib$(LIB)$(STLIBEXT): $(STOBJLISTS)
        @dirs=`echo $(STOBJLISTS) | \
                sed -e 's%/OBJS.ST%%g' -e 's%OBJS.ST%.%'`; \
                $(AR) cq $@ `for d in $$dirs; do \
-                       sed -e "s%^%$$d/%" -e "s% % $$d/%g" \
+                       sed -e '/^$$/d' -e "s%^%$$d/%" -e "s% % $$d/%g" \
                                $$d/OBJS.ST; done`
        $(RANLIB) $@
 
@@ -88,7 +88,7 @@ lib$(LIB)$(SHLIBVEXT): $(SHOBJLISTS) $(SHLIB_EXPDEPS)
        @dirs=`echo $(SHOBJLISTS) | \
                sed -e 's%/OBJS.SH%%g' -e 's%OBJS.SH%.%'`; \
                $(LDCOMBINE) -o $@ `for d in $$dirs; do \
-                       sed -e "s%^%$$d/%" -e "s% % $$d/%g" \
+                       sed -e '/^$$/d' -e "s%^%$$d/%" -e "s% % $$d/%g" \
                                $$d/OBJS.SH; done` \
                        $(SHLIB_EXPFLAGS) \
                        $(LDCOMBINE_TAIL)
@@ -105,7 +105,7 @@ lib$(LIB)$(PFLIBEXT): $(PFOBJLISTS)
        @dirs=`echo $(PFOBJLISTS) | \
                sed -e 's%/OBJS.PF%%g' -e 's%OBJS.PF%.%'`; \
                $(AR) cq $@ `for d in $$dirs; do \
-                       sed -e "s%^%$$d/%" -e "s% % $$d/%g" \
+                       sed -e '/^$$/d' -e "s%^%$$d/%" -e "s% % $$d/%g" \
                                $$d/OBJS.PF; done`
        $(RANLIB) $@