xref: /aosp_15_r20/external/ltp/testcases/kernel/syscalls/futex/Makefile (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker# SPDX-License-Identifier: GPL-2.0-or-later
2*49cdfc7eSAndroid Build Coastguard Worker#  Copyright (c) 2015 Cyril Hrubis <[email protected]>
3*49cdfc7eSAndroid Build Coastguard Worker
4*49cdfc7eSAndroid Build Coastguard Workertop_srcdir		?= ../../../..
5*49cdfc7eSAndroid Build Coastguard Worker
6*49cdfc7eSAndroid Build Coastguard Workerfutex_cmp_requeue01: LDLIBS+=-lrt
7*49cdfc7eSAndroid Build Coastguard Workerfutex_cmp_requeue02: LDLIBS+=-lrt
8*49cdfc7eSAndroid Build Coastguard Workerfutex_wait02: LDLIBS+=-lrt
9*49cdfc7eSAndroid Build Coastguard Workerfutex_wake03: LDLIBS+=-lrt
10*49cdfc7eSAndroid Build Coastguard Workerfutex_wait05: LDLIBS+=-lrt
11*49cdfc7eSAndroid Build Coastguard Workerfutex_wait_bitset01: LDLIBS+=-lrt
12*49cdfc7eSAndroid Build Coastguard Workerfutex_waitv01: LDLIBS+=-lrt
13*49cdfc7eSAndroid Build Coastguard Workerfutex_waitv02: LDLIBS+=-lrt
14*49cdfc7eSAndroid Build Coastguard Workerfutex_waitv03: LDLIBS+=-lrt
15*49cdfc7eSAndroid Build Coastguard Worker
16*49cdfc7eSAndroid Build Coastguard Workerfutex_wait03: CFLAGS+=-pthread
17*49cdfc7eSAndroid Build Coastguard Workerfutex_wake02: CFLAGS+=-pthread
18*49cdfc7eSAndroid Build Coastguard Workerfutex_wake04: CFLAGS+=-pthread
19*49cdfc7eSAndroid Build Coastguard Workerfutex_waitv02: CFLAGS+=-pthread
20*49cdfc7eSAndroid Build Coastguard Workerfutex_waitv03: CFLAGS+=-pthread
21*49cdfc7eSAndroid Build Coastguard Worker
22*49cdfc7eSAndroid Build Coastguard Workerinclude $(top_srcdir)/include/mk/testcases.mk
23*49cdfc7eSAndroid Build Coastguard Workerinclude $(top_srcdir)/include/mk/generic_leaf_target.mk
24