Home | History | Annotate | Line # | Download | only in sys
Makefile.inc revision 1.9
      1  1.9   matt #	$NetBSD: Makefile.inc,v 1.9 2011/01/18 16:41:51 matt Exp $
      2  1.1  rmind 
      3  1.1  rmind .PATH: ${.CURDIR}/sys
      4  1.6   matt .PATH: ${ARCHDIR}/sys
      5  1.1  rmind 
      6  1.1  rmind ASM=		aio_cancel.S aio_error.S aio_fsync.S aio_read.S aio_return.S \
      7  1.4  rmind 		aio_write.S lio_listio.S \
      8  1.4  rmind 		mq_close.S mq_getattr.S mq_notify.S mq_open.S \
      9  1.5  rmind 		mq_setattr.S mq_unlink.S \
     10  1.5  rmind 		pset_create.S pset_destroy.S pset_assign.S _pset_bind.S
     11  1.1  rmind 
     12  1.1  rmind SRCS+=		${ASM}
     13  1.2  rmind CLEANFILES+=	${ASM}
     14  1.1  rmind 
     15  1.9   matt LIBCDIR!=	cd ${NETBSDSRCDIR}/lib/libc && ${PRINTOBJDIR}
     16  1.9   matt 
     17  1.6   matt SRCS+=		cerror.S
     18  1.9   matt CPPFLAGS+=	-D__cerror=__rt_cerror -I${LIBCDIR} -D_REENTRANT
     19  1.6   matt 
     20  1.1  rmind ASMDEPS=	${.CURDIR}/sys/Makefile.inc ${ARCHDIR}/SYS.h \
     21  1.1  rmind 		${DESTDIR}/usr/include/sys/syscall.h
     22  1.1  rmind 
     23  1.1  rmind ${ASM}: ${ASMDEPS}
     24  1.1  rmind 	${_MKTARGET_CREATE}
     25  1.1  rmind 	printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' >${.TARGET}
     26