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

Annotation of src/lib/libc/Makefile, Revision 1.19

1.8       mycroft     1: #      from: @(#)Makefile      5.2 (Berkeley) 3/5/91
1.19    ! jtc         2: #      $Id: Makefile,v 1.18 1993/11/05 22:43:47 cgd Exp $
1.1       cgd         3: #
                      4: # All library objects contain sccsid strings by default; they may be
                      5: # excluded as a space-saving measure.  To produce a library that does
                      6: # not contain these strings, delete -DLIBC_SCCS and -DSYSLIBC_SCCS
                      7: # from CFLAGS below.  To remove these strings from just the system call
                      8: # stubs, remove just -DSYSLIBC_SCCS from CFLAGS.
1.4       deraadt     9: #
1.6       deraadt    10: # The YP functions are always in libc. To choose that getpwent() and friends
                     11: # actually call the YP functions, put -DYP on the CFLAGS line below.
1.4       deraadt    12:
1.1       cgd        13: LIB=c
1.17      pk         14: INSTALL_PIC_ARCHIVE= yes
1.9       deraadt    15: CFLAGS+=-DYP -DLIBC_SCCS -DSYSLIBC_SCCS
1.13      cgd        16: AINC=  -I${.CURDIR}/arch/${MACHINE}
1.9       deraadt    17:
1.13      cgd        18: .if exists (${.CURDIR}/arch/${MACHINE}/Makefile.inc)
                     19: .PATH: ${.CURDIR}/arch/${MACHINE}
                     20: .include "${.CURDIR}/arch/${MACHINE}/Makefile.inc"
1.9       deraadt    21: .endif
1.1       cgd        22:
1.7       cgd        23: .include "${.CURDIR}/db/Makefile.inc"
1.1       cgd        24: .include "${.CURDIR}/compat-43/Makefile.inc"
                     25: .include "${.CURDIR}/gen/Makefile.inc"
                     26: .include "${.CURDIR}/locale/Makefile.inc"
                     27: .include "${.CURDIR}/net/Makefile.inc"
                     28: .include "${.CURDIR}/stdio/Makefile.inc"
                     29: .include "${.CURDIR}/stdlib/Makefile.inc"
                     30: .include "${.CURDIR}/string/Makefile.inc"
                     31: .include "${.CURDIR}/sys/Makefile.inc"
1.4       deraadt    32: .include "${.CURDIR}/yp/Makefile.inc"
                     33: .include "${.CURDIR}/rpc/Makefile.inc"
1.10      mycroft    34: .include "${.CURDIR}/quad/Makefile.inc"
1.16      pk         35: .include "${.CURDIR}/dl/Makefile.inc"
1.19    ! jtc        36: .include "${.CURDIR}/regex/Makefile.inc"
1.1       cgd        37:
1.14      jtc        38: LIBKERN=       /sys/lib/libkern
                     39:
1.18      cgd        40: KSRCS= bcmp.c bzero.c ffs.c strcat.c strcmp.c strcpy.c strlen.c strncmp.c \
                     41:        strncpy.c htonl.c htons.c ntohl.c ntohl.c
1.14      jtc        42:
1.15      jtc        43: copy-to-libkern:       copy-to-libkern-machind copy-to-libkern-machdep
                     44:
                     45: copy-to-libkern-machind: ${KSRCS}
1.14      jtc        46:        cp -p ${.ALLSRC} ${LIBKERN}
                     47:
1.15      jtc        48: copy-to-libkern-machdep: ${KMSRCS}
                     49: .if defined(KMSRCS) && !empty(KMSRCS)
                     50:        cp -p ${.ALLSRC} ${LIBKERN}/${MACHINE}
1.18      cgd        51: .endif
                     52: .if defined(KMINCLUDES) && !empty(KMINCLUDES)
                     53:        (cd ${.CURDIR} ; cp -p ${KMINCLUDES} ${LIBKERN}/${MACHINE})
1.15      jtc        54: .endif
                     55:
1.14      jtc        56: rm-from-libkern:
                     57:        for i in ${KSRCS}; do rm -f ${LIBKERN}/$$i; done
1.15      jtc        58: .if defined(KMSRCS) && !empty(KMSRCS)
                     59:        for i in ${KMSRCS}; do rm -f ${LIBKERN}/${MACHINE}/$$i; done
                     60: .endif
1.14      jtc        61:
1.1       cgd        62: .include <bsd.lib.mk>

CVSweb <webmaster@jp.NetBSD.org>