[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / librt

File: [cvs.NetBSD.org] / src / lib / librt / Makefile (download)

Revision 1.20, Fri Aug 5 13:03:13 2016 UTC (3 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.19: +3 -1 lines

add missing stuff for the affinity calls (Rocky Hotas)

#	$NetBSD: Makefile,v 1.20 2016/08/05 13:03:13 christos Exp $
#

.include <bsd.own.mk>

WARNS?=	5

LIB=	rt

SRCS=	sem.c shm.c pset.c

MAN+=	aio.3 aio_cancel.3 aio_error.3 aio_fsync.3 aio_read.3 aio_return.3 \
	aio_suspend.3 aio_write.3 lio_listio.3 \
	mq.3 mq_close.3 mq_getattr.3 mq_notify.3 mq_open.3 mq_receive.3 \
	mq_send.3 mq_setattr.3 mq_unlink.3 \
	pset.3 sched.3 shm_open.3 \
	sem_destroy.3 sem_getvalue.3 sem_init.3 sem_open.3 sem_post.3 \
	sem_wait.3

MLINKS+=	mq.3 mqueue.3
MLINKS+=	mq_receive.3 mq_timedreceive.3
MLINKS+=	mq_send.3 mq_timedsend.3

MLINKS+=	sem_open.3 sem_close.3
MLINKS+=	sem_open.3 sem_unlink.3
MLINKS+=	sem_wait.3 sem_timedwait.3
MLINKS+=	sem_wait.3 sem_trywait.3

MLINKS+=	pset.3 pset_create.3
MLINKS+=	pset.3 pset_assign.3
MLINKS+=	pset.3 pset_bind.3
MLINKS+=	pset.3 pset_destroy.3

MLINKS+=	sched.3 sched_setparam.3
MLINKS+=	sched.3 sched_getparam.3
MLINKS+=	sched.3 sched_protect.3
MLINKS+=	sched.3 sched_setscheduler.3
MLINKS+=	sched.3 sched_getscheduler.3
MLINKS+=	sched.3 sched_get_priority_max.3
MLINKS+=	sched.3 sched_get_priority_min.3
MLINKS+=	sched.3 sched_rr_get_interval.3
MLINKS+=	sched.3 sched_yield.3
MLINKS+=	sched.3 sched_setaffinity_np.3
MLINKS+=	sched.3 sched_getaffinity_np.3

MLINKS+=	shm_open.3 shm_unlink.3

.include "${.CURDIR}/../libc/libcincludes.mk"

AFLAGS+=-I${ARCHDIR}

.include "${.CURDIR}/sys/Makefile.inc"

.if ${MACHINE_ARCH} == "powerpc64"
# XXX: How come it does not resolve from libc?
CPPFLAGS+=-I${NETBSDSRCDIR}/lib/libc/include
.PATH.c: ${NETBSDSRCDIR}/lib/libc/gen
SRCS+= _errno.c
.endif

.include <bsd.lib.mk>