[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.222 and 1.223

version 1.222, 2003/07/18 04:04:03 version 1.223, 2003/07/20 17:01:58
Line 69  SHLIB_FULLVERSION=${SHLIB_MAJOR}
Line 69  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 .cpp .C .m .F .f .r .y .l .cl .p .h  .SUFFIXES: .out .a .ln .so .po .o .s .S .c .cc .cpp .cxx .C .m .F .f .r .y .l .cl .p .h
 .SUFFIXES: .sh .m4 .m  .SUFFIXES: .sh .m4 .m
   
   
Line 193  FFLAGS+= ${FOPTS}
Line 193  FFLAGS+= ${FOPTS}
 .c.ln:  .c.ln:
         ${LINT} ${LINTFLAGS} ${CPPFLAGS:M-[IDU]*} -i ${.IMPSRC}          ${LINT} ${LINTFLAGS} ${CPPFLAGS:M-[IDU]*} -i ${.IMPSRC}
   
 .cc.o .cpp.o .C.o:  .cc.o .cpp.o .cxx.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 203  FFLAGS+= ${FOPTS}
Line 203  FFLAGS+= ${FOPTS}
         @rm -f ${.TARGET}.o          @rm -f ${.TARGET}.o
 .endif  .endif
   
 .cc.po .cpp.po .C.po:  .cc.po .cpp.po .cxx.o .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 213  FFLAGS+= ${FOPTS}
Line 213  FFLAGS+= ${FOPTS}
         @rm -f ${.TARGET}.o          @rm -f ${.TARGET}.o
 .endif  .endif
   
 .cc.so .cpp.so .C.so:  .cc.so .cpp.so .cxx.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

Legend:
Removed from v.1.222  
changed lines
  Added in v.1.223

CVSweb <webmaster@jp.NetBSD.org>