summaryrefslogtreecommitdiff
path: root/config/linux/config.mk
blob: e2b3a442b755b9b5a883db2b250121edff19857e (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
# 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
include $(PROJECT_DIR)/profiles/pyexts/subsets.mk

PYEXT_SHARED = \
	$(PYEXT_SUBSET_SHARED_ANYOS_CORE) \
	$(PYEXT_SUBSET_SHARED_ANYOS_AUDIO) \
	$(PYEXT_SUBSET_SHARED_LINUX_AUDIO)  \

PYEXT_STATIC = \
	$(PYEXT_SUBSET_STATIC_ANYOS_CORE) \
	$(PYEXT_SUBSET_STATIC_ANYOS_AUDIO) \
	$(PYEXT_SUBSET_STATIC_LINUX_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/linux.h \
	$(PROJECT_DIR)/profiles/osapi/overrides.h \