Home | History | Annotate | Line # | Download | only in libpthread
Makefile revision 1.8.2.2
      1  1.8.2.2  nathanw #	$NetBSD: Makefile,v 1.8.2.2 2001/07/13 02:10:35 nathanw Exp $
      2  1.8.2.1  nathanw #
      3      1.1   proven 
      4  1.8.2.1  nathanw .if exists(${.CURDIR}/arch/${MACHINE_ARCH})
      5  1.8.2.1  nathanw ARCHSUBDIR=	${MACHINE_ARCH}
      6  1.8.2.1  nathanw .elif exists(${.CURDIR}/arch/${MACHINE_CPU}) 
      7  1.8.2.1  nathanw ARCHSUBDIR=	${MACHINE_CPU}
      8  1.8.2.1  nathanw .else
      9  1.8.2.1  nathanw .BEGIN:
     10  1.8.2.1  nathanw 	@echo no ARCHSUBDIR for ${MACHINE_ARCH} nor ${MACHINE_CPU}
     11  1.8.2.1  nathanw 	@false
     12  1.8.2.1  nathanw .endif
     13  1.8.2.1  nathanw 
     14  1.8.2.1  nathanw ARCHDIR=	${.CURDIR}/arch/${ARCHSUBDIR}
     15  1.8.2.1  nathanw AINC=		-I${ARCHDIR}
     16  1.8.2.1  nathanw .PATH:	${ARCHDIR}
     17  1.8.2.1  nathanw 
     18  1.8.2.1  nathanw CPPFLAGS+=	${AINC} -I${.CURDIR} -I${.OBJDIR}
     19  1.8.2.1  nathanw 
     20  1.8.2.1  nathanw DPSRCS+=	assym.h
     21  1.8.2.1  nathanw 
     22  1.8.2.1  nathanw assym.h: genassym.sh ${ARCHDIR}/genassym.cf
     23  1.8.2.1  nathanw 	sh ${.CURDIR}/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
     24  1.8.2.1  nathanw 		< ${ARCHDIR}/genassym.cf > assym.h.tmp && \
     25  1.8.2.1  nathanw 	mv -f assym.h.tmp assym.h
     26  1.8.2.1  nathanw 
     27  1.8.2.1  nathanw LIB=	pthread
     28  1.8.2.1  nathanw SRCS=	pthread.c pthread_lock.c pthread_mutex.c pthread_run.c
     29  1.8.2.1  nathanw SRCS+=	pthread_sa.c pthread_sig.c pthread_stack.c pthread_switch.S
     30  1.8.2.1  nathanw SRCS+=	sched.c
     31  1.8.2.1  nathanw 
     32  1.8.2.2  nathanw INCS=	pthread.h pthread_types.h pthread_queue.h sched.h
     33  1.8.2.1  nathanw INCSDIR=/usr/include
     34      1.1   proven 
     35  1.8.2.1  nathanw .include <bsd.lib.mk>
     36  1.8.2.2  nathanw # DO NOT DELETE
     37