[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.41 and 1.47

version 1.41, 1994/01/04 19:08:55 version 1.47, 1994/02/09 23:50:36
Line 15  SHLIB_MINOR != . ${.CURDIR}/shlib_versio
Line 15  SHLIB_MINOR != . ${.CURDIR}/shlib_versio
 # prefer .S to a .c, add .po, remove stuff not used in the BSD libraries  # prefer .S to a .c, add .po, remove stuff not used in the BSD libraries
 # .so used for PIC object files  # .so used for PIC object files
 .SUFFIXES:  .SUFFIXES:
 .SUFFIXES: .out .o .po .so .S .s .c .cc .C .f .y .l .0 .1 .2 .3 .4 .5 .6 .7 .8  .SUFFIXES: .out .o .po .so .S .s .c .cc .C .f .y .l
   
 .c.o:  .c.o:
         ${CC} ${CFLAGS} -c ${.IMPSRC}          ${CC} ${CFLAGS} -c ${.IMPSRC}
Line 89  OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
Line 89  OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
 lib${LIB}.a:: ${OBJS}  lib${LIB}.a:: ${OBJS}
         @echo building standard ${LIB} library          @echo building standard ${LIB} library
         @rm -f lib${LIB}.a          @rm -f lib${LIB}.a
         @${AR} cTq lib${LIB}.a `lorder ${OBJS} | tsort` ${LDADD}          @${AR} cq lib${LIB}.a `lorder ${OBJS} | tsort`
         ${RANLIB} lib${LIB}.a          ${RANLIB} lib${LIB}.a
   
 POBJS+= ${OBJS:.o=.po}  POBJS+= ${OBJS:.o=.po}
 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
         @${AR} cTq lib${LIB}_p.a `lorder ${POBJS} | tsort` ${LDADD}          @${AR} cq lib${LIB}_p.a `lorder ${POBJS} | tsort`
         ${RANLIB} lib${LIB}_p.a          ${RANLIB} lib${LIB}_p.a
   
 SOBJS+= ${OBJS:.o=.so}  SOBJS+= ${OBJS:.o=.so}
 lib${LIB}_pic.a:: ${SOBJS}  lib${LIB}_pic.a:: ${SOBJS}
         @echo building shared object ${LIB} library          @echo building shared object ${LIB} library
         @rm -f lib${LIB}_pic.a          @rm -f lib${LIB}_pic.a
         @${AR} cTq lib${LIB}_pic.a `lorder ${SOBJS} | tsort` ${LDADD}          @${AR} cq lib${LIB}_pic.a `lorder ${SOBJS} | tsort`
         ${RANLIB} lib${LIB}_pic.a          ${RANLIB} lib${LIB}_pic.a
   
 lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}: lib${LIB}_pic.a  lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}: lib${LIB}_pic.a ${DPADD}
         @echo building shared ${LIB} library \(version ${SHLIB_MAJOR}.${SHLIB_MINOR}\)          @echo building shared ${LIB} library \(version ${SHLIB_MAJOR}.${SHLIB_MINOR}\)
         @rm -f lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}          @rm -f lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
         $(LD) -Bshareable -Bforcearchive \          $(LD) -Bshareable -Bforcearchive \
             -o lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} lib${LIB}_pic.a              -o lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} lib${LIB}_pic.a ${LDADD}
   
 llib-l${LIB}.ln: ${SRCS}  llib-l${LIB}.ln: ${SRCS}
         ${LINT} -C${LIB} ${CFLAGS} ${.ALLSRC:M*.c}          ${LINT} -C${LIB} ${CFLAGS} ${.ALLSRC:M*.c}
Line 137  afterdepend:
Line 137  afterdepend:
 .if !target(install)  .if !target(install)
 .if !target(beforeinstall)  .if !target(beforeinstall)
 beforeinstall:  beforeinstall:
         @install -d -o root -g wheel -m 755 ${DESTDIR}${LIBDIR}  
 .endif  .endif
   
 realinstall:  realinstall:

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.47

CVSweb <webmaster@jp.NetBSD.org>