summaryrefslogtreecommitdiff
path: root/lib/librt/sys/Makefile.inc
blob: fecebae261ca467944b366b3bbc7dea0d3419ad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#	$NetBSD: Makefile.inc,v 1.9 2011/01/18 16:41:51 matt Exp $

.PATH: ${.CURDIR}/sys
.PATH: ${ARCHDIR}/sys

ASM=		aio_cancel.S aio_error.S aio_fsync.S aio_read.S aio_return.S \
		aio_write.S lio_listio.S \
		mq_close.S mq_getattr.S mq_notify.S mq_open.S \
		mq_setattr.S mq_unlink.S \
		pset_create.S pset_destroy.S pset_assign.S _pset_bind.S

SRCS+=		${ASM}
CLEANFILES+=	${ASM}

LIBCDIR!=	cd ${NETBSDSRCDIR}/lib/libc && ${PRINTOBJDIR}

SRCS+=		cerror.S
CPPFLAGS+=	-D__cerror=__rt_cerror -I${LIBCDIR} -D_REENTRANT

ASMDEPS=	${.CURDIR}/sys/Makefile.inc ${ARCHDIR}/SYS.h \
		${DESTDIR}/usr/include/sys/syscall.h

${ASM}: ${ASMDEPS}
	${_MKTARGET_CREATE}
	printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' >${.TARGET}
istos 2014-10-22Make unwind.h installable.christos 2014-05-06Make EHABI optional.joerg 2014-03-24_Unwind_GetLanguageSpecificData is supposed to return a _Unwind_Ptr.joerg 2014-03-09another libelf instancechristos 2013-11-21From Ed Maste:christos 2013-09-03print an error if we failed to allocate.christos 2013-08-29add stdint.h for FreeBSD compat.christos 2013-08-29use sysctl to find the pathname argv[0] if available (from FreeBSD viachristos 2013-08-22fix typo (Sergey Kandaurov)christos 2013-04-30earm -> earm*matt 2013-04-27Changes for MKCOMPAT for earm.matt 2013-04-25When building for earm, make sure to build unwind_arm_ehabi_stub.*matt 2013-04-25libgcc/libcompiler_rt inlines some functions needed by libexecinfo whenmatt 2012-07-09fix cleanup on errorchristos 2012-06-10mention .Nx 7.0christos 2012-06-09PR/46571: Yui NARUSE: execinfo.h should include stddef.hchristos 2012-05-27remove unrelated fragment.christos 2012-05-27Sort sections.wiz 2012-05-26Add a similar to linux backtrace_* and execinfo.h family of functionschristos