[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.217 and 1.218

version 1.217, 2003/05/26 12:38:59 version 1.218, 2003/05/27 19:32:18
Line 68  SHLIB_FULLVERSION=${SHLIB_MAJOR}
Line 68  SHLIB_FULLVERSION=${SHLIB_MAJOR}
 # add additional suffixes not exported.  # add additional suffixes not exported.
 # .po is used for profiling object files.  # .po is used for profiling object files.
 # .so is used for PIC object files.  # .so is used for PIC object files.
 .SUFFIXES: .out .a .ln .so .po .o .s .S .c .cc .C .m .F .f .r .y .l .cl .p .h  .SUFFIXES: .out .a .ln .so .po .o .s .S .c .cc .cpp .C .m .F .f .r .y .l .cl .p .h
 .SUFFIXES: .sh .m4 .m  .SUFFIXES: .sh .m4 .m
   
   
Line 198  FFLAGS+= ${FOPTS}
Line 198  FFLAGS+= ${FOPTS}
 .c.ln:  .c.ln:
         ${LINT} ${LINTFLAGS} ${CPPFLAGS:M-[IDU]*} -i ${.IMPSRC}          ${LINT} ${LINTFLAGS} ${CPPFLAGS:M-[IDU]*} -i ${.IMPSRC}
   
 .cc.o .C.o:  .cc.o .cpp.o .C.o:
 .if defined(COPTS) && !empty(COPTS:M*-g*)  .if defined(COPTS) && !empty(COPTS:M*-g*)
         ${COMPILE.cc} ${.IMPSRC}          ${COMPILE.cc} ${.IMPSRC}
 .else  .else
Line 208  FFLAGS+= ${FOPTS}
Line 208  FFLAGS+= ${FOPTS}
         @rm -f ${.TARGET}.o          @rm -f ${.TARGET}.o
 .endif  .endif
   
 .cc.po .C.po:  .cc.po .cpp.po .C.po:
 .if defined(COPTS) && !empty(COPTS:M*-g*)  .if defined(COPTS) && !empty(COPTS:M*-g*)
         ${COMPILE.cc} -pg ${.IMPSRC} -o ${.TARGET}          ${COMPILE.cc} -pg ${.IMPSRC} -o ${.TARGET}
 .else  .else
Line 218  FFLAGS+= ${FOPTS}
Line 218  FFLAGS+= ${FOPTS}
         @rm -f ${.TARGET}.o          @rm -f ${.TARGET}.o
 .endif  .endif
   
 .cc.so .C.so:  .cc.so .cpp.so .C.so:
 .if defined(COPTS) && !empty(COPTS:M*-g*)  .if defined(COPTS) && !empty(COPTS:M*-g*)
         ${COMPILE.cc} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}          ${COMPILE.cc} ${CSHLIBFLAGS} ${.IMPSRC} -o ${.TARGET}
 .else  .else
Line 443  cleanlib:
Line 443  cleanlib:
 afterdepend: .depend  afterdepend: .depend
         @(TMP=/tmp/_depend$$$$; \          @(TMP=/tmp/_depend$$$$; \
             sed -e 's/^\([^\.]*\).o[ ]*:/\1.o \1.po \1.so \1.ln:/' \              sed -e 's/^\([^\.]*\).o[ ]*:/\1.o \1.po \1.so \1.ln:/' \
               < .depend > $$TMP; \                < .depend > $$TMP && \
             mv $$TMP .depend)              mv $$TMP .depend)
 .endif  .endif
   

Legend:
Removed from v.1.217  
changed lines
  Added in v.1.218

CVSweb <webmaster@jp.NetBSD.org>