[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.23 and 1.24

version 1.23, 1993/08/15 19:37:06 version 1.24, 1993/08/15 20:42:41
Line 5 
Line 5 
 .include "${.CURDIR}/../Makefile.inc"  .include "${.CURDIR}/../Makefile.inc"
 .endif  .endif
   
 LIBDIR?=        /usr/lib  
 LINTLIBDIR?=    /usr/libdata/lint  
 LIBGRP?=        bin  
 LIBOWN?=        bin  
 LIBMODE?=       444  
   
 STRIP?=         -s  
   
 BINGRP?=        bin  
 BINOWN?=        bin  
 BINMODE?=       555  
   
 .MAIN: all  .MAIN: all
   
 # 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
 .SUFFIXES:  .SUFFIXES:
 .SUFFIXES: .out .o .po .s .c .cc .C .f .y .l .8 .7 .6 .5 .4 .3 .2 .1 .0  .SUFFIXES: .out .o .po .s .c .cc .C .f .y .l .0 .1 .2 .3 .4 .5 .6 .7 .8
   
 .8.0 .7.0 .6.0 .5.0 .4.0 .3.0 .2.0 .1.0:  
         nroff -mandoc ${.IMPSRC} > ${.TARGET}  
   
 .c.o:  .c.o:
         ${CC} ${CFLAGS} -c ${.IMPSRC}          ${CC} ${CFLAGS} -c ${.IMPSRC}
Line 58  BINMODE?= 555
Line 43  BINMODE?= 555
         @${LD} -X -r ${.TARGET}          @${LD} -X -r ${.TARGET}
         @mv a.out ${.TARGET}          @mv a.out ${.TARGET}
   
 .if !defined(NOMAN)  
 MANALL= ${MAN1} ${MAN2} ${MAN3} ${MAN4} ${MAN5} ${MAN6} ${MAN7} ${MAN8}  
 .endif  
   
 .if !defined(NOPROFILE)  .if !defined(NOPROFILE)
 _LIBS=lib${LIB}.a lib${LIB}_p.a  _LIBS=lib${LIB}.a lib${LIB}_p.a
 .else  .else
 _LIBS=lib${LIB}.a  _LIBS=lib${LIB}.a
 .endif  .endif
   
 all: ${_LIBS} ${MANALL}# llib-l${LIB}.ln  all: ${_LIBS} # llib-l${LIB}.ln
   
 OBJS+=  ${SRCS:N*.h:R:S/$/.o/g}  OBJS+=  ${SRCS:N*.h:R:S/$/.o/g}
   
Line 96  clean:
Line 77  clean:
         rm -f lib${LIB}.a lib${LIB}_p.a llib-l${LIB}.ln          rm -f lib${LIB}.a lib${LIB}_p.a llib-l${LIB}.ln
 .endif  .endif
   
 .if !target(cleandir)  
 cleandir: clean  
         rm -f ${MANALL} ${.CURDIR}/tags .depend  
 .endif  
   
 .include <bsd.dep.mk>  
 afterdepend:  afterdepend:
         @(TMP=/tmp/_depend$$$$; \          @(TMP=/tmp/_depend$$$$; \
             sed -e 's/^\([^\.]*\).o[ ]*:/\1.o \1.po:/' < .depend > $$TMP; \              sed -e 's/^\([^\.]*\).o[ ]*:/\1.o \1.po:/' < .depend > $$TMP; \
Line 145  afterinstall: realinstall
Line 120  afterinstall: realinstall
 realinstall: beforeinstall  realinstall: beforeinstall
 .endif  .endif
   
 .if !target(lint)  cleandir: clean
 lint:  
 .endif  
   
 .if !target(tags)  
 tags: ${SRCS}  
         -cd ${.CURDIR}; ctags -f /dev/stdout ${.ALLSRC:M*.c} | \  
             sed "s;\${.CURDIR}/;;" > tags  
 .endif  
   
 .if !defined(NOMAN)  .if !defined(NOMAN)
 .include <bsd.man.mk>  .include <bsd.man.mk>
 .endif  .endif
   
 .include <bsd.obj.mk>  .include <bsd.obj.mk>
   .include <bsd.dep.mk>
   .include <bsd.subdir.mk>

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

CVSweb <webmaster@jp.NetBSD.org>