summaryrefslogtreecommitdiff
path: root/config/x86_64-linux-musl/config.mk
blob: d5f3e205a375a19291960293e4b9760fd34f07ab (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
CFLAGS_NCURSES  = -I$(SYSROOT)/usr/local/include/ncurses -I$(SYSROOT)/usr/include/ncurses
LDFLAGS_NCURSES = -Wl,--as-needed -lpanelw -lncursesw -Wl,--no-as-needed

CFLAGS_SQLITE   = -I$(SYSROOT)/usr/local/include/sqlite3 -I$(SYSROOT)/usr/include/sqlite3
CFLAGS_SQLITE  += -DMODULE_NAME=\"sqlite3\"
CFLAGS_SQLITE  += -DSQLITE_OMIT_LOAD_EXTENSION
LDFLAGS_SQLITE  = -lsqlite3

CFLAGS_EXPAT    = -DXML_DEV_URANDOM
LDFLAGS_EXPAT   = -lexpat

CFLAGS_DBM      = -DHAVE_NDBM_H
LDFLAGS_DBM     = -lgdbm_compat

PYTHON_PATH  =

DYNLOAD_SRCS = \
	Python/dynload_shlib.c \

CONFIG_SRCS = \
	Modules/_codecsmodule.c \
	Modules/_sre.c \
	Modules/_weakref.c \
	Modules/errnomodule.c \
	Modules/posixmodule.c \
	Modules/pwdmodule.c \
	Modules/signalmodule.c \
	Modules/symtablemodule.c \
	Modules/threadmodule.c \
	Modules/xxsubtype.c \
	Modules/zipimport.c \

shared-lib: LDFLAGS_CONFIG += -Wl,-no-undefined

PYEXT_SUBSET_SHARED = \
	$(PYEXT_ARRAY_SHARED) \
	$(PYEXT_AUDIOOP_SHARED) \
	$(PYEXT_BINASCII_SHARED) \
	$(PYEXT_BISECT_SHARED) \
	$(PYEXT_BZ2_SHARED) \
	$(PYEXT_CMATH_SHARED) \
	$(PYEXT_CODECS_CN_SHARED) \
	$(PYEXT_CODECS_HK_SHARED) \
	$(PYEXT_CODECS_ISO2022_SHARED) \
	$(PYEXT_CODECS_JP_SHARED) \
	$(PYEXT_CODECS_KR_SHARED) \
	$(PYEXT_CODECS_TW_SHARED) \
	$(PYEXT_COLLECTIONS_SHARED) \
	$(PYEXT_CPICKLE_SHARED) \
	$(PYEXT_CRYPT_SHARED) \
	$(PYEXT_CSTRINGIO_SHARED) \
	$(PYEXT_CSV_SHARED) \
	$(PYEXT_CTYPES_SHARED) \
	$(PYEXT_CTYPES_TEST_SHARED) \
	$(PYEXT_CURSES_PANEL_SHARED) \
	$(PYEXT_CURSES_SHARED) \
	$(PYEXT_DATETIME_SHARED) \
	$(PYEXT_DBM_SHARED) \
	$(PYEXT_ELEMENTTREE_SHARED) \
	$(PYEXT_FCNTL_SHARED) \
	$(PYEXT_FUNCTOOLS_SHARED) \
	$(PYEXT_FUTURE_BUILTINS_SHARED) \
	$(PYEXT_GDBM_SHARED) \
	$(PYEXT_GRP_SHARED) \
	$(PYEXT_HASHLIB_SHARED) \
	$(PYEXT_HEAPQ_SHARED) \
	$(PYEXT_HOTSHOT_SHARED) \
	$(PYEXT_IO_SHARED) \
	$(PYEXT_ITERTOOLS_SHARED) \
	$(PYEXT_JSON_SHARED) \
	$(PYEXT_LINUXAUDIODEV_SHARED) \
	$(PYEXT_LOCALE_SHARED) \
	$(PYEXT_LSPROF_SHARED) \
	$(PYEXT_MATH_SHARED) \
	$(PYEXT_MMAP_SHARED) \
	$(PYEXT_MULTIBYTECODEC_SHARED) \
	$(PYEXT_MULTIPROCESSING_SHARED) \
	$(PYEXT_OPERATOR_SHARED) \
	$(PYEXT_OSSAUDIODEV_SHARED) \
	$(PYEXT_PARSER_SHARED) \
	$(PYEXT_PYEXPAT_SHARED) \
	$(PYEXT_RANDOM_SHARED) \
	$(PYEXT_READLINE_SHARED) \
	$(PYEXT_RESOURCE_SHARED) \
	$(PYEXT_SELECT_SHARED) \
	$(PYEXT_SOCKET_SHARED) \
	$(PYEXT_SPWD_SHARED) \
	$(PYEXT_SQLITE3_SHARED) \
	$(PYEXT_SSL_SHARED) \
	$(PYEXT_STROP_SHARED) \
	$(PYEXT_STRUCT_SHARED) \
	$(PYEXT_SYSLOG_SHARED) \
	$(PYEXT_TERMIOS_SHARED) \
	$(PYEXT_TESTCAPI_SHARED) \
	$(PYEXT_TIME_SHARED) \
	$(PYEXT_UNICODEDATA_SHARED) \
	$(PYEXT_ZLIB_SHARED) \