]> git.saurik.com Git - apple/libc.git/blame - tests/Makefile
Libc-1158.50.2.tar.gz
[apple/libc.git] / tests / Makefile
CommitLineData
974e3884
A
1PROJECT := Libc
2TEST_DIR := tests/
3
4ifeq ($(DEVELOPER_DIR),)
5 DEVELOPER_DIR := $(shell xcode-select -p)
6endif
7
8include $(DEVELOPER_DIR)/AppleInternal/Makefiles/darwintest/Makefile.common
9
10OTHER_CFLAGS := -DDARWINTEST -Weverything -Wno-vla -Wno-missing-field-initializers -Wno-padded -Wno-gnu-flexible-array-initializer --std=gnu11 -Wno-gnu-empty-initializer
11OTHER_LDFLAGS := -ldarwintest_utils
12
13nxheap: OTHER_CFLAGS += -Wno-cast-align
14strlcat: OTHER_CFLAGS += -Wno-pointer-arith
15psort: OTHER_CFLAGS += -Wno-cast-qual -Wno-sign-conversion
16net: OTHER_CFLAGS += -Wno-sign-conversion -Wno-cast-align -Wno-incompatible-pointer-types-discards-qualifiers -Wno-sign-compare
17
18include $(DEVELOPER_DIR)/AppleInternal/Makefiles/darwintest/Makefile.targets