Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/nathanw_sa]: src/lib/libpthread Forgot this file, somehow.



details:   https://anonhg.NetBSD.org/src/rev/238752a520b1
branches:  nathanw_sa
changeset: 504568:238752a520b1
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Thu Mar 08 00:20:10 2001 +0000

description:
Forgot this file, somehow.

diffstat:

 lib/libpthread/Makefile |  35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diffs (39 lines):

diff -r bcd15c6e802c -r 238752a520b1 lib/libpthread/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/libpthread/Makefile   Thu Mar 08 00:20:10 2001 +0000
@@ -0,0 +1,35 @@
+#      $NetBSD: Makefile,v 1.8.2.1 2001/03/08 00:20:10 nathanw Exp $
+#
+
+.if exists(${.CURDIR}/arch/${MACHINE_ARCH})
+ARCHSUBDIR=    ${MACHINE_ARCH}
+.elif exists(${.CURDIR}/arch/${MACHINE_CPU}) 
+ARCHSUBDIR=    ${MACHINE_CPU}
+.else
+.BEGIN:
+       @echo no ARCHSUBDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU}
+       @false
+.endif
+
+ARCHDIR=       ${.CURDIR}/arch/${ARCHSUBDIR}
+AINC=          -I${ARCHDIR}
+.PATH: ${ARCHDIR}
+
+CPPFLAGS+=     ${AINC} -I${.CURDIR} -I${.OBJDIR}
+
+DPSRCS+=       assym.h
+
+assym.h: genassym.sh ${ARCHDIR}/genassym.cf
+       sh ${.CURDIR}/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
+               < ${ARCHDIR}/genassym.cf > assym.h.tmp && \
+       mv -f assym.h.tmp assym.h
+
+LIB=   pthread
+SRCS=  pthread.c pthread_lock.c pthread_mutex.c pthread_run.c
+SRCS+= pthread_sa.c pthread_sig.c pthread_stack.c pthread_switch.S
+SRCS+= sched.c
+
+INCS=  pthread.h sched.h
+INCSDIR=/usr/include
+
+.include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index