blob: 63770fcd11225041b3d4eb979a46c0500d92aaed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# platform
PYTHON_PATH =
PYTHON_PLATFORM = midipix
# extensions: built-in
CONFIG_SRCS = $(CONFIG_DEFAULT_SRCS)
# extensions: dynamic loading
DYNLOAD_SRCS = \
core/Python/dynload_shlib.c \
# extensions: desired subsets
ifneq ($(PYTHON_MAJOR),)
include $(PROJECT_DIR)/project/variants/$(PYTHON_MAJOR).$(PYTHON_MINOR).$(PYTHON_MICRO)/subsets.mk
endif
PYEXT_SHARED = \
$(PYEXT_SUBSET_SHARED_ANYOS_CORE) \
PYEXT_STATIC = \
$(PYEXT_SUBSET_STATIC_ANYOS_CORE) \
# strict shared object generation
LDFLAGS_STRICT += -Wl,-no-undefined
# osapi headers
PYTHON_OSAPI_HEADERS = \
$(PROJECT_DIR)/profiles/osapi/modern.h \
$(PROJECT_DIR)/profiles/osapi/rtld.h \
$(PROJECT_DIR)/profiles/osapi/midipix.h \
|