summaryrefslogtreecommitdiff
path: root/config/linux/config.mk
blob: becf01feb17e73576671de84ea3f3db8ff8fc8b8 (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
35
36
37
# platform
PYTHON_PATH	=
PYTHON_PLATFORM	= linux2


# 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_SUBSET_SHARED_ANYOS_AUDIO) \

PYEXT_STATIC = \
	$(PYEXT_SUBSET_STATIC_ANYOS_CORE) \
	$(PYEXT_SUBSET_STATIC_ANYOS_AUDIO) \


# 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/linux.h \
	$(PROJECT_DIR)/profiles/osapi/overrides.h \