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

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/share/mk/bsd.lib.mk between version 1.102 and 1.103

version 1.102, 1997/05/09 07:56:02 version 1.103, 1997/05/09 13:25:53
Line 9 
Line 9 
   
 .MAIN:          all  .MAIN:          all
 .PHONY:         cleanlib libinstall  .PHONY:         cleanlib libinstall
 install:        libinstall  realinstall:    libinstall
 clean cleandir: cleanlib  clean cleandir: cleanlib
   
 .if exists(${.CURDIR}/shlib_version)  .if exists(${.CURDIR}/shlib_version)
Line 157  _LIBS+=llib-l${LIB}.ln
Line 157  _LIBS+=llib-l${LIB}.ln
   
 all: ${SRCS} ${_LIBS}  all: ${SRCS} ${_LIBS}
   
 OBJS+=  ${SRCS:N*.h:R:S/$/.o/g}  
   
 __archivebuild: .USE  __archivebuild: .USE
         @rm -f ${.TARGET}          @rm -f ${.TARGET}
         @${AR} cq ${.TARGET} `NM=${NM} lorder ${.ALLSRC} | tsort -q`          @${AR} cq ${.TARGET} `NM=${NM} lorder ${.ALLSRC} | tsort -q`
Line 170  __archiveinstall: .USE
Line 168  __archiveinstall: .USE
         ${RANLIB} -t ${.TARGET}          ${RANLIB} -t ${.TARGET}
         chmod ${LIBMODE} ${.TARGET}          chmod ${LIBMODE} ${.TARGET}
   
   DPSRCS+=        ${SRCS:M*.[ly]:.l=.c:.y=.c}
   CLEANFILES+=    ${DPSRCS}
   
   OBJS+=          ${SRCS:N*.h:N*.sh:R:S/$/.o/g}
 lib${LIB}.a:: ${OBJS} __archivebuild  lib${LIB}.a:: ${OBJS} __archivebuild
         @echo building standard ${LIB} library          @echo building standard ${LIB} library
   
 POBJS+= ${OBJS:.o=.po}  POBJS+=         ${OBJS:.o=.po}
 lib${LIB}_p.a:: ${POBJS} __archivebuild  lib${LIB}_p.a:: ${POBJS} __archivebuild
         @echo building profiled ${LIB} library          @echo building profiled ${LIB} library
   
 SOBJS+= ${OBJS:.o=.so}  SOBJS+=         ${OBJS:.o=.so}
 lib${LIB}_pic.a:: ${SOBJS} __archivebuild  lib${LIB}_pic.a:: ${SOBJS} __archivebuild
         @echo building shared object ${LIB} library          @echo building shared object ${LIB} library
   
Line 195  lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINO
Line 197  lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINO
             ${SHLIB_LDENDFILE}              ${SHLIB_LDENDFILE}
 .endif  .endif
   
 LOBJS+= ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln}  LOBJS+=         ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=.ln}
 LLIBS?= -lc  LLIBS?=         -lc
 llib-l${LIB}.ln: ${LOBJS}  llib-l${LIB}.ln: ${LOBJS}
         @echo building llib-l${LIB}.ln          @echo building llib-l${LIB}.ln
         @rm -f llib-l${LIB}.ln          @rm -f llib-l${LIB}.ln

Legend:
Removed from v.1.102  
changed lines
  Added in v.1.103

CVSweb <webmaster@jp.NetBSD.org>