Files
clang-p2996/lldb/packages/Python/lldbsuite/test/macosx/macabi/Makefile
Adrian Prantl 2461061168 Upstream macCatalyst support in debugserver and the macOS dynamic loader
plugin.

Unfortunately the test is currently XFAILed because of missing changes
to the clang driver.

Differential Revision: https://reviews.llvm.org/D67124

llvm-svn: 370931
2019-09-04 17:23:15 +00:00

19 lines
433 B
Makefile

LEVEL = ../../make
C_SOURCES := main.c
LD_EXTRAS := -L. -lfoo
TRIPLE := x86_64-apple-ios13.0-macabi
CFLAGS_EXTRAS := -target $(TRIPLE)
all: libfoo.dylib a.out
lib%.dylib: %.c
$(MAKE) MAKE_DSYM=YES CC=$(CC) \
ARCH=$(ARCH) DSYMUTIL=$(DSYMUTIL) \
BASENAME=$(shell basename $< .c) \
TRIPLE=x86_64-apple-macosx10.15 SDKROOT=$(SDKROOT) \
VPATH=$(SRCDIR) -I $(SRCDIR) -f $(SRCDIR)/dylib.mk all
include $(LEVEL)/Makefile.rules