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