[BACK]Return to bsd.lib.mk CVS log [TXT][DIR] Up to [local] / src / share / mk

Diff for /src/share/mk/bsd.lib.mk between version 1.83 and 1.84

version 1.83, 2017/06/07 16:01:07 version 1.84, 2017/06/16 10:20:52
Line 164 
Line 164 
   
 all: ${_LIBS} _SUBDIRUSE  all: ${_LIBS} _SUBDIRUSE
   
   BUILDAFTER += ${_LIBS}
   
 OBJS+=  ${SRCS:N*.h:R:S/$/.o/}  OBJS+=  ${SRCS:N*.h:R:S/$/.o/}
   BUILDAFTER += ${OBJS}
   
 lib${LIB}.a: ${OBJS}  lib${LIB}.a: ${OBJS}
         @echo building standard ${LIB} library          @echo building standard ${LIB} library
Line 173 
Line 176 
         ${RANLIB} lib${LIB}.a          ${RANLIB} lib${LIB}.a
   
 POBJS+= ${OBJS:.o=.po}  POBJS+= ${OBJS:.o=.po}
   BUILDAFTER += ${POBJS}
 lib${LIB}_p.a: ${POBJS}  lib${LIB}_p.a: ${POBJS}
         @echo building profiled ${LIB} library          @echo building profiled ${LIB} library
         @rm -f lib${LIB}_p.a          @rm -f lib${LIB}_p.a
Line 180 
Line 184 
         ${RANLIB} lib${LIB}_p.a          ${RANLIB} lib${LIB}_p.a
   
 SOBJS+= ${OBJS:.o=.so}  SOBJS+= ${OBJS:.o=.so}
   BUILDAFTER += ${SOBJS}
 ${FULLSHLIBNAME}: ${SOBJS} ${DPADD}  ${FULLSHLIBNAME}: ${SOBJS} ${DPADD}
         @echo building shared ${LIB} library \(version ${SHLIB_MAJOR}.${SHLIB_MINOR}\)          @echo building shared ${LIB} library \(version ${SHLIB_MAJOR}.${SHLIB_MINOR}\)
         @rm -f ${.TARGET}          @rm -f ${.TARGET}
Line 200 
Line 205 
   
 # all .do files...  # all .do files...
 DOBJS+= ${OBJS:.o=.do}  DOBJS+= ${OBJS:.o=.do}
   BUILDAFTER += ${DOBJS}
   
 # .do files that we actually need for where this dist lib will be used  # .do files that we actually need for where this dist lib will be used
 .if defined(DIST_OBJS)  .if defined(DIST_OBJS)

Legend:
Removed from v.1.83  
changed lines
  Added in v.1.84