]> git.saurik.com Git - apple/libpthread.git/blame - tests/Makefile
libpthread-301.50.1.tar.gz
[apple/libpthread.git] / tests / Makefile
CommitLineData
2546420a
A
1PROJECT := libpthread
2TEST_DIR := tests/
964d3577 3
a0619f9c
A
4ENABLE_LTE_TESTS=YES
5
2546420a
A
6ifeq ($(DEVELOPER_DIR),)
7 DEVELOPER_DIR := $(shell xcode-select -p)
8endif
3a6437e6 9
2546420a 10include $(DEVELOPER_DIR)/AppleInternal/Makefiles/darwintest/Makefile.common
3a6437e6 11
2546420a
A
12TARGETS :=
13TARGETS += atfork
14TARGETS += bsdthread_set_self
15TARGETS += cond
16#TARGETS += cond_hang3
17#TARGETS += cond_stress
18TARGETS += cond_timed
19TARGETS += custom_stack
20TARGETS += stack_aslr
21TARGETS += join
22TARGETS += main_stack
23TARGETS += main_stack_custom
a0619f9c 24TARGETS += detach
2546420a
A
25#TARGETS += maxwidth
26TARGETS += mutex
27TARGETS += mutex_try
28TARGETS += once_cancel
29TARGETS += pthread_attr_setstacksize
30TARGETS += pthread_bulk_create
31TARGETS += pthread_cancel
32TARGETS += pthread_cwd
33TARGETS += pthread_exit
34TARGETS += pthread_introspection
35TARGETS += pthread_setspecific
36TARGETS += pthread_threadid_np
a0619f9c 37TARGETS += pthread_get_qos_class_np
2546420a 38#TARGETS += qos
a0619f9c 39TARGETS += rdar_32848402
2546420a
A
40#TARGETS += rwlock-22244050
41#TARGETS += rwlock-signal
42#TARGETS += rwlock
43TARGETS += tsd
44#TARGETS += wq_block_handoff
45#TARGETS += wq_event_manager
46#TARGETS += wq_kevent
47#TARGETS += wq_kevent_stress
a0619f9c 48TARGETS += wq_limits
2546420a 49TARGETS += add_timer_termination
964d3577 50
a0619f9c
A
51OTHER_LTE_INCLUDE_FILES += \
52 /usr/local/lib/libdarwintest_utils.dylib
964d3577 53
2546420a
A
54OTHER_CFLAGS := -DDARWINTEST -Weverything \
55 -Wno-vla -Wno-bad-function-cast -Wno-missing-noreturn \
56 -Wno-missing-field-initializers -Wno-format-pedantic \
57 -Wno-gnu-folding-constant
58OTHER_LDFLAGS := -ldarwintest_utils
964d3577 59
2546420a
A
60#TARGETS += main_stack_legacy // Disabled by default due to linker warnings
61#main_stack_legacy: OTHER_LDFLAGS += -Wl,-stack_addr,0xc1000000 -Wl,-stack_size,0x0f00000
62#main_stack_legacy: OTHER_CFLAGS += -DSTACKSIZE=0x0f00000
63#main_stack_legacy: ARCH_FLAGS = -arch i386
64#main_stack_legacy: DEPLOYMENT_TARGET_FLAGS = -mmacosx-version-min=10.7
964d3577 65
2546420a
A
66main_stack_custom: OTHER_LDFLAGS += -Wl,-stack_size,0x14000
67main_stack_custom: OTHER_CFLAGS += -DSTACKSIZE=0x14000
964d3577 68
2546420a 69bsdthread_set_self: OTHER_CFLAGS += -D_DARWIN_FEATURE_CLOCK_GETTIME
3a6437e6 70
2546420a 71include $(DEVELOPER_DIR)/AppleInternal/Makefiles/darwintest/Makefile.targets