Return to Makefile CVS log | Up to [local] / src / lib / libc_r |
File: [local] / src / lib / libc_r / Attic / Makefile (download)
Revision 1.10, Thu Jan 6 07:09:36 2000 UTC (24 years, 5 months ago) by d
clean. define LIBC_RSRCDIR for lipthread (ugh) |
# $OpenBSD: Makefile,v 1.10 2000/01/06 07:09:36 d Exp $ # After OpenBSD 2.7, libc_r will be depreceated and replaced by libpthread. # See also comments in ../libc/Makefile. .include <bsd.own.mk> LIBCSRCDIR = ${.CURDIR}/../libc LIBC_RSRCDIR = ${.CURDIR} LIB= c_r LINTFLAGS= -z CFLAGS+= -DPTHREAD_KERNEL -D_POSIX_THREADS -D_THREAD_SAFE CFLAGS+= -D_PTHREADS_INVARIANTS CFLAGS+= -DNOPOLL -I${LIBC_RSRCDIR}/uthread CFLAGS+= -I${LIBC_RSRCDIR}/include CFLAGS+= -I${LIBCSRCDIR}/include # Uncomment this if you want libc_r to contain debug information for # thread locking. CFLAGS+= -D_LOCK_DEBUG #DEBUG= -ggdb -Wall .include "${LIBCSRCDIR}/Makefile.inc" # annul man pages that are built/installed by libc MAN= MLINKS= # XXX bogus version number! SHLIB_MAJOR != . ${LIBC_RSRCDIR}/shlib_version ; echo $$major SHLIB_MINOR != . ${LIBC_RSRCDIR}/shlib_version ; echo $$minor AINC+= -I${LIBC_RSRCDIR}/uthread .include "${LIBC_RSRCDIR}/uthread/Makefile.inc" .include "${LIBC_RSRCDIR}/sys/Makefile.inc" .include "${LIBC_RSRCDIR}/thread/Makefile.inc" .include "${LIBC_RSRCDIR}/man/Makefile.inc" .include "${LIBC_RSRCDIR}/include/Makefile.inc" .include <bsd.lib.mk>