mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 01:58:44 +08:00
This is the conclusion of an effort to get LLDB's Python code structured into a bona-fide Python package. This has a number of benefits, but most notably the ability to more easily share Python code between different but related pieces of LLDB's Python infrastructure (for example, `scripts` can now share code with `test`). llvm-svn: 251532
22 lines
300 B
Makefile
22 lines
300 B
Makefile
LEVEL := ../../make
|
|
|
|
LIB_PREFIX := loadunload_
|
|
|
|
CFLAGS_EXTRAS := -fPIC
|
|
LD_EXTRAS := -L. -l$(LIB_PREFIX)b
|
|
|
|
DYLIB_NAME := $(LIB_PREFIX)a
|
|
DYLIB_C_SOURCES := a.c
|
|
DYLIB_ONLY := YES
|
|
|
|
include $(LEVEL)/Makefile.rules
|
|
|
|
.PHONY:
|
|
$(DYLIB_FILENAME): lib_b
|
|
|
|
lib_b:
|
|
$(MAKE) -f b.mk
|
|
|
|
clean::
|
|
$(MAKE) -f b.mk clean
|