[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/Makefile between version 1.31.2.2 and 1.32

version 1.31.2.2, 1995/05/02 19:33:52 version 1.32, 1995/01/30 12:21:41
Line 1 
Line 1 
 #       $NetBSD$  #       from: @(#)Makefile      5.2 (Berkeley) 3/5/91
 #       @(#)Makefile    8.2 (Berkeley) 2/3/94  #       $Id$
 #  #
 # All library objects contain sccsid strings by default; they may be  # All library objects contain sccsid strings by default; they may be
 # excluded as a space-saving measure.  To produce a library that does  # excluded as a space-saving measure.  To produce a library that does
Line 15 
Line 15 
 # actually call the YP functions, put -DYP on the CFLAGS line below.  # actually call the YP functions, put -DYP on the CFLAGS line below.
   
 LIB=c  LIB=c
 CFLAGS+=-DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -I${.CURDIR}/include  CFLAGS+=-DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS
 AINC=   -I${.CURDIR}/arch/${MACHINE_ARCH}  AINC=   -I${.CURDIR}/arch/${MACHINE_ARCH}
 .if defined(DESTDIR)  .if defined(DESTDIR)
 AINC+=  -nostdinc -idirafter ${DESTDIR}/usr/include  AINC+=  -nostdinc -idirafter ${DESTDIR}/usr/include
 .endif  .endif
 CLEANFILES+=tags  
   
 .if exists (${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc)  .if exists (${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc)
 .PATH:  ${.CURDIR}/arch/${MACHINE_ARCH}  .PATH:  ${.CURDIR}/arch/${MACHINE_ARCH}
Line 34  CLEANFILES+=tags
Line 33  CLEANFILES+=tags
 .include "${.CURDIR}/locale/Makefile.inc"  .include "${.CURDIR}/locale/Makefile.inc"
 .include "${.CURDIR}/net/Makefile.inc"  .include "${.CURDIR}/net/Makefile.inc"
 .include "${.CURDIR}/nls/Makefile.inc"  .include "${.CURDIR}/nls/Makefile.inc"
 .if (${MACHINE_ARCH} != "alpha")  
 .include "${.CURDIR}/quad/Makefile.inc"  .include "${.CURDIR}/quad/Makefile.inc"
 .endif  
 .include "${.CURDIR}/regex/Makefile.inc"  .include "${.CURDIR}/regex/Makefile.inc"
 .include "${.CURDIR}/rpc/Makefile.inc"  .include "${.CURDIR}/rpc/Makefile.inc"
 .include "${.CURDIR}/stdio/Makefile.inc"  .include "${.CURDIR}/stdio/Makefile.inc"
 .include "${.CURDIR}/stdlib/Makefile.inc"  .include "${.CURDIR}/stdlib/Makefile.inc"
 .include "${.CURDIR}/string/Makefile.inc"  .include "${.CURDIR}/string/Makefile.inc"
 .include "${.CURDIR}/time/Makefile.inc"  
 .include "${.CURDIR}/sys/Makefile.inc"  .include "${.CURDIR}/sys/Makefile.inc"
 .include "${.CURDIR}/yp/Makefile.inc"  .include "${.CURDIR}/yp/Makefile.inc"
   
Line 50  LIBKERN= ${.CURDIR}/../../sys/lib/libker
Line 46  LIBKERN= ${.CURDIR}/../../sys/lib/libker
   
 KSRCS=  bcmp.c bzero.c ffs.c strcat.c strcmp.c strcpy.c strlen.c strncmp.c \  KSRCS=  bcmp.c bzero.c ffs.c strcat.c strcmp.c strcpy.c strlen.c strncmp.c \
         strncpy.c htonl.c htons.c ntohl.c ntohs.c          strncpy.c htonl.c htons.c ntohl.c ntohs.c
 .if (${MACHINE_ARCH} != "alpha")  
 KSRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \  KSRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \
         lshldi3.c lshrdi3.c moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c \          lshldi3.c lshrdi3.c moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c \
         subdi3.c  ucmpdi2.c udivdi3.c umoddi3.c xordi3.c          subdi3.c  ucmpdi2.c udivdi3.c umoddi3.c xordi3.c
   
 KINCLUDES+=     quad/quad.h  KINCLUDES+=     quad/quad.h
 .endif  
   
 copy-to-libkern:        copy-to-libkern-machind copy-to-libkern-machdep  copy-to-libkern:        copy-to-libkern-machind copy-to-libkern-machdep
   
 copy-to-libkern-machind: ${KSRCS}  copy-to-libkern-machind: ${KSRCS}
         cp -p ${.ALLSRC} ${LIBKERN}          cp -p ${.ALLSRC} ${LIBKERN}
 .if defined(KINCLUDES) && !empty(KINCLUDES)  
         (cd ${.CURDIR} ; cp -p ${KINCLUDES} ${LIBKERN})          (cd ${.CURDIR} ; cp -p ${KINCLUDES} ${LIBKERN})
 .endif  
   
 copy-to-libkern-machdep: ${KMSRCS}  copy-to-libkern-machdep: ${KMSRCS}
 .if defined(KMSRCS) && !empty(KMSRCS)  .if defined(KMSRCS) && !empty(KMSRCS)
Line 79  rm-from-libkern:
Line 72  rm-from-libkern:
         for i in ${KMSRCS}; do rm -f ${LIBKERN}/arch/${MACHINE_ARCH}/$$i; done          for i in ${KMSRCS}; do rm -f ${LIBKERN}/arch/${MACHINE_ARCH}/$$i; done
 .endif  .endif
   
 beforeinstall: tags  
         install -c -o bin -g bin -m 444 tags /var/db/libc.tags  
   
 tags: ${SRCS}  
         ctags ${.ALLSRC:M*.c}  
         egrep "^ENTRY(.*)|^FUNC(.*)|^SYSCALL(.*)" /dev/null ${.ALLSRC:M*.S} | \  
             sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \  
             >> tags; sort -o tags tags  
   
 NOMAN=  
 NOPROFILE=  
 NOPIC=  
 .include <bsd.lib.mk>  .include <bsd.lib.mk>

Legend:
Removed from v.1.31.2.2  
changed lines
  Added in v.1.32

CVSweb <webmaster@jp.NetBSD.org>