[BACK]Return to bsd.prog.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.prog.mk between version 1.131 and 1.137

version 1.131, 2001/06/01 17:49:33 version 1.137, 2001/10/19 15:55:52
Line 14  __initialized__:
Line 14  __initialized__:
   
 .PHONY:         cleanprog proginstall scriptsinstall  .PHONY:         cleanprog proginstall scriptsinstall
 realinstall:    proginstall scriptsinstall  realinstall:    proginstall scriptsinstall
 clean cleandir: cleanprog  clean:          cleanprog
   
 CFLAGS+=        ${COPTS}  CFLAGS+=        ${COPTS}
   
Line 65  LIBMENU?= ${DESTDIR}/usr/lib/libmenu.a
Line 65  LIBMENU?= ${DESTDIR}/usr/lib/libmenu.a
 LIBOBJC?=       ${DESTDIR}/usr/lib/libobjc.a  LIBOBJC?=       ${DESTDIR}/usr/lib/libobjc.a
 LIBOSSAUDIO?=   ${DESTDIR}/usr/lib/libossaudio.a  LIBOSSAUDIO?=   ${DESTDIR}/usr/lib/libossaudio.a
 LIBPCAP?=       ${DESTDIR}/usr/lib/libpcap.a  LIBPCAP?=       ${DESTDIR}/usr/lib/libpcap.a
   LIBPCI?=        ${DESTDIR}/usr/lib/libpci.a
 LIBPOSIX?=      ${DESTDIR}/usr/lib/libposix.a  LIBPOSIX?=      ${DESTDIR}/usr/lib/libposix.a
 LIBRESOLV?=     ${DESTDIR}/usr/lib/libresolv.a  LIBRESOLV?=     ${DESTDIR}/usr/lib/libresolv.a
 LIBRMT?=        ${DESTDIR}/usr/lib/librmt.a  LIBRMT?=        ${DESTDIR}/usr/lib/librmt.a
Line 106  CLEANFILES+=strings
Line 107  CLEANFILES+=strings
 .if defined(PROG)  .if defined(PROG)
 SRCS?=          ${PROG}.c  SRCS?=          ${PROG}.c
   
 DPSRCS+=        ${SRCS:M*.l:.l=.c} ${SRCS:M*.y:.y=.c}  DPSRCS+=        ${SRCS:M*.[ly]:C/..$/.c/}
 CLEANFILES+=    ${DPSRCS}  CLEANFILES+=    ${DPSRCS} ${YHEADER:D${SRCS:M*.y:.y=.h}}
 .if defined(YHEADER)  
 CLEANFILES+=    ${SRCS:M*.y:.y=.h}  
 .endif  
   
 .if !empty(SRCS:N*.h:N*.sh:N*.fth)  .if !empty(SRCS:N*.h:N*.sh:N*.fth)
 OBJS+=          ${SRCS:N*.h:N*.sh:N*.fth:R:S/$/.o/g}  OBJS+=          ${SRCS:N*.h:N*.sh:N*.fth:R:S/$/.o/g}
Line 118  LOBJS+=  ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=
Line 116  LOBJS+=  ${LSRCS:.c=.ln} ${SRCS:M*.c:.c=
 .endif  .endif
   
 .if defined(OBJS) && !empty(OBJS)  .if defined(OBJS) && !empty(OBJS)
 .NOPATH: ${OBJS}  .NOPATH: ${OBJS} ${PROG} ${SRCS:M*.[ly]:C/..$/.c/} ${YHEADER:D${SRCS:M*.y:.y=.h}}
   
 .if defined(DESTDIR)  .if defined(DESTDIR)
   
 ${PROG}: ${LIBCRT0} ${DPSRCS} ${OBJS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${DPADD}  ${PROG}: ${LIBCRT0} ${DPSRCS} ${OBJS} ${LIBC} ${LIBCRTBEGIN} ${LIBCRTEND} ${DPADD}
Line 143  MAN= ${PROG}.1
Line 142  MAN= ${PROG}.1
   
 realall: ${PROG} ${SCRIPTS}  realall: ${PROG} ${SCRIPTS}
   
 cleanprog:  cleanprog: cleanobjs cleanextra
         rm -f a.out [Ee]rrs mklog core *.core \          rm -f a.out [Ee]rrs mklog core *.core ${PROG}
             ${PROG} ${OBJS} ${LOBJS} ${CLEANFILES}  
   cleanobjs:
   .if defined(OBJS) && !empty(OBJS)
           rm -f ${OBJS} ${LOBJS}
   .endif
   
   cleanextra:
   .if defined(CLEANFILES) && !empty(CLEANFILES)
           rm -f ${CLEANFILES}
   .endif
   
 .if defined(SRCS) && !target(afterdepend)  .if defined(SRCS) && !target(afterdepend)
 afterdepend: .depend  afterdepend: .depend

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.137

CVSweb <webmaster@jp.NetBSD.org>