Reicher82 / python / sbpython3

Forked from python/sbpython3 3 years ago
Clone

Blame project/pyexts.mk

6dc580
# _multibytecodec
6dc580
PYEXT_MULTIBYTECODEC_SRCS	+= pyext/obj/cjkcodecs/multibytecodec.c
6dc580
6dc580
PYEXT_MULTIBYTECODEC_LOBJS	= $(PYEXT_MULTIBYTECODEC_SRCS:.c=.lo)
6dc580
PYEXT_MULTIBYTECODEC_OBJS	= $(PYEXT_MULTIBYTECODEC_SRCS:.c=.o)
6dc580
6dc580
PYEXT_MULTIBYTECODEC_SHARED	= pyext/_multibytecodec$(PYTHON_SOEXT)
6dc580
PYEXT_MULTIBYTECODEC_STATIC	= pyext/_multibytecodec$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_MULTIBYTECODEC_SHARED):	$(PYEXT_MULTIBYTECODEC_LOBJS)
6dc580
$(PYEXT_MULTIBYTECODEC_STATIC):	$(PYEXT_MULTIBYTECODEC_OBJS)
6dc580
6dc580
pyext-multibytecodec-shared:	$(PYEXT_MULTIBYTECODEC_SHARED)
6dc580
pyext-multibytecodec-static:	$(PYEXT_MULTIBYTECODEC_STATIC)
6dc580
6dc580
pyext-multibytecodec-clean:
6dc580
	rm -f $(PYEXT_MULTIBYTECODEC_LOBJS)
6dc580
	rm -f $(PYEXT_MULTIBYTECODEC_OBJS)
6dc580
	rm -f $(PYEXT_MULTIBYTECODEC_SHARED)
6dc580
	rm -f $(PYEXT_MULTIBYTECODEC_STATIC)
6dc580
6dc580
clean:	pyext-multibytecodec-clean
6dc580
6dc580
.PHONY:	pyext-multibytecodec-shared
6dc580
.PHONY:	pyext-multibytecodec-static
6dc580
.PHONY:	pyext-multibytecodec-clean
6dc580
6dc580
6dc580
# _codecs_cn
6dc580
PYEXT_CODECS_CN_SRCS		+= pyext/obj/cjkcodecs/_codecs_cn.c
6dc580
6dc580
PYEXT_CODECS_CN_LOBJS		= $(PYEXT_CODECS_CN_SRCS:.c=.lo)
6dc580
PYEXT_CODECS_CN_OBJS		= $(PYEXT_CODECS_CN_SRCS:.c=.o)
6dc580
6dc580
PYEXT_CODECS_CN_SHARED		= pyext/_codecs_cn$(PYTHON_SOEXT)
6dc580
PYEXT_CODECS_CN_STATIC		= pyext/_codecs_cn$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_CODECS_CN_SHARED):	$(PYEXT_CODECS_CN_LOBJS)
6dc580
$(PYEXT_CODECS_CN_STATIC):	$(PYEXT_CODECS_CN_OBJS)
6dc580
6dc580
pyext-codecs_cn-shared:		$(PYEXT_CODECS_CN_SHARED)
6dc580
pyext-codecs_cn-static:		$(PYEXT_CODECS_CN_STATIC)
6dc580
6dc580
pyext-codecs_cn-clean:
6dc580
	rm -f $(PYEXT_CODECS_CN_LOBJS)
6dc580
	rm -f $(PYEXT_CODECS_CN_OBJS)
6dc580
	rm -f $(PYEXT_CODECS_CN_SHARED)
6dc580
	rm -f $(PYEXT_CODECS_CN_STATIC)
6dc580
6dc580
clean:	pyext-codecs_cn-clean
6dc580
6dc580
.PHONY:	pyext-codecs_cn-shared
6dc580
.PHONY:	pyext-codecs_cn-static
6dc580
.PHONY:	pyext-codecs_cn-clean
6dc580
6dc580
6dc580
# _codecs_hk
6dc580
PYEXT_CODECS_HK_SRCS		+= pyext/obj/cjkcodecs/_codecs_hk.c
6dc580
6dc580
PYEXT_CODECS_HK_LOBJS		= $(PYEXT_CODECS_HK_SRCS:.c=.lo)
6dc580
PYEXT_CODECS_HK_OBJS		= $(PYEXT_CODECS_HK_SRCS:.c=.o)
6dc580
6dc580
PYEXT_CODECS_HK_SHARED		= pyext/_codecs_hk$(PYTHON_SOEXT)
6dc580
PYEXT_CODECS_HK_STATIC		= pyext/_codecs_hk$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_CODECS_HK_SHARED):	$(PYEXT_CODECS_HK_LOBJS)
6dc580
$(PYEXT_CODECS_HK_STATIC):	$(PYEXT_CODECS_HK_OBJS)
6dc580
6dc580
pyext-codecs_hk-shared:		$(PYEXT_CODECS_HK_SHARED)
6dc580
pyext-codecs_hk-static:		$(PYEXT_CODECS_HK_STATIC)
6dc580
6dc580
pyext-codecs_hk-clean:
6dc580
	rm -f $(PYEXT_CODECS_HK_LOBJS)
6dc580
	rm -f $(PYEXT_CODECS_HK_OBJS)
6dc580
	rm -f $(PYEXT_CODECS_HK_SHARED)
6dc580
	rm -f $(PYEXT_CODECS_HK_STATIC)
6dc580
6dc580
clean:	pyext-codecs_hk-clean
6dc580
6dc580
.PHONY:	pyext-codecs_hk-shared
6dc580
.PHONY:	pyext-codecs_hk-static
6dc580
.PHONY:	pyext-codecs_hk-clean
6dc580
6dc580
6dc580
# _codecs_jp
6dc580
PYEXT_CODECS_JP_SRCS		+= pyext/obj/cjkcodecs/_codecs_jp.c
6dc580
6dc580
PYEXT_CODECS_JP_LOBJS		= $(PYEXT_CODECS_JP_SRCS:.c=.lo)
6dc580
PYEXT_CODECS_JP_OBJS		= $(PYEXT_CODECS_JP_SRCS:.c=.o)
6dc580
6dc580
PYEXT_CODECS_JP_SHARED		= pyext/_codecs_jp$(PYTHON_SOEXT)
6dc580
PYEXT_CODECS_JP_STATIC		= pyext/_codecs_jp$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_CODECS_JP_SHARED):	$(PYEXT_CODECS_JP_LOBJS)
6dc580
$(PYEXT_CODECS_JP_STATIC):	$(PYEXT_CODECS_JP_OBJS)
6dc580
6dc580
pyext-codecs_jp-shared:		$(PYEXT_CODECS_JP_SHARED)
6dc580
pyext-codecs_jp-static:		$(PYEXT_CODECS_JP_STATIC)
6dc580
6dc580
pyext-codecs_jp-clean:
6dc580
	rm -f $(PYEXT_CODECS_JP_LOBJS)
6dc580
	rm -f $(PYEXT_CODECS_JP_OBJS)
6dc580
	rm -f $(PYEXT_CODECS_JP_SHARED)
6dc580
	rm -f $(PYEXT_CODECS_JP_STATIC)
6dc580
6dc580
clean:	pyext-codecs_jp-clean
6dc580
6dc580
.PHONY:	pyext-codecs_jp-shared
6dc580
.PHONY:	pyext-codecs_jp-static
6dc580
.PHONY:	pyext-codecs_jp-clean
6dc580
6dc580
6dc580
# _codecs_kr
6dc580
PYEXT_CODECS_KR_SRCS		+= pyext/obj/cjkcodecs/_codecs_kr.c
6dc580
6dc580
PYEXT_CODECS_KR_LOBJS		= $(PYEXT_CODECS_KR_SRCS:.c=.lo)
6dc580
PYEXT_CODECS_KR_OBJS		= $(PYEXT_CODECS_KR_SRCS:.c=.o)
6dc580
6dc580
PYEXT_CODECS_KR_SHARED		= pyext/_codecs_kr$(PYTHON_SOEXT)
6dc580
PYEXT_CODECS_KR_STATIC		= pyext/_codecs_kr$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_CODECS_KR_SHARED):	$(PYEXT_CODECS_KR_LOBJS)
6dc580
$(PYEXT_CODECS_KR_STATIC):	$(PYEXT_CODECS_KR_OBJS)
6dc580
6dc580
pyext-codecs_kr-shared:		$(PYEXT_CODECS_KR_SHARED)
6dc580
pyext-codecs_kr-static:		$(PYEXT_CODECS_KR_STATIC)
6dc580
6dc580
pyext-codecs_kr-clean:
6dc580
	rm -f $(PYEXT_CODECS_KR_LOBJS)
6dc580
	rm -f $(PYEXT_CODECS_KR_OBJS)
6dc580
	rm -f $(PYEXT_CODECS_KR_SHARED)
6dc580
	rm -f $(PYEXT_CODECS_KR_STATIC)
6dc580
6dc580
clean:	pyext-codecs_kr-clean
6dc580
6dc580
.PHONY:	pyext-codecs_kr-shared
6dc580
.PHONY:	pyext-codecs_kr-static
6dc580
.PHONY:	pyext-codecs_kr-clean
6dc580
6dc580
6dc580
# _codecs_tw
6dc580
PYEXT_CODECS_TW_SRCS		+= pyext/obj/cjkcodecs/_codecs_tw.c
6dc580
6dc580
PYEXT_CODECS_TW_LOBJS		= $(PYEXT_CODECS_TW_SRCS:.c=.lo)
6dc580
PYEXT_CODECS_TW_OBJS		= $(PYEXT_CODECS_TW_SRCS:.c=.o)
6dc580
6dc580
PYEXT_CODECS_TW_SHARED		= pyext/_codecs_tw$(PYTHON_SOEXT)
6dc580
PYEXT_CODECS_TW_STATIC		= pyext/_codecs_tw$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_CODECS_TW_SHARED):	$(PYEXT_CODECS_TW_LOBJS)
6dc580
$(PYEXT_CODECS_TW_STATIC):	$(PYEXT_CODECS_TW_OBJS)
6dc580
6dc580
pyext-codecs_tw-shared:		$(PYEXT_CODECS_TW_SHARED)
6dc580
pyext-codecs_tw-static:		$(PYEXT_CODECS_TW_STATIC)
6dc580
6dc580
pyext-codecs_tw-clean:
6dc580
	rm -f $(PYEXT_CODECS_TW_LOBJS)
6dc580
	rm -f $(PYEXT_CODECS_TW_OBJS)
6dc580
	rm -f $(PYEXT_CODECS_TW_SHARED)
6dc580
	rm -f $(PYEXT_CODECS_TW_STATIC)
6dc580
6dc580
clean:	pyext-codecs_tw-clean
6dc580
6dc580
.PHONY:	pyext-codecs_tw-shared
6dc580
.PHONY:	pyext-codecs_tw-static
6dc580
.PHONY:	pyext-codecs_tw-clean
6dc580
6dc580
6dc580
# _codecs_iso2022
6dc580
PYEXT_CODECS_ISO2022_SRCS	+= pyext/obj/cjkcodecs/_codecs_iso2022.c
6dc580
6dc580
PYEXT_CODECS_ISO2022_LOBJS	= $(PYEXT_CODECS_ISO2022_SRCS:.c=.lo)
6dc580
PYEXT_CODECS_ISO2022_OBJS	= $(PYEXT_CODECS_ISO2022_SRCS:.c=.o)
6dc580
6dc580
PYEXT_CODECS_ISO2022_SHARED	= pyext/_codecs_iso2022$(PYTHON_SOEXT)
6dc580
PYEXT_CODECS_ISO2022_STATIC	= pyext/_codecs_iso2022$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_CODECS_ISO2022_SHARED):	$(PYEXT_CODECS_ISO2022_LOBJS)
6dc580
$(PYEXT_CODECS_ISO2022_STATIC):	$(PYEXT_CODECS_ISO2022_OBJS)
6dc580
6dc580
pyext-codecs_iso2022-shared:	$(PYEXT_CODECS_ISO2022_SHARED)
6dc580
pyext-codecs_iso2022-static:	$(PYEXT_CODECS_ISO2022_STATIC)
6dc580
6dc580
pyext-codecs_iso2022-clean:
6dc580
	rm -f $(PYEXT_CODECS_ISO2022_LOBJS)
6dc580
	rm -f $(PYEXT_CODECS_ISO2022_OBJS)
6dc580
	rm -f $(PYEXT_CODECS_ISO2022_SHARED)
6dc580
	rm -f $(PYEXT_CODECS_ISO2022_STATIC)
6dc580
6dc580
clean:	pyext-codecs_iso2022-clean
6dc580
6dc580
.PHONY:	pyext-codecs_iso2022-shared
6dc580
.PHONY:	pyext-codecs_iso2022-static
6dc580
.PHONY:	pyext-codecs_iso2022-clean
6dc580
6dc580
6dc580
# _asyncio
6dc580
PYEXT_ASYNCIO_SRCS		+= pyext/obj/_asynciomodule.c
6dc580
6dc580
PYEXT_ASYNCIO_LOBJS		= $(PYEXT_ASYNCIO_SRCS:.c=.lo)
6dc580
PYEXT_ASYNCIO_OBJS		= $(PYEXT_ASYNCIO_SRCS:.c=.o)
6dc580
6dc580
PYEXT_ASYNCIO_SHARED		= pyext/_asyncio$(PYTHON_SOEXT)
6dc580
PYEXT_ASYNCIO_STATIC		= pyext/_asyncio$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_ASYNCIO_SHARED):	$(PYEXT_ASYNCIO_LOBJS)
6dc580
$(PYEXT_ASYNCIO_STATIC):	$(PYEXT_ASYNCIO_OBJS)
6dc580
6dc580
pyext-asyncio-shared:		$(PYEXT_ASYNCIO_SHARED)
6dc580
pyext-asyncio-static:		$(PYEXT_ASYNCIO_STATIC)
6dc580
6dc580
pyext-asyncio-clean:
6dc580
	rm -f $(PYEXT_ASYNCIO_LOBJS)
6dc580
	rm -f $(PYEXT_ASYNCIO_OBJS)
6dc580
	rm -f $(PYEXT_ASYNCIO_SHARED)
6dc580
	rm -f $(PYEXT_ASYNCIO_STATIC)
6dc580
6dc580
clean:	pyext-asyncio-clean
6dc580
6dc580
.PHONY:	pyext-asyncio-shared
6dc580
.PHONY:	pyext-asyncio-static
6dc580
.PHONY:	pyext-asyncio-clean
6dc580
6dc580
6dc580
# _bisect
6dc580
PYEXT_BISECT_SRCS		+= pyext/obj/_bisectmodule.c
6dc580
6dc580
PYEXT_BISECT_LOBJS		= $(PYEXT_BISECT_SRCS:.c=.lo)
6dc580
PYEXT_BISECT_OBJS		= $(PYEXT_BISECT_SRCS:.c=.o)
6dc580
6dc580
PYEXT_BISECT_SHARED		= pyext/_bisect$(PYTHON_SOEXT)
6dc580
PYEXT_BISECT_STATIC		= pyext/_bisect$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_BISECT_SHARED):		$(PYEXT_BISECT_LOBJS)
6dc580
$(PYEXT_BISECT_STATIC):		$(PYEXT_BISECT_OBJS)
6dc580
6dc580
pyext-bisect-shared:		$(PYEXT_BISECT_SHARED)
6dc580
pyext-bisect-static:		$(PYEXT_BISECT_STATIC)
6dc580
6dc580
pyext-bisect-clean:
6dc580
	rm -f $(PYEXT_BISECT_LOBJS)
6dc580
	rm -f $(PYEXT_BISECT_OBJS)
6dc580
	rm -f $(PYEXT_BISECT_SHARED)
6dc580
	rm -f $(PYEXT_BISECT_STATIC)
6dc580
6dc580
clean:	pyext-bisect-clean
6dc580
6dc580
.PHONY:	pyext-bisect-shared
6dc580
.PHONY:	pyext-bisect-static
6dc580
.PHONY:	pyext-bisect-clean
6dc580
6dc580
6dc580
# _crypt
6dc580
PYEXT_CRYPT_SRCS		+= pyext/obj/_cryptmodule.c
6dc580
6dc580
PYEXT_CRYPT_LOBJS		= $(PYEXT_CRYPT_SRCS:.c=.lo)
6dc580
PYEXT_CRYPT_OBJS		= $(PYEXT_CRYPT_SRCS:.c=.o)
6dc580
6dc580
PYEXT_CRYPT_SHARED		= pyext/_crypt$(PYTHON_SOEXT)
6dc580
PYEXT_CRYPT_STATIC		= pyext/_crypt$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_CRYPT_SHARED):		$(PYEXT_CRYPT_LOBJS)
6dc580
$(PYEXT_CRYPT_STATIC):		$(PYEXT_CRYPT_OBJS)
6dc580
6dc580
pyext-crypt-shared:		$(PYEXT_CRYPT_SHARED)
6dc580
pyext-crypt-static:		$(PYEXT_CRYPT_STATIC)
6dc580
6dc580
pyext-crypt-clean:
6dc580
	rm -f $(PYEXT_CRYPT_LOBJS)
6dc580
	rm -f $(PYEXT_CRYPT_OBJS)
6dc580
	rm -f $(PYEXT_CRYPT_SHARED)
6dc580
	rm -f $(PYEXT_CRYPT_STATIC)
6dc580
6dc580
clean:	pyext-crypt-clean
6dc580
6dc580
.PHONY:	pyext-crypt-shared
6dc580
.PHONY:	pyext-crypt-static
6dc580
.PHONY:	pyext-crypt-clean
6dc580
6dc580
6dc580
# _csv
6dc580
PYEXT_CSV_SRCS			+= pyext/obj/_csv.c
6dc580
6dc580
PYEXT_CSV_LOBJS			= $(PYEXT_CSV_SRCS:.c=.lo)
6dc580
PYEXT_CSV_OBJS			= $(PYEXT_CSV_SRCS:.c=.o)
6dc580
6dc580
PYEXT_CSV_SHARED		= pyext/_csv$(PYTHON_SOEXT)
6dc580
PYEXT_CSV_STATIC		= pyext/_csv$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_CSV_SHARED):		$(PYEXT_CSV_LOBJS)
6dc580
$(PYEXT_CSV_STATIC):		$(PYEXT_CSV_OBJS)
6dc580
6dc580
pyext-csv-shared:		$(PYEXT_CSV_SHARED)
6dc580
pyext-csv-static:		$(PYEXT_CSV_STATIC)
6dc580
6dc580
pyext-csv-clean:
6dc580
	rm -f $(PYEXT_CSV_LOBJS)
6dc580
	rm -f $(PYEXT_CSV_OBJS)
6dc580
	rm -f $(PYEXT_CSV_SHARED)
6dc580
	rm -f $(PYEXT_CSV_STATIC)
6dc580
6dc580
clean:	pyext-csv-clean
6dc580
6dc580
.PHONY:	pyext-csv-shared
6dc580
.PHONY:	pyext-csv-static
6dc580
.PHONY:	pyext-csv-clean
6dc580
6dc580
6dc580
# _ctypes_test
6dc580
PYEXT_CTYPES_TEST_SRCS		+= pyext/obj/_ctypes/_ctypes_test.c
6dc580
6dc580
PYEXT_CTYPES_TEST_LOBJS		= $(PYEXT_CTYPES_TEST_SRCS:.c=.lo)
6dc580
PYEXT_CTYPES_TEST_OBJS		= $(PYEXT_CTYPES_TEST_SRCS:.c=.o)
6dc580
6dc580
PYEXT_CTYPES_TEST_SHARED	= pyext/_ctypes_test$(PYTHON_SOEXT)
6dc580
PYEXT_CTYPES_TEST_STATIC	= pyext/_ctypes_test$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_CTYPES_TEST_SHARED):	$(PYEXT_CTYPES_TEST_LOBJS)
6dc580
$(PYEXT_CTYPES_TEST_STATIC):	$(PYEXT_CTYPES_TEST_OBJS)
6dc580
6dc580
pyext-ctypes_test-shared:	$(PYEXT_CTYPES_TEST_SHARED)
6dc580
pyext-ctypes_test-static:	$(PYEXT_CTYPES_TEST_STATIC)
6dc580
6dc580
pyext-ctypes_test-clean:
6dc580
	rm -f $(PYEXT_CTYPES_TEST_LOBJS)
6dc580
	rm -f $(PYEXT_CTYPES_TEST_OBJS)
6dc580
	rm -f $(PYEXT_CTYPES_TEST_SHARED)
6dc580
	rm -f $(PYEXT_CTYPES_TEST_STATIC)
6dc580
6dc580
clean:	pyext-ctypes_test-clean
6dc580
6dc580
.PHONY:	pyext-ctypes_test-shared
6dc580
.PHONY:	pyext-ctypes_test-static
6dc580
.PHONY:	pyext-ctypes_test-clean
6dc580
6dc580
6dc580
# _datetime
6dc580
PYEXT_DATETIME_SRCS		+= pyext/obj/_datetimemodule.c
6dc580
6dc580
PYEXT_DATETIME_LOBJS		= $(PYEXT_DATETIME_SRCS:.c=.lo)
6dc580
PYEXT_DATETIME_OBJS		= $(PYEXT_DATETIME_SRCS:.c=.o)
6dc580
6dc580
PYEXT_DATETIME_SHARED		= pyext/_datetime$(PYTHON_SOEXT)
6dc580
PYEXT_DATETIME_STATIC		= pyext/_datetime$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_DATETIME_SHARED):	$(PYEXT_DATETIME_LOBJS)
6dc580
$(PYEXT_DATETIME_STATIC):	$(PYEXT_DATETIME_OBJS)
6dc580
6dc580
pyext-datetime-shared:		$(PYEXT_DATETIME_SHARED)
6dc580
pyext-datetime-static:		$(PYEXT_DATETIME_STATIC)
6dc580
6dc580
pyext-datetime-clean:
6dc580
	rm -f $(PYEXT_DATETIME_LOBJS)
6dc580
	rm -f $(PYEXT_DATETIME_OBJS)
6dc580
	rm -f $(PYEXT_DATETIME_SHARED)
6dc580
	rm -f $(PYEXT_DATETIME_STATIC)
6dc580
6dc580
clean:	pyext-datetime-clean
6dc580
6dc580
.PHONY:	pyext-datetime-shared
6dc580
.PHONY:	pyext-datetime-static
6dc580
.PHONY:	pyext-datetime-clean
6dc580
6dc580
6dc580
# _elementtree
6dc580
PYEXT_ELEMENTTREE_SRCS		+= pyext/obj/_elementtree.c
6dc580
6dc580
PYEXT_ELEMENTTREE_LOBJS		= $(PYEXT_ELEMENTTREE_SRCS:.c=.lo)
6dc580
PYEXT_ELEMENTTREE_OBJS		= $(PYEXT_ELEMENTTREE_SRCS:.c=.o)
6dc580
6dc580
PYEXT_ELEMENTTREE_SHARED	= pyext/_elementtree$(PYTHON_SOEXT)
6dc580
PYEXT_ELEMENTTREE_STATIC	= pyext/_elementtree$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_ELEMENTTREE_SHARED):	$(PYEXT_ELEMENTTREE_LOBJS)
6dc580
$(PYEXT_ELEMENTTREE_STATIC):	$(PYEXT_ELEMENTTREE_OBJS)
6dc580
6dc580
pyext-elementtree-shared:	$(PYEXT_ELEMENTTREE_SHARED)
6dc580
pyext-elementtree-static:	$(PYEXT_ELEMENTTREE_STATIC)
6dc580
6dc580
pyext-elementtree-clean:
6dc580
	rm -f $(PYEXT_ELEMENTTREE_LOBJS)
6dc580
	rm -f $(PYEXT_ELEMENTTREE_OBJS)
6dc580
	rm -f $(PYEXT_ELEMENTTREE_SHARED)
6dc580
	rm -f $(PYEXT_ELEMENTTREE_STATIC)
6dc580
6dc580
clean:	pyext-elementtree-clean
6dc580
6dc580
.PHONY:	pyext-elementtree-shared
6dc580
.PHONY:	pyext-elementtree-static
6dc580
.PHONY:	pyext-elementtree-clean
6dc580
6dc580
6dc580
# _heapq
6dc580
PYEXT_HEAPQ_SRCS		+= pyext/obj/_heapqmodule.c
6dc580
6dc580
PYEXT_HEAPQ_LOBJS		= $(PYEXT_HEAPQ_SRCS:.c=.lo)
6dc580
PYEXT_HEAPQ_OBJS		= $(PYEXT_HEAPQ_SRCS:.c=.o)
6dc580
6dc580
PYEXT_HEAPQ_SHARED		= pyext/_heapq$(PYTHON_SOEXT)
6dc580
PYEXT_HEAPQ_STATIC		= pyext/_heapq$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_HEAPQ_SHARED):		$(PYEXT_HEAPQ_LOBJS)
6dc580
$(PYEXT_HEAPQ_STATIC):		$(PYEXT_HEAPQ_OBJS)
6dc580
6dc580
pyext-heapq-shared:		$(PYEXT_HEAPQ_SHARED)
6dc580
pyext-heapq-static:		$(PYEXT_HEAPQ_STATIC)
6dc580
6dc580
pyext-heapq-clean:
6dc580
	rm -f $(PYEXT_HEAPQ_LOBJS)
6dc580
	rm -f $(PYEXT_HEAPQ_OBJS)
6dc580
	rm -f $(PYEXT_HEAPQ_SHARED)
6dc580
	rm -f $(PYEXT_HEAPQ_STATIC)
6dc580
6dc580
clean:	pyext-heapq-clean
6dc580
6dc580
.PHONY:	pyext-heapq-shared
6dc580
.PHONY:	pyext-heapq-static
6dc580
.PHONY:	pyext-heapq-clean
6dc580
6dc580
6dc580
# _json
6dc580
PYEXT_JSON_SRCS			+= pyext/obj/_json.c
6dc580
6dc580
PYEXT_JSON_LOBJS		= $(PYEXT_JSON_SRCS:.c=.lo)
6dc580
PYEXT_JSON_OBJS			= $(PYEXT_JSON_SRCS:.c=.o)
6dc580
6dc580
PYEXT_JSON_SHARED		= pyext/_json$(PYTHON_SOEXT)
6dc580
PYEXT_JSON_STATIC		= pyext/_json$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_JSON_SHARED):		$(PYEXT_JSON_LOBJS)
6dc580
$(PYEXT_JSON_STATIC):		$(PYEXT_JSON_OBJS)
6dc580
6dc580
pyext-json-shared:		$(PYEXT_JSON_SHARED)
6dc580
pyext-json-static:		$(PYEXT_JSON_STATIC)
6dc580
6dc580
pyext-json-clean:
6dc580
	rm -f $(PYEXT_JSON_LOBJS)
6dc580
	rm -f $(PYEXT_JSON_OBJS)
6dc580
	rm -f $(PYEXT_JSON_SHARED)
6dc580
	rm -f $(PYEXT_JSON_STATIC)
6dc580
6dc580
clean:	pyext-json-clean
6dc580
6dc580
.PHONY:	pyext-json-shared
6dc580
.PHONY:	pyext-json-static
6dc580
.PHONY:	pyext-json-clean
6dc580
6dc580
6dc580
# _md5
6dc580
PYEXT_MD5_SRCS			+= pyext/obj/md5module.c
6dc580
6dc580
PYEXT_MD5_LOBJS			= $(PYEXT_MD5_SRCS:.c=.lo)
6dc580
PYEXT_MD5_OBJS			= $(PYEXT_MD5_SRCS:.c=.o)
6dc580
6dc580
PYEXT_MD5_SHARED		= pyext/_md5$(PYTHON_SOEXT)
6dc580
PYEXT_MD5_STATIC		= pyext/_md5$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_MD5_SHARED):		$(PYEXT_MD5_LOBJS)
6dc580
$(PYEXT_MD5_STATIC):		$(PYEXT_MD5_OBJS)
6dc580
6dc580
pyext-md5-shared:		$(PYEXT_MD5_SHARED)
6dc580
pyext-md5-static:		$(PYEXT_MD5_STATIC)
6dc580
6dc580
pyext-md5-clean:
6dc580
	rm -f $(PYEXT_MD5_LOBJS)
6dc580
	rm -f $(PYEXT_MD5_OBJS)
6dc580
	rm -f $(PYEXT_MD5_SHARED)
6dc580
	rm -f $(PYEXT_MD5_STATIC)
6dc580
6dc580
clean:	pyext-md5-clean
6dc580
6dc580
.PHONY:	pyext-md5-shared
6dc580
.PHONY:	pyext-md5-static
6dc580
.PHONY:	pyext-md5-clean
6dc580
6dc580
6dc580
# _opcode
6dc580
PYEXT_OPCODE_SRCS		+= pyext/obj/_opcode.c
6dc580
6dc580
PYEXT_OPCODE_LOBJS		= $(PYEXT_OPCODE_SRCS:.c=.lo)
6dc580
PYEXT_OPCODE_OBJS		= $(PYEXT_OPCODE_SRCS:.c=.o)
6dc580
6dc580
PYEXT_OPCODE_SHARED		= pyext/_opcode$(PYTHON_SOEXT)
6dc580
PYEXT_OPCODE_STATIC		= pyext/_opcode$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_OPCODE_SHARED):		$(PYEXT_OPCODE_LOBJS)
6dc580
$(PYEXT_OPCODE_STATIC):		$(PYEXT_OPCODE_OBJS)
6dc580
6dc580
pyext-opcode-shared:		$(PYEXT_OPCODE_SHARED)
6dc580
pyext-opcode-static:		$(PYEXT_OPCODE_STATIC)
6dc580
6dc580
pyext-opcode-clean:
6dc580
	rm -f $(PYEXT_OPCODE_LOBJS)
6dc580
	rm -f $(PYEXT_OPCODE_OBJS)
6dc580
	rm -f $(PYEXT_OPCODE_SHARED)
6dc580
	rm -f $(PYEXT_OPCODE_STATIC)
6dc580
6dc580
clean:	pyext-opcode-clean
6dc580
6dc580
.PHONY:	pyext-opcode-shared
6dc580
.PHONY:	pyext-opcode-static
6dc580
.PHONY:	pyext-opcode-clean
6dc580
6dc580
6dc580
# _pickle
6dc580
PYEXT_PICKLE_SRCS		+= pyext/obj/_pickle.c
6dc580
6dc580
PYEXT_PICKLE_LOBJS		= $(PYEXT_PICKLE_SRCS:.c=.lo)
6dc580
PYEXT_PICKLE_OBJS		= $(PYEXT_PICKLE_SRCS:.c=.o)
6dc580
6dc580
PYEXT_PICKLE_SHARED		= pyext/_pickle$(PYTHON_SOEXT)
6dc580
PYEXT_PICKLE_STATIC		= pyext/_pickle$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_PICKLE_SHARED):		$(PYEXT_PICKLE_LOBJS)
6dc580
$(PYEXT_PICKLE_STATIC):		$(PYEXT_PICKLE_OBJS)
6dc580
6dc580
pyext-pickle-shared:		$(PYEXT_PICKLE_SHARED)
6dc580
pyext-pickle-static:		$(PYEXT_PICKLE_STATIC)
6dc580
6dc580
pyext-pickle-clean:
6dc580
	rm -f $(PYEXT_PICKLE_LOBJS)
6dc580
	rm -f $(PYEXT_PICKLE_OBJS)
6dc580
	rm -f $(PYEXT_PICKLE_SHARED)
6dc580
	rm -f $(PYEXT_PICKLE_STATIC)
6dc580
6dc580
clean:	pyext-pickle-clean
6dc580
6dc580
.PHONY:	pyext-pickle-shared
6dc580
.PHONY:	pyext-pickle-static
6dc580
.PHONY:	pyext-pickle-clean
6dc580
6dc580
6dc580
# _posixsubprocess
6dc580
PYEXT_POSIXSUBPROCESS_SRCS	+= pyext/obj/_posixsubprocess.c
6dc580
6dc580
PYEXT_POSIXSUBPROCESS_LOBJS	= $(PYEXT_POSIXSUBPROCESS_SRCS:.c=.lo)
6dc580
PYEXT_POSIXSUBPROCESS_OBJS	= $(PYEXT_POSIXSUBPROCESS_SRCS:.c=.o)
6dc580
6dc580
PYEXT_POSIXSUBPROCESS_SHARED	= pyext/_posixsubprocess$(PYTHON_SOEXT)
6dc580
PYEXT_POSIXSUBPROCESS_STATIC	= pyext/_posixsubprocess$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_POSIXSUBPROCESS_SHARED):$(PYEXT_POSIXSUBPROCESS_LOBJS)
6dc580
$(PYEXT_POSIXSUBPROCESS_STATIC):$(PYEXT_POSIXSUBPROCESS_OBJS)
6dc580
6dc580
pyext-posixsubprocess-shared:	$(PYEXT_POSIXSUBPROCESS_SHARED)
6dc580
pyext-posixsubprocess-static:	$(PYEXT_POSIXSUBPROCESS_STATIC)
6dc580
6dc580
pyext-posixsubprocess-clean:
6dc580
	rm -f $(PYEXT_POSIXSUBPROCESS_LOBJS)
6dc580
	rm -f $(PYEXT_POSIXSUBPROCESS_OBJS)
6dc580
	rm -f $(PYEXT_POSIXSUBPROCESS_SHARED)
6dc580
	rm -f $(PYEXT_POSIXSUBPROCESS_STATIC)
6dc580
6dc580
clean:	pyext-posixsubprocess-clean
6dc580
6dc580
.PHONY:	pyext-posixsubprocess-shared
6dc580
.PHONY:	pyext-posixsubprocess-static
6dc580
.PHONY:	pyext-posixsubprocess-clean
6dc580
6dc580
6dc580
# _random
6dc580
PYEXT_RANDOM_SRCS		+= pyext/obj/_randommodule.c
6dc580
6dc580
PYEXT_RANDOM_LOBJS		= $(PYEXT_RANDOM_SRCS:.c=.lo)
6dc580
PYEXT_RANDOM_OBJS		= $(PYEXT_RANDOM_SRCS:.c=.o)
6dc580
6dc580
PYEXT_RANDOM_SHARED		= pyext/_random$(PYTHON_SOEXT)
6dc580
PYEXT_RANDOM_STATIC		= pyext/_random$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_RANDOM_SHARED):		$(PYEXT_RANDOM_LOBJS)
6dc580
$(PYEXT_RANDOM_STATIC):		$(PYEXT_RANDOM_OBJS)
6dc580
6dc580
pyext-random-shared:		$(PYEXT_RANDOM_SHARED)
6dc580
pyext-random-static:		$(PYEXT_RANDOM_STATIC)
6dc580
6dc580
pyext-random-clean:
6dc580
	rm -f $(PYEXT_RANDOM_LOBJS)
6dc580
	rm -f $(PYEXT_RANDOM_OBJS)
6dc580
	rm -f $(PYEXT_RANDOM_SHARED)
6dc580
	rm -f $(PYEXT_RANDOM_STATIC)
6dc580
6dc580
clean:	pyext-random-clean
6dc580
6dc580
.PHONY:	pyext-random-shared
6dc580
.PHONY:	pyext-random-static
6dc580
.PHONY:	pyext-random-clean
6dc580
6dc580
6dc580
# _sha1
6dc580
PYEXT_SHA1_SRCS			+= pyext/obj/sha1module.c
6dc580
6dc580
PYEXT_SHA1_LOBJS		= $(PYEXT_SHA1_SRCS:.c=.lo)
6dc580
PYEXT_SHA1_OBJS			= $(PYEXT_SHA1_SRCS:.c=.o)
6dc580
6dc580
PYEXT_SHA1_SHARED		= pyext/_sha1$(PYTHON_SOEXT)
6dc580
PYEXT_SHA1_STATIC		= pyext/_sha1$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_SHA1_SHARED):		$(PYEXT_SHA1_LOBJS)
6dc580
$(PYEXT_SHA1_STATIC):		$(PYEXT_SHA1_OBJS)
6dc580
6dc580
pyext-sha1-shared:		$(PYEXT_SHA1_SHARED)
6dc580
pyext-sha1-static:		$(PYEXT_SHA1_STATIC)
6dc580
6dc580
pyext-sha1-clean:
6dc580
	rm -f $(PYEXT_SHA1_LOBJS)
6dc580
	rm -f $(PYEXT_SHA1_OBJS)
6dc580
	rm -f $(PYEXT_SHA1_SHARED)
6dc580
	rm -f $(PYEXT_SHA1_STATIC)
6dc580
6dc580
clean:	pyext-sha1-clean
6dc580
6dc580
.PHONY:	pyext-sha1-shared
6dc580
.PHONY:	pyext-sha1-static
6dc580
.PHONY:	pyext-sha1-clean
6dc580
6dc580
6dc580
# _sha256
6dc580
PYEXT_SHA256_SRCS		+= pyext/obj/sha256module.c
6dc580
6dc580
PYEXT_SHA256_LOBJS		= $(PYEXT_SHA256_SRCS:.c=.lo)
6dc580
PYEXT_SHA256_OBJS		= $(PYEXT_SHA256_SRCS:.c=.o)
6dc580
6dc580
PYEXT_SHA256_SHARED		= pyext/_sha256$(PYTHON_SOEXT)
6dc580
PYEXT_SHA256_STATIC		= pyext/_sha256$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_SHA256_SHARED):		$(PYEXT_SHA256_LOBJS)
6dc580
$(PYEXT_SHA256_STATIC):		$(PYEXT_SHA256_OBJS)
6dc580
6dc580
pyext-sha256-shared:		$(PYEXT_SHA256_SHARED)
6dc580
pyext-sha256-static:		$(PYEXT_SHA256_STATIC)
6dc580
6dc580
pyext-sha256-clean:
6dc580
	rm -f $(PYEXT_SHA256_LOBJS)
6dc580
	rm -f $(PYEXT_SHA256_OBJS)
6dc580
	rm -f $(PYEXT_SHA256_SHARED)
6dc580
	rm -f $(PYEXT_SHA256_STATIC)
6dc580
6dc580
clean:	pyext-sha256-clean
6dc580
6dc580
.PHONY:	pyext-sha256-shared
6dc580
.PHONY:	pyext-sha256-static
6dc580
.PHONY:	pyext-sha256-clean
6dc580
6dc580
6dc580
# _sha3
6dc580
PYEXT_SHA3_SRCS			+= pyext/obj/_sha3/sha3module.c
6dc580
6dc580
PYEXT_SHA3_LOBJS		= $(PYEXT_SHA3_SRCS:.c=.lo)
6dc580
PYEXT_SHA3_OBJS			= $(PYEXT_SHA3_SRCS:.c=.o)
6dc580
6dc580
PYEXT_SHA3_SHARED		= pyext/_sha3$(PYTHON_SOEXT)
6dc580
PYEXT_SHA3_STATIC		= pyext/_sha3$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_SHA3_SHARED):		$(PYEXT_SHA3_LOBJS)
6dc580
$(PYEXT_SHA3_STATIC):		$(PYEXT_SHA3_OBJS)
6dc580
6dc580
pyext-sha3-shared:		$(PYEXT_SHA3_SHARED)
6dc580
pyext-sha3-static:		$(PYEXT_SHA3_STATIC)
6dc580
6dc580
pyext-sha3-clean:
6dc580
	rm -f $(PYEXT_SHA3_LOBJS)
6dc580
	rm -f $(PYEXT_SHA3_OBJS)
6dc580
	rm -f $(PYEXT_SHA3_SHARED)
6dc580
	rm -f $(PYEXT_SHA3_STATIC)
6dc580
6dc580
clean:	pyext-sha3-clean
6dc580
6dc580
.PHONY:	pyext-sha3-shared
6dc580
.PHONY:	pyext-sha3-static
6dc580
.PHONY:	pyext-sha3-clean
6dc580
6dc580
6dc580
# _sha512
6dc580
PYEXT_SHA512_SRCS		+= pyext/obj/sha512module.c
6dc580
6dc580
PYEXT_SHA512_LOBJS		= $(PYEXT_SHA512_SRCS:.c=.lo)
6dc580
PYEXT_SHA512_OBJS		= $(PYEXT_SHA512_SRCS:.c=.o)
6dc580
6dc580
PYEXT_SHA512_SHARED		= pyext/_sha512$(PYTHON_SOEXT)
6dc580
PYEXT_SHA512_STATIC		= pyext/_sha512$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_SHA512_SHARED):		$(PYEXT_SHA512_LOBJS)
6dc580
$(PYEXT_SHA512_STATIC):		$(PYEXT_SHA512_OBJS)
6dc580
6dc580
pyext-sha512-shared:		$(PYEXT_SHA512_SHARED)
6dc580
pyext-sha512-static:		$(PYEXT_SHA512_STATIC)
6dc580
6dc580
pyext-sha512-clean:
6dc580
	rm -f $(PYEXT_SHA512_LOBJS)
6dc580
	rm -f $(PYEXT_SHA512_OBJS)
6dc580
	rm -f $(PYEXT_SHA512_SHARED)
6dc580
	rm -f $(PYEXT_SHA512_STATIC)
6dc580
6dc580
clean:	pyext-sha512-clean
6dc580
6dc580
.PHONY:	pyext-sha512-shared
6dc580
.PHONY:	pyext-sha512-static
6dc580
.PHONY:	pyext-sha512-clean
6dc580
6dc580
6dc580
# _socket
6dc580
PYEXT_SOCKET_SRCS		+= pyext/obj/socketmodule.c
6dc580
6dc580
PYEXT_SOCKET_LOBJS		= $(PYEXT_SOCKET_SRCS:.c=.lo)
6dc580
PYEXT_SOCKET_OBJS		= $(PYEXT_SOCKET_SRCS:.c=.o)
6dc580
6dc580
PYEXT_SOCKET_SHARED		= pyext/_socket$(PYTHON_SOEXT)
6dc580
PYEXT_SOCKET_STATIC		= pyext/_socket$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_SOCKET_SHARED):		$(PYEXT_SOCKET_LOBJS)
6dc580
$(PYEXT_SOCKET_STATIC):		$(PYEXT_SOCKET_OBJS)
6dc580
6dc580
pyext-socket-shared:		$(PYEXT_SOCKET_SHARED)
6dc580
pyext-socket-static:		$(PYEXT_SOCKET_STATIC)
6dc580
6dc580
pyext-socket-clean:
6dc580
	rm -f $(PYEXT_SOCKET_LOBJS)
6dc580
	rm -f $(PYEXT_SOCKET_OBJS)
6dc580
	rm -f $(PYEXT_SOCKET_SHARED)
6dc580
	rm -f $(PYEXT_SOCKET_STATIC)
6dc580
6dc580
clean:	pyext-socket-clean
6dc580
6dc580
.PHONY:	pyext-socket-shared
6dc580
.PHONY:	pyext-socket-static
6dc580
.PHONY:	pyext-socket-clean
6dc580
6dc580
6dc580
# _struct
6dc580
PYEXT_STRUCT_SRCS		+= pyext/obj/_struct.c
6dc580
6dc580
PYEXT_STRUCT_LOBJS		= $(PYEXT_STRUCT_SRCS:.c=.lo)
6dc580
PYEXT_STRUCT_OBJS		= $(PYEXT_STRUCT_SRCS:.c=.o)
6dc580
6dc580
PYEXT_STRUCT_SHARED		= pyext/_struct$(PYTHON_SOEXT)
6dc580
PYEXT_STRUCT_STATIC		= pyext/_struct$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_STRUCT_SHARED):		$(PYEXT_STRUCT_LOBJS)
6dc580
$(PYEXT_STRUCT_STATIC):		$(PYEXT_STRUCT_OBJS)
6dc580
6dc580
pyext-struct-shared:		$(PYEXT_STRUCT_SHARED)
6dc580
pyext-struct-static:		$(PYEXT_STRUCT_STATIC)
6dc580
6dc580
pyext-struct-clean:
6dc580
	rm -f $(PYEXT_STRUCT_LOBJS)
6dc580
	rm -f $(PYEXT_STRUCT_OBJS)
6dc580
	rm -f $(PYEXT_STRUCT_SHARED)
6dc580
	rm -f $(PYEXT_STRUCT_STATIC)
6dc580
6dc580
clean:	pyext-struct-clean
6dc580
6dc580
.PHONY:	pyext-struct-shared
6dc580
.PHONY:	pyext-struct-static
6dc580
.PHONY:	pyext-struct-clean
6dc580
6dc580
6dc580
# _testbuffer
6dc580
PYEXT_TESTBUFFER_SRCS		+= pyext/obj/_testbuffer.c
6dc580
6dc580
PYEXT_TESTBUFFER_LOBJS		= $(PYEXT_TESTBUFFER_SRCS:.c=.lo)
6dc580
PYEXT_TESTBUFFER_OBJS		= $(PYEXT_TESTBUFFER_SRCS:.c=.o)
6dc580
6dc580
PYEXT_TESTBUFFER_SHARED		= pyext/_testbuffer$(PYTHON_SOEXT)
6dc580
PYEXT_TESTBUFFER_STATIC		= pyext/_testbuffer$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_TESTBUFFER_SHARED):	$(PYEXT_TESTBUFFER_LOBJS)
6dc580
$(PYEXT_TESTBUFFER_STATIC):	$(PYEXT_TESTBUFFER_OBJS)
6dc580
6dc580
pyext-testbuffer-shared:	$(PYEXT_TESTBUFFER_SHARED)
6dc580
pyext-testbuffer-static:	$(PYEXT_TESTBUFFER_STATIC)
6dc580
6dc580
pyext-testbuffer-clean:
6dc580
	rm -f $(PYEXT_TESTBUFFER_LOBJS)
6dc580
	rm -f $(PYEXT_TESTBUFFER_OBJS)
6dc580
	rm -f $(PYEXT_TESTBUFFER_SHARED)
6dc580
	rm -f $(PYEXT_TESTBUFFER_STATIC)
6dc580
6dc580
clean:	pyext-testbuffer-clean
6dc580
6dc580
.PHONY:	pyext-testbuffer-shared
6dc580
.PHONY:	pyext-testbuffer-static
6dc580
.PHONY:	pyext-testbuffer-clean
6dc580
6dc580
6dc580
# _testcapi
6dc580
PYEXT_TESTCAPI_SRCS		+= pyext/obj/_testcapimodule.c
6dc580
6dc580
PYEXT_TESTCAPI_LOBJS		= $(PYEXT_TESTCAPI_SRCS:.c=.lo)
6dc580
PYEXT_TESTCAPI_OBJS		= $(PYEXT_TESTCAPI_SRCS:.c=.o)
6dc580
6dc580
PYEXT_TESTCAPI_SHARED		= pyext/_testcapi$(PYTHON_SOEXT)
6dc580
PYEXT_TESTCAPI_STATIC		= pyext/_testcapi$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_TESTCAPI_SHARED):	$(PYEXT_TESTCAPI_LOBJS)
6dc580
$(PYEXT_TESTCAPI_STATIC):	$(PYEXT_TESTCAPI_OBJS)
6dc580
6dc580
pyext-testcapi-shared:		$(PYEXT_TESTCAPI_SHARED)
6dc580
pyext-testcapi-static:		$(PYEXT_TESTCAPI_STATIC)
6dc580
6dc580
pyext-testcapi-clean:
6dc580
	rm -f $(PYEXT_TESTCAPI_LOBJS)
6dc580
	rm -f $(PYEXT_TESTCAPI_OBJS)
6dc580
	rm -f $(PYEXT_TESTCAPI_SHARED)
6dc580
	rm -f $(PYEXT_TESTCAPI_STATIC)
6dc580
6dc580
clean:	pyext-testcapi-clean
6dc580
6dc580
.PHONY:	pyext-testcapi-shared
6dc580
.PHONY:	pyext-testcapi-static
6dc580
.PHONY:	pyext-testcapi-clean
6dc580
6dc580
6dc580
# _testimportmultiple
6dc580
PYEXT_TESTIMPORTMULTIPLE_SRCS	+= pyext/obj/_testimportmultiple.c
6dc580
6dc580
PYEXT_TESTIMPORTMULTIPLE_LOBJS	= $(PYEXT_TESTIMPORTMULTIPLE_SRCS:.c=.lo)
6dc580
PYEXT_TESTIMPORTMULTIPLE_OBJS	= $(PYEXT_TESTIMPORTMULTIPLE_SRCS:.c=.o)
6dc580
6dc580
PYEXT_TESTIMPORTMULTIPLE_SHARED	= pyext/_testimportmultiple$(PYTHON_SOEXT)
6dc580
PYEXT_TESTIMPORTMULTIPLE_STATIC	= pyext/_testimportmultiple$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_TESTIMPORTMULTIPLE_SHARED):$(PYEXT_TESTIMPORTMULTIPLE_LOBJS)
6dc580
$(PYEXT_TESTIMPORTMULTIPLE_STATIC):$(PYEXT_TESTIMPORTMULTIPLE_OBJS)
6dc580
6dc580
pyext-testimportmultiple-shared:	$(PYEXT_TESTIMPORTMULTIPLE_SHARED)
6dc580
pyext-testimportmultiple-static:	$(PYEXT_TESTIMPORTMULTIPLE_STATIC)
6dc580
6dc580
pyext-testimportmultiple-clean:
6dc580
	rm -f $(PYEXT_TESTIMPORTMULTIPLE_LOBJS)
6dc580
	rm -f $(PYEXT_TESTIMPORTMULTIPLE_OBJS)
6dc580
	rm -f $(PYEXT_TESTIMPORTMULTIPLE_SHARED)
6dc580
	rm -f $(PYEXT_TESTIMPORTMULTIPLE_STATIC)
6dc580
6dc580
clean:	pyext-testimportmultiple-clean
6dc580
6dc580
.PHONY:	pyext-testimportmultiple-shared
6dc580
.PHONY:	pyext-testimportmultiple-static
6dc580
.PHONY:	pyext-testimportmultiple-clean
6dc580
6dc580
6dc580
# _testmultiphase
6dc580
PYEXT_TESTMULTIPHASE_SRCS	+= pyext/obj/_testmultiphase.c
6dc580
6dc580
PYEXT_TESTMULTIPHASE_LOBJS	= $(PYEXT_TESTMULTIPHASE_SRCS:.c=.lo)
6dc580
PYEXT_TESTMULTIPHASE_OBJS	= $(PYEXT_TESTMULTIPHASE_SRCS:.c=.o)
6dc580
6dc580
PYEXT_TESTMULTIPHASE_SHARED	= pyext/_testmultiphase$(PYTHON_SOEXT)
6dc580
PYEXT_TESTMULTIPHASE_STATIC	= pyext/_testmultiphase$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_TESTMULTIPHASE_SHARED):	$(PYEXT_TESTMULTIPHASE_LOBJS)
6dc580
$(PYEXT_TESTMULTIPHASE_STATIC):	$(PYEXT_TESTMULTIPHASE_OBJS)
6dc580
6dc580
pyext-testmultiphase-shared:	$(PYEXT_TESTMULTIPHASE_SHARED)
6dc580
pyext-testmultiphase-static:	$(PYEXT_TESTMULTIPHASE_STATIC)
6dc580
6dc580
pyext-testmultiphase-clean:
6dc580
	rm -f $(PYEXT_TESTMULTIPHASE_LOBJS)
6dc580
	rm -f $(PYEXT_TESTMULTIPHASE_OBJS)
6dc580
	rm -f $(PYEXT_TESTMULTIPHASE_SHARED)
6dc580
	rm -f $(PYEXT_TESTMULTIPHASE_STATIC)
6dc580
6dc580
clean:	pyext-testmultiphase-clean
6dc580
6dc580
.PHONY:	pyext-testmultiphase-shared
6dc580
.PHONY:	pyext-testmultiphase-static
6dc580
.PHONY:	pyext-testmultiphase-clean
6dc580
6dc580
6dc580
# array
6dc580
PYEXT_ARRAY_SRCS		+= pyext/obj/arraymodule.c
6dc580
6dc580
PYEXT_ARRAY_LOBJS		= $(PYEXT_ARRAY_SRCS:.c=.lo)
6dc580
PYEXT_ARRAY_OBJS		= $(PYEXT_ARRAY_SRCS:.c=.o)
6dc580
6dc580
PYEXT_ARRAY_SHARED		= pyext/array$(PYTHON_SOEXT)
6dc580
PYEXT_ARRAY_STATIC		= pyext/array$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_ARRAY_SHARED):		$(PYEXT_ARRAY_LOBJS)
6dc580
$(PYEXT_ARRAY_STATIC):		$(PYEXT_ARRAY_OBJS)
6dc580
6dc580
pyext-array-shared:		$(PYEXT_ARRAY_SHARED)
6dc580
pyext-array-static:		$(PYEXT_ARRAY_STATIC)
6dc580
6dc580
pyext-array-clean:
6dc580
	rm -f $(PYEXT_ARRAY_LOBJS)
6dc580
	rm -f $(PYEXT_ARRAY_OBJS)
6dc580
	rm -f $(PYEXT_ARRAY_SHARED)
6dc580
	rm -f $(PYEXT_ARRAY_STATIC)
6dc580
6dc580
clean:	pyext-array-clean
6dc580
6dc580
.PHONY:	pyext-array-shared
6dc580
.PHONY:	pyext-array-static
6dc580
.PHONY:	pyext-array-clean
6dc580
6dc580
6dc580
# audioop
6dc580
PYEXT_AUDIOOP_SRCS		+= pyext/obj/audioop.c
6dc580
6dc580
PYEXT_AUDIOOP_LOBJS		= $(PYEXT_AUDIOOP_SRCS:.c=.lo)
6dc580
PYEXT_AUDIOOP_OBJS		= $(PYEXT_AUDIOOP_SRCS:.c=.o)
6dc580
6dc580
PYEXT_AUDIOOP_SHARED		= pyext/audioop$(PYTHON_SOEXT)
6dc580
PYEXT_AUDIOOP_STATIC		= pyext/audioop$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_AUDIOOP_SHARED):	$(PYEXT_AUDIOOP_LOBJS)
6dc580
$(PYEXT_AUDIOOP_STATIC):	$(PYEXT_AUDIOOP_OBJS)
6dc580
6dc580
pyext-audioop-shared:		$(PYEXT_AUDIOOP_SHARED)
6dc580
pyext-audioop-static:		$(PYEXT_AUDIOOP_STATIC)
6dc580
6dc580
pyext-audioop-clean:
6dc580
	rm -f $(PYEXT_AUDIOOP_LOBJS)
6dc580
	rm -f $(PYEXT_AUDIOOP_OBJS)
6dc580
	rm -f $(PYEXT_AUDIOOP_SHARED)
6dc580
	rm -f $(PYEXT_AUDIOOP_STATIC)
6dc580
6dc580
clean:	pyext-audioop-clean
6dc580
6dc580
.PHONY:	pyext-audioop-shared
6dc580
.PHONY:	pyext-audioop-static
6dc580
.PHONY:	pyext-audioop-clean
6dc580
6dc580
6dc580
# fcntl
6dc580
PYEXT_FCNTL_SRCS		+= pyext/obj/fcntlmodule.c
6dc580
6dc580
PYEXT_FCNTL_LOBJS		= $(PYEXT_FCNTL_SRCS:.c=.lo)
6dc580
PYEXT_FCNTL_OBJS		= $(PYEXT_FCNTL_SRCS:.c=.o)
6dc580
6dc580
PYEXT_FCNTL_SHARED		= pyext/fcntl$(PYTHON_SOEXT)
6dc580
PYEXT_FCNTL_STATIC		= pyext/fcntl$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_FCNTL_SHARED):		$(PYEXT_FCNTL_LOBJS)
6dc580
$(PYEXT_FCNTL_STATIC):		$(PYEXT_FCNTL_OBJS)
6dc580
6dc580
pyext-fcntl-shared:		$(PYEXT_FCNTL_SHARED)
6dc580
pyext-fcntl-static:		$(PYEXT_FCNTL_STATIC)
6dc580
6dc580
pyext-fcntl-clean:
6dc580
	rm -f $(PYEXT_FCNTL_LOBJS)
6dc580
	rm -f $(PYEXT_FCNTL_OBJS)
6dc580
	rm -f $(PYEXT_FCNTL_SHARED)
6dc580
	rm -f $(PYEXT_FCNTL_STATIC)
6dc580
6dc580
clean:	pyext-fcntl-clean
6dc580
6dc580
.PHONY:	pyext-fcntl-shared
6dc580
.PHONY:	pyext-fcntl-static
6dc580
.PHONY:	pyext-fcntl-clean
6dc580
6dc580
6dc580
# grp
6dc580
PYEXT_GRP_SRCS			+= pyext/obj/grpmodule.c
6dc580
6dc580
PYEXT_GRP_LOBJS			= $(PYEXT_GRP_SRCS:.c=.lo)
6dc580
PYEXT_GRP_OBJS			= $(PYEXT_GRP_SRCS:.c=.o)
6dc580
6dc580
PYEXT_GRP_SHARED		= pyext/grp$(PYTHON_SOEXT)
6dc580
PYEXT_GRP_STATIC		= pyext/grp$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_GRP_SHARED):		$(PYEXT_GRP_LOBJS)
6dc580
$(PYEXT_GRP_STATIC):		$(PYEXT_GRP_OBJS)
6dc580
6dc580
pyext-grp-shared:		$(PYEXT_GRP_SHARED)
6dc580
pyext-grp-static:		$(PYEXT_GRP_STATIC)
6dc580
6dc580
pyext-grp-clean:
6dc580
	rm -f $(PYEXT_GRP_LOBJS)
6dc580
	rm -f $(PYEXT_GRP_OBJS)
6dc580
	rm -f $(PYEXT_GRP_SHARED)
6dc580
	rm -f $(PYEXT_GRP_STATIC)
6dc580
6dc580
clean:	pyext-grp-clean
6dc580
6dc580
.PHONY:	pyext-grp-shared
6dc580
.PHONY:	pyext-grp-static
6dc580
.PHONY:	pyext-grp-clean
6dc580
6dc580
6dc580
# mmap
6dc580
PYEXT_MMAP_SRCS			+= pyext/obj/mmapmodule.c
6dc580
6dc580
PYEXT_MMAP_LOBJS		= $(PYEXT_MMAP_SRCS:.c=.lo)
6dc580
PYEXT_MMAP_OBJS			= $(PYEXT_MMAP_SRCS:.c=.o)
6dc580
6dc580
PYEXT_MMAP_SHARED		= pyext/mmap$(PYTHON_SOEXT)
6dc580
PYEXT_MMAP_STATIC		= pyext/mmap$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_MMAP_SHARED):		$(PYEXT_MMAP_LOBJS)
6dc580
$(PYEXT_MMAP_STATIC):		$(PYEXT_MMAP_OBJS)
6dc580
6dc580
pyext-mmap-shared:		$(PYEXT_MMAP_SHARED)
6dc580
pyext-mmap-static:		$(PYEXT_MMAP_STATIC)
6dc580
6dc580
pyext-mmap-clean:
6dc580
	rm -f $(PYEXT_MMAP_LOBJS)
6dc580
	rm -f $(PYEXT_MMAP_OBJS)
6dc580
	rm -f $(PYEXT_MMAP_SHARED)
6dc580
	rm -f $(PYEXT_MMAP_STATIC)
6dc580
6dc580
clean:	pyext-mmap-clean
6dc580
6dc580
.PHONY:	pyext-mmap-shared
6dc580
.PHONY:	pyext-mmap-static
6dc580
.PHONY:	pyext-mmap-clean
6dc580
6dc580
6dc580
# ossaudiodev
6dc580
PYEXT_OSSAUDIODEV_SRCS		+= pyext/obj/ossaudiodev.c
6dc580
6dc580
PYEXT_OSSAUDIODEV_LOBJS		= $(PYEXT_OSSAUDIODEV_SRCS:.c=.lo)
6dc580
PYEXT_OSSAUDIODEV_OBJS		= $(PYEXT_OSSAUDIODEV_SRCS:.c=.o)
6dc580
6dc580
PYEXT_OSSAUDIODEV_SHARED	= pyext/ossaudiodev$(PYTHON_SOEXT)
6dc580
PYEXT_OSSAUDIODEV_STATIC	= pyext/ossaudiodev$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_OSSAUDIODEV_SHARED):	$(PYEXT_OSSAUDIODEV_LOBJS)
6dc580
$(PYEXT_OSSAUDIODEV_STATIC):	$(PYEXT_OSSAUDIODEV_OBJS)
6dc580
6dc580
pyext-ossaudiodev-shared:	$(PYEXT_OSSAUDIODEV_SHARED)
6dc580
pyext-ossaudiodev-static:	$(PYEXT_OSSAUDIODEV_STATIC)
6dc580
6dc580
pyext-ossaudiodev-clean:
6dc580
	rm -f $(PYEXT_OSSAUDIODEV_LOBJS)
6dc580
	rm -f $(PYEXT_OSSAUDIODEV_OBJS)
6dc580
	rm -f $(PYEXT_OSSAUDIODEV_SHARED)
6dc580
	rm -f $(PYEXT_OSSAUDIODEV_STATIC)
6dc580
6dc580
clean:	pyext-ossaudiodev-clean
6dc580
6dc580
.PHONY:	pyext-ossaudiodev-shared
6dc580
.PHONY:	pyext-ossaudiodev-static
6dc580
.PHONY:	pyext-ossaudiodev-clean
6dc580
6dc580
6dc580
# parser
6dc580
PYEXT_PARSER_SRCS		+= pyext/obj/parsermodule.c
6dc580
6dc580
PYEXT_PARSER_LOBJS		= $(PYEXT_PARSER_SRCS:.c=.lo)
6dc580
PYEXT_PARSER_OBJS		= $(PYEXT_PARSER_SRCS:.c=.o)
6dc580
6dc580
PYEXT_PARSER_SHARED		= pyext/parser$(PYTHON_SOEXT)
6dc580
PYEXT_PARSER_STATIC		= pyext/parser$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_PARSER_SHARED):		$(PYEXT_PARSER_LOBJS)
6dc580
$(PYEXT_PARSER_STATIC):		$(PYEXT_PARSER_OBJS)
6dc580
6dc580
pyext-parser-shared:		$(PYEXT_PARSER_SHARED)
6dc580
pyext-parser-static:		$(PYEXT_PARSER_STATIC)
6dc580
6dc580
pyext-parser-clean:
6dc580
	rm -f $(PYEXT_PARSER_LOBJS)
6dc580
	rm -f $(PYEXT_PARSER_OBJS)
6dc580
	rm -f $(PYEXT_PARSER_SHARED)
6dc580
	rm -f $(PYEXT_PARSER_STATIC)
6dc580
6dc580
clean:	pyext-parser-clean
6dc580
6dc580
.PHONY:	pyext-parser-shared
6dc580
.PHONY:	pyext-parser-static
6dc580
.PHONY:	pyext-parser-clean
6dc580
6dc580
6dc580
# resource
6dc580
PYEXT_RESOURCE_SRCS		+= pyext/obj/resource.c
6dc580
6dc580
PYEXT_RESOURCE_LOBJS		= $(PYEXT_RESOURCE_SRCS:.c=.lo)
6dc580
PYEXT_RESOURCE_OBJS		= $(PYEXT_RESOURCE_SRCS:.c=.o)
6dc580
6dc580
PYEXT_RESOURCE_SHARED		= pyext/resource$(PYTHON_SOEXT)
6dc580
PYEXT_RESOURCE_STATIC		= pyext/resource$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_RESOURCE_SHARED):	$(PYEXT_RESOURCE_LOBJS)
6dc580
$(PYEXT_RESOURCE_STATIC):	$(PYEXT_RESOURCE_OBJS)
6dc580
6dc580
pyext-resource-shared:		$(PYEXT_RESOURCE_SHARED)
6dc580
pyext-resource-static:		$(PYEXT_RESOURCE_STATIC)
6dc580
6dc580
pyext-resource-clean:
6dc580
	rm -f $(PYEXT_RESOURCE_LOBJS)
6dc580
	rm -f $(PYEXT_RESOURCE_OBJS)
6dc580
	rm -f $(PYEXT_RESOURCE_SHARED)
6dc580
	rm -f $(PYEXT_RESOURCE_STATIC)
6dc580
6dc580
clean:	pyext-resource-clean
6dc580
6dc580
.PHONY:	pyext-resource-shared
6dc580
.PHONY:	pyext-resource-static
6dc580
.PHONY:	pyext-resource-clean
6dc580
6dc580
6dc580
# select
6dc580
PYEXT_SELECT_SRCS		+= pyext/obj/selectmodule.c
6dc580
6dc580
PYEXT_SELECT_LOBJS		= $(PYEXT_SELECT_SRCS:.c=.lo)
6dc580
PYEXT_SELECT_OBJS		= $(PYEXT_SELECT_SRCS:.c=.o)
6dc580
6dc580
PYEXT_SELECT_SHARED		= pyext/select$(PYTHON_SOEXT)
6dc580
PYEXT_SELECT_STATIC		= pyext/select$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_SELECT_SHARED):		$(PYEXT_SELECT_LOBJS)
6dc580
$(PYEXT_SELECT_STATIC):		$(PYEXT_SELECT_OBJS)
6dc580
6dc580
pyext-select-shared:		$(PYEXT_SELECT_SHARED)
6dc580
pyext-select-static:		$(PYEXT_SELECT_STATIC)
6dc580
6dc580
pyext-select-clean:
6dc580
	rm -f $(PYEXT_SELECT_LOBJS)
6dc580
	rm -f $(PYEXT_SELECT_OBJS)
6dc580
	rm -f $(PYEXT_SELECT_SHARED)
6dc580
	rm -f $(PYEXT_SELECT_STATIC)
6dc580
6dc580
clean:	pyext-select-clean
6dc580
6dc580
.PHONY:	pyext-select-shared
6dc580
.PHONY:	pyext-select-static
6dc580
.PHONY:	pyext-select-clean
6dc580
6dc580
6dc580
# spwd
6dc580
PYEXT_SPWD_SRCS			+= pyext/obj/spwdmodule.c
6dc580
6dc580
PYEXT_SPWD_LOBJS		= $(PYEXT_SPWD_SRCS:.c=.lo)
6dc580
PYEXT_SPWD_OBJS			= $(PYEXT_SPWD_SRCS:.c=.o)
6dc580
6dc580
PYEXT_SPWD_SHARED		= pyext/spwd$(PYTHON_SOEXT)
6dc580
PYEXT_SPWD_STATIC		= pyext/spwd$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_SPWD_SHARED):		$(PYEXT_SPWD_LOBJS)
6dc580
$(PYEXT_SPWD_STATIC):		$(PYEXT_SPWD_OBJS)
6dc580
6dc580
pyext-spwd-shared:		$(PYEXT_SPWD_SHARED)
6dc580
pyext-spwd-static:		$(PYEXT_SPWD_STATIC)
6dc580
6dc580
pyext-spwd-clean:
6dc580
	rm -f $(PYEXT_SPWD_LOBJS)
6dc580
	rm -f $(PYEXT_SPWD_OBJS)
6dc580
	rm -f $(PYEXT_SPWD_SHARED)
6dc580
	rm -f $(PYEXT_SPWD_STATIC)
6dc580
6dc580
clean:	pyext-spwd-clean
6dc580
6dc580
.PHONY:	pyext-spwd-shared
6dc580
.PHONY:	pyext-spwd-static
6dc580
.PHONY:	pyext-spwd-clean
6dc580
6dc580
6dc580
# syslog
6dc580
PYEXT_SYSLOG_SRCS		+= pyext/obj/syslogmodule.c
6dc580
6dc580
PYEXT_SYSLOG_LOBJS		= $(PYEXT_SYSLOG_SRCS:.c=.lo)
6dc580
PYEXT_SYSLOG_OBJS		= $(PYEXT_SYSLOG_SRCS:.c=.o)
6dc580
6dc580
PYEXT_SYSLOG_SHARED		= pyext/syslog$(PYTHON_SOEXT)
6dc580
PYEXT_SYSLOG_STATIC		= pyext/syslog$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_SYSLOG_SHARED):		$(PYEXT_SYSLOG_LOBJS)
6dc580
$(PYEXT_SYSLOG_STATIC):		$(PYEXT_SYSLOG_OBJS)
6dc580
6dc580
pyext-syslog-shared:		$(PYEXT_SYSLOG_SHARED)
6dc580
pyext-syslog-static:		$(PYEXT_SYSLOG_STATIC)
6dc580
6dc580
pyext-syslog-clean:
6dc580
	rm -f $(PYEXT_SYSLOG_LOBJS)
6dc580
	rm -f $(PYEXT_SYSLOG_OBJS)
6dc580
	rm -f $(PYEXT_SYSLOG_SHARED)
6dc580
	rm -f $(PYEXT_SYSLOG_STATIC)
6dc580
6dc580
clean:	pyext-syslog-clean
6dc580
6dc580
.PHONY:	pyext-syslog-shared
6dc580
.PHONY:	pyext-syslog-static
6dc580
.PHONY:	pyext-syslog-clean
6dc580
6dc580
6dc580
# termios
6dc580
PYEXT_TERMIOS_SRCS		+= pyext/obj/termios.c
6dc580
6dc580
PYEXT_TERMIOS_LOBJS		= $(PYEXT_TERMIOS_SRCS:.c=.lo)
6dc580
PYEXT_TERMIOS_OBJS		= $(PYEXT_TERMIOS_SRCS:.c=.o)
6dc580
6dc580
PYEXT_TERMIOS_SHARED		= pyext/termios$(PYTHON_SOEXT)
6dc580
PYEXT_TERMIOS_STATIC		= pyext/termios$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_TERMIOS_SHARED):	$(PYEXT_TERMIOS_LOBJS)
6dc580
$(PYEXT_TERMIOS_STATIC):	$(PYEXT_TERMIOS_OBJS)
6dc580
6dc580
pyext-termios-shared:		$(PYEXT_TERMIOS_SHARED)
6dc580
pyext-termios-static:		$(PYEXT_TERMIOS_STATIC)
6dc580
6dc580
pyext-termios-clean:
6dc580
	rm -f $(PYEXT_TERMIOS_LOBJS)
6dc580
	rm -f $(PYEXT_TERMIOS_OBJS)
6dc580
	rm -f $(PYEXT_TERMIOS_SHARED)
6dc580
	rm -f $(PYEXT_TERMIOS_STATIC)
6dc580
6dc580
clean:	pyext-termios-clean
6dc580
6dc580
.PHONY:	pyext-termios-shared
6dc580
.PHONY:	pyext-termios-static
6dc580
.PHONY:	pyext-termios-clean
6dc580
6dc580
6dc580
# unicodedata
6dc580
PYEXT_UNICODEDATA_SRCS		+= pyext/obj/unicodedata.c
6dc580
6dc580
PYEXT_UNICODEDATA_LOBJS		= $(PYEXT_UNICODEDATA_SRCS:.c=.lo)
6dc580
PYEXT_UNICODEDATA_OBJS		= $(PYEXT_UNICODEDATA_SRCS:.c=.o)
6dc580
6dc580
PYEXT_UNICODEDATA_SHARED	= pyext/unicodedata$(PYTHON_SOEXT)
6dc580
PYEXT_UNICODEDATA_STATIC	= pyext/unicodedata$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_UNICODEDATA_SHARED):	$(PYEXT_UNICODEDATA_LOBJS)
6dc580
$(PYEXT_UNICODEDATA_STATIC):	$(PYEXT_UNICODEDATA_OBJS)
6dc580
6dc580
pyext-unicodedata-shared:	$(PYEXT_UNICODEDATA_SHARED)
6dc580
pyext-unicodedata-static:	$(PYEXT_UNICODEDATA_STATIC)
6dc580
6dc580
pyext-unicodedata-clean:
6dc580
	rm -f $(PYEXT_UNICODEDATA_LOBJS)
6dc580
	rm -f $(PYEXT_UNICODEDATA_OBJS)
6dc580
	rm -f $(PYEXT_UNICODEDATA_SHARED)
6dc580
	rm -f $(PYEXT_UNICODEDATA_STATIC)
6dc580
6dc580
clean:	pyext-unicodedata-clean
6dc580
6dc580
.PHONY:	pyext-unicodedata-shared
6dc580
.PHONY:	pyext-unicodedata-static
6dc580
.PHONY:	pyext-unicodedata-clean
6dc580
6dc580
6dc580
# xxlimited
6dc580
PYEXT_XXLIMITED_SRCS		+= pyext/obj/xxlimited.c
6dc580
6dc580
PYEXT_XXLIMITED_LOBJS		= $(PYEXT_XXLIMITED_SRCS:.c=.lo)
6dc580
PYEXT_XXLIMITED_OBJS		= $(PYEXT_XXLIMITED_SRCS:.c=.o)
6dc580
6dc580
PYEXT_XXLIMITED_SHARED		= pyext/xxlimited$(PYTHON_SOEXT)
6dc580
PYEXT_XXLIMITED_STATIC		= pyext/xxlimited$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_XXLIMITED_SHARED):	$(PYEXT_XXLIMITED_LOBJS)
6dc580
$(PYEXT_XXLIMITED_STATIC):	$(PYEXT_XXLIMITED_OBJS)
6dc580
6dc580
pyext-xxlimited-shared:		$(PYEXT_XXLIMITED_SHARED)
6dc580
pyext-xxlimited-static:		$(PYEXT_XXLIMITED_STATIC)
6dc580
6dc580
pyext-xxlimited-clean:
6dc580
	rm -f $(PYEXT_XXLIMITED_LOBJS)
6dc580
	rm -f $(PYEXT_XXLIMITED_OBJS)
6dc580
	rm -f $(PYEXT_XXLIMITED_SHARED)
6dc580
	rm -f $(PYEXT_XXLIMITED_STATIC)
6dc580
6dc580
clean:	pyext-xxlimited-clean
6dc580
6dc580
.PHONY:	pyext-xxlimited-shared
6dc580
.PHONY:	pyext-xxlimited-static
6dc580
.PHONY:	pyext-xxlimited-clean
6dc580
6dc580
6dc580
# _blake2
6dc580
PYEXT_BLAKE2_SRCS		+= pyext/obj/_blake2/blake2module.c
6dc580
PYEXT_BLAKE2_SRCS		+= pyext/obj/_blake2/blake2b_impl.c
6dc580
PYEXT_BLAKE2_SRCS		+= pyext/obj/_blake2/blake2s_impl.c
6dc580
6dc580
PYEXT_BLAKE2_LOBJS		= $(PYEXT_BLAKE2_SRCS:.c=.lo)
6dc580
PYEXT_BLAKE2_OBJS		= $(PYEXT_BLAKE2_SRCS:.c=.o)
6dc580
6dc580
PYEXT_BLAKE2_SHARED		= pyext/_blake2$(PYTHON_SOEXT)
6dc580
PYEXT_BLAKE2_STATIC		= pyext/_blake2$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_BLAKE2_SHARED):		$(PYEXT_BLAKE2_LOBJS)
6dc580
$(PYEXT_BLAKE2_STATIC):		$(PYEXT_BLAKE2_OBJS)
6dc580
6dc580
pyext-blake2-shared:		$(PYEXT_BLAKE2_SHARED)
6dc580
pyext-blake2-static:		$(PYEXT_BLAKE2_STATIC)
6dc580
6dc580
pyext-blake2-clean:
6dc580
	rm -f $(PYEXT_BLAKE2_LOBJS)
6dc580
	rm -f $(PYEXT_BLAKE2_OBJS)
6dc580
	rm -f $(PYEXT_BLAKE2_SHARED)
6dc580
	rm -f $(PYEXT_BLAKE2_STATIC)
6dc580
6dc580
clean:	pyext-blake2-clean
6dc580
6dc580
.PHONY:	pyext-blake2-shared
6dc580
.PHONY:	pyext-blake2-static
6dc580
.PHONY:	pyext-blake2-clean
6dc580
6dc580
6dc580
# _lsprof
6dc580
PYEXT_LSPROF_SRCS		+= pyext/obj/_lsprof.c
6dc580
PYEXT_LSPROF_SRCS		+= pyext/obj/rotatingtree.c
6dc580
6dc580
PYEXT_LSPROF_LOBJS		= $(PYEXT_LSPROF_SRCS:.c=.lo)
6dc580
PYEXT_LSPROF_OBJS		= $(PYEXT_LSPROF_SRCS:.c=.o)
6dc580
6dc580
PYEXT_LSPROF_SHARED		= pyext/_lsprof$(PYTHON_SOEXT)
6dc580
PYEXT_LSPROF_STATIC		= pyext/_lsprof$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_LSPROF_SHARED):		$(PYEXT_LSPROF_LOBJS)
6dc580
$(PYEXT_LSPROF_STATIC):		$(PYEXT_LSPROF_OBJS)
6dc580
6dc580
pyext-lsprof-shared:		$(PYEXT_LSPROF_SHARED)
6dc580
pyext-lsprof-static:		$(PYEXT_LSPROF_STATIC)
6dc580
6dc580
pyext-lsprof-clean:
6dc580
	rm -f $(PYEXT_LSPROF_LOBJS)
6dc580
	rm -f $(PYEXT_LSPROF_OBJS)
6dc580
	rm -f $(PYEXT_LSPROF_SHARED)
6dc580
	rm -f $(PYEXT_LSPROF_STATIC)
6dc580
6dc580
clean:	pyext-lsprof-clean
6dc580
6dc580
.PHONY:	pyext-lsprof-shared
6dc580
.PHONY:	pyext-lsprof-static
6dc580
.PHONY:	pyext-lsprof-clean
6dc580
6dc580
6dc580
# _multiprocessing
6dc580
PYEXT_MULTIPROCESSING_SRCS	+= pyext/obj/_multiprocessing/multiprocessing.c
6dc580
PYEXT_MULTIPROCESSING_SRCS	+= pyext/obj/_multiprocessing/semaphore.c
6dc580
6dc580
PYEXT_MULTIPROCESSING_LOBJS	= $(PYEXT_MULTIPROCESSING_SRCS:.c=.lo)
6dc580
PYEXT_MULTIPROCESSING_OBJS	= $(PYEXT_MULTIPROCESSING_SRCS:.c=.o)
6dc580
6dc580
PYEXT_MULTIPROCESSING_SHARED	= pyext/_multiprocessing$(PYTHON_SOEXT)
6dc580
PYEXT_MULTIPROCESSING_STATIC	= pyext/_multiprocessing$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_MULTIPROCESSING_SHARED):$(PYEXT_MULTIPROCESSING_LOBJS)
6dc580
$(PYEXT_MULTIPROCESSING_STATIC):$(PYEXT_MULTIPROCESSING_OBJS)
6dc580
6dc580
pyext-multiprocessing-shared:	$(PYEXT_MULTIPROCESSING_SHARED)
6dc580
pyext-multiprocessing-static:	$(PYEXT_MULTIPROCESSING_STATIC)
6dc580
6dc580
pyext-multiprocessing-clean:
6dc580
	rm -f $(PYEXT_MULTIPROCESSING_LOBJS)
6dc580
	rm -f $(PYEXT_MULTIPROCESSING_OBJS)
6dc580
	rm -f $(PYEXT_MULTIPROCESSING_SHARED)
6dc580
	rm -f $(PYEXT_MULTIPROCESSING_STATIC)
6dc580
6dc580
clean:	pyext-multiprocessing-clean
6dc580
6dc580
.PHONY:	pyext-multiprocessing-shared
6dc580
.PHONY:	pyext-multiprocessing-static
6dc580
.PHONY:	pyext-multiprocessing-clean
6dc580
6dc580
6dc580
# cmath
6dc580
PYEXT_CMATH_SRCS		+= pyext/obj/cmathmodule.c
6dc580
PYEXT_CMATH_SRCS		+= pyext/obj/_math.c
6dc580
6dc580
PYEXT_CMATH_LOBJS		= $(PYEXT_CMATH_SRCS:.c=.lo)
6dc580
PYEXT_CMATH_OBJS		= $(PYEXT_CMATH_SRCS:.c=.o)
6dc580
6dc580
PYEXT_CMATH_SHARED		= pyext/cmath$(PYTHON_SOEXT)
6dc580
PYEXT_CMATH_STATIC		= pyext/cmath$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_CMATH_SHARED):		$(PYEXT_CMATH_LOBJS)
6dc580
$(PYEXT_CMATH_STATIC):		$(PYEXT_CMATH_OBJS)
6dc580
6dc580
pyext-cmath-shared:		$(PYEXT_CMATH_SHARED)
6dc580
pyext-cmath-static:		$(PYEXT_CMATH_STATIC)
6dc580
6dc580
pyext-cmath-clean:
6dc580
	rm -f $(PYEXT_CMATH_LOBJS)
6dc580
	rm -f $(PYEXT_CMATH_OBJS)
6dc580
	rm -f $(PYEXT_CMATH_SHARED)
6dc580
	rm -f $(PYEXT_CMATH_STATIC)
6dc580
6dc580
clean:	pyext-cmath-clean
6dc580
6dc580
.PHONY:	pyext-cmath-shared
6dc580
.PHONY:	pyext-cmath-static
6dc580
.PHONY:	pyext-cmath-clean
6dc580
6dc580
6dc580
# math
6dc580
PYEXT_MATH_SRCS			+= pyext/obj/mathmodule.c
6dc580
PYEXT_MATH_SRCS			+= pyext/obj/_math.c
6dc580
6dc580
PYEXT_MATH_LOBJS		= $(PYEXT_MATH_SRCS:.c=.lo)
6dc580
PYEXT_MATH_OBJS			= $(PYEXT_MATH_SRCS:.c=.o)
6dc580
6dc580
PYEXT_MATH_SHARED		= pyext/math$(PYTHON_SOEXT)
6dc580
PYEXT_MATH_STATIC		= pyext/math$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_MATH_SHARED):		$(PYEXT_MATH_LOBJS)
6dc580
$(PYEXT_MATH_STATIC):		$(PYEXT_MATH_OBJS)
6dc580
6dc580
pyext-math-shared:		$(PYEXT_MATH_SHARED)
6dc580
pyext-math-static:		$(PYEXT_MATH_STATIC)
6dc580
6dc580
pyext-math-clean:
6dc580
	rm -f $(PYEXT_MATH_LOBJS)
6dc580
	rm -f $(PYEXT_MATH_OBJS)
6dc580
	rm -f $(PYEXT_MATH_SHARED)
6dc580
	rm -f $(PYEXT_MATH_STATIC)
6dc580
6dc580
clean:	pyext-math-clean
6dc580
6dc580
.PHONY:	pyext-math-shared
6dc580
.PHONY:	pyext-math-static
6dc580
.PHONY:	pyext-math-clean
6dc580
6dc580
6dc580
# _bz2
6dc580
PYEXT_BZ2_SRCS			+= pyext/obj/_bz2module.c
6dc580
6dc580
PYEXT_BZ2_LOBJS			= $(PYEXT_BZ2_SRCS:.c=.lo)
6dc580
PYEXT_BZ2_OBJS			= $(PYEXT_BZ2_SRCS:.c=.o)
6dc580
6dc580
6dc580
PYEXT_BZ2_SHARED		= pyext/_bz2$(PYTHON_SOEXT)
6dc580
PYEXT_BZ2_STATIC		= pyext/_bz2$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_BZ2_SHARED):		LDFLAGS_DYNEXT += -lbz2
6dc580
$(PYEXT_BZ2_SHARED):		$(PYEXT_BZ2_LOBJS)
6dc580
$(PYEXT_BZ2_STATIC):		$(PYEXT_BZ2_OBJS)
6dc580
6dc580
pyext-bz2-shared:		$(PYEXT_BZ2_SHARED)
6dc580
pyext-bz2-static:		$(PYEXT_BZ2_STATIC)
6dc580
6dc580
pyext-bz2-clean:
6dc580
	rm -f $(PYEXT_BZ2_LOBJS)
6dc580
	rm -f $(PYEXT_BZ2_OBJS)
6dc580
	rm -f $(PYEXT_BZ2_SHARED)
6dc580
	rm -f $(PYEXT_BZ2_STATIC)
6dc580
6dc580
clean:	pyext-bz2-clean
6dc580
6dc580
.PHONY:	pyext-bz2-shared
6dc580
.PHONY:	pyext-bz2-static
6dc580
.PHONY:	pyext-bz2-clean
6dc580
6dc580
6dc580
# _ctypes
6dc580
PYEXT_CTYPES_SRCS		+= pyext/obj/_ctypes/_ctypes.c
6dc580
PYEXT_CTYPES_SRCS		+= pyext/obj/_ctypes/callbacks.c
6dc580
PYEXT_CTYPES_SRCS		+= pyext/obj/_ctypes/callproc.c
6dc580
PYEXT_CTYPES_SRCS		+= pyext/obj/_ctypes/stgdict.c
6dc580
PYEXT_CTYPES_SRCS		+= pyext/obj/_ctypes/cfield.c
6dc580
6dc580
PYEXT_CTYPES_LOBJS		= $(PYEXT_CTYPES_SRCS:.c=.lo)
6dc580
PYEXT_CTYPES_OBJS		= $(PYEXT_CTYPES_SRCS:.c=.o)
6dc580
6dc580
6dc580
PYEXT_CTYPES_SHARED		= pyext/_ctypes$(PYTHON_SOEXT)
6dc580
PYEXT_CTYPES_STATIC		= pyext/_ctypes$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_CTYPES_SHARED):		LDFLAGS_DYNEXT += -lffi
6dc580
$(PYEXT_CTYPES_SHARED):		$(PYEXT_CTYPES_LOBJS)
6dc580
$(PYEXT_CTYPES_STATIC):		$(PYEXT_CTYPES_OBJS)
6dc580
6dc580
pyext-ctypes-shared:		$(PYEXT_CTYPES_SHARED)
6dc580
pyext-ctypes-static:		$(PYEXT_CTYPES_STATIC)
6dc580
6dc580
pyext-ctypes-clean:
6dc580
	rm -f $(PYEXT_CTYPES_LOBJS)
6dc580
	rm -f $(PYEXT_CTYPES_OBJS)
6dc580
	rm -f $(PYEXT_CTYPES_SHARED)
6dc580
	rm -f $(PYEXT_CTYPES_STATIC)
6dc580
6dc580
clean:	pyext-ctypes-clean
6dc580
6dc580
.PHONY:	pyext-ctypes-shared
6dc580
.PHONY:	pyext-ctypes-static
6dc580
.PHONY:	pyext-ctypes-clean
6dc580
6dc580
6dc580
# _curses
6dc580
PYEXT_CURSES_SRCS		+= pyext/obj/_cursesmodule.c
6dc580
6dc580
PYEXT_CURSES_LOBJS		= $(PYEXT_CURSES_SRCS:.c=.lo)
6dc580
PYEXT_CURSES_OBJS		= $(PYEXT_CURSES_SRCS:.c=.o)
6dc580
6dc580
$(PYEXT_CURSES_LOBJS):		CFLAGS_CONFIG += $(CFLAGS_NCURSES)
6dc580
$(PYEXT_CURSES_OBJS):		CFLAGS_CONFIG += $(CFLAGS_NCURSES)
6dc580
6dc580
PYEXT_CURSES_SHARED		= pyext/_curses$(PYTHON_SOEXT)
6dc580
PYEXT_CURSES_STATIC		= pyext/_curses$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_CURSES_SHARED):		LDFLAGS_DYNEXT += $(LDFLAGS_NCURSES)
6dc580
$(PYEXT_CURSES_SHARED):		$(PYEXT_CURSES_LOBJS)
6dc580
$(PYEXT_CURSES_STATIC):		$(PYEXT_CURSES_OBJS)
6dc580
6dc580
pyext-curses-shared:		$(PYEXT_CURSES_SHARED)
6dc580
pyext-curses-static:		$(PYEXT_CURSES_STATIC)
6dc580
6dc580
pyext-curses-clean:
6dc580
	rm -f $(PYEXT_CURSES_LOBJS)
6dc580
	rm -f $(PYEXT_CURSES_OBJS)
6dc580
	rm -f $(PYEXT_CURSES_SHARED)
6dc580
	rm -f $(PYEXT_CURSES_STATIC)
6dc580
6dc580
clean:	pyext-curses-clean
6dc580
6dc580
.PHONY:	pyext-curses-shared
6dc580
.PHONY:	pyext-curses-static
6dc580
.PHONY:	pyext-curses-clean
6dc580
6dc580
6dc580
# _curses_panel
6dc580
PYEXT_CURSES_PANEL_SRCS		+= pyext/obj/_curses_panel.c
6dc580
6dc580
PYEXT_CURSES_PANEL_LOBJS	= $(PYEXT_CURSES_PANEL_SRCS:.c=.lo)
6dc580
PYEXT_CURSES_PANEL_OBJS		= $(PYEXT_CURSES_PANEL_SRCS:.c=.o)
6dc580
6dc580
$(PYEXT_CURSES_PANEL_LOBJS):	CFLAGS_CONFIG += $(CFLAGS_NCURSES)
6dc580
$(PYEXT_CURSES_PANEL_OBJS):	CFLAGS_CONFIG += $(CFLAGS_NCURSES)
6dc580
6dc580
PYEXT_CURSES_PANEL_SHARED	= pyext/_curses_panel$(PYTHON_SOEXT)
6dc580
PYEXT_CURSES_PANEL_STATIC	= pyext/_curses_panel$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_CURSES_PANEL_SHARED):	LDFLAGS_DYNEXT += $(LDFLAGS_NCURSES)
6dc580
$(PYEXT_CURSES_PANEL_SHARED):	$(PYEXT_CURSES_PANEL_LOBJS)
6dc580
$(PYEXT_CURSES_PANEL_STATIC):	$(PYEXT_CURSES_PANEL_OBJS)
6dc580
6dc580
pyext-curses_panel-shared:	$(PYEXT_CURSES_PANEL_SHARED)
6dc580
pyext-curses_panel-static:	$(PYEXT_CURSES_PANEL_STATIC)
6dc580
6dc580
pyext-curses_panel-clean:
6dc580
	rm -f $(PYEXT_CURSES_PANEL_LOBJS)
6dc580
	rm -f $(PYEXT_CURSES_PANEL_OBJS)
6dc580
	rm -f $(PYEXT_CURSES_PANEL_SHARED)
6dc580
	rm -f $(PYEXT_CURSES_PANEL_STATIC)
6dc580
6dc580
clean:	pyext-curses_panel-clean
6dc580
6dc580
.PHONY:	pyext-curses_panel-shared
6dc580
.PHONY:	pyext-curses_panel-static
6dc580
.PHONY:	pyext-curses_panel-clean
6dc580
6dc580
6dc580
# _decimal
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/_decimal.c
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/libmpdec/basearith.c
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/libmpdec/constants.c
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/libmpdec/context.c
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/libmpdec/convolute.c
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/libmpdec/crt.c
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/libmpdec/difradix2.c
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/libmpdec/fnt.c
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/libmpdec/fourstep.c
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/libmpdec/io.c
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/libmpdec/memory.c
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/libmpdec/mpdecimal.c
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/libmpdec/numbertheory.c
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/libmpdec/sixstep.c
6dc580
PYEXT_DECIMAL_SRCS		+= pyext/obj/_decimal/libmpdec/transpose.c
6dc580
6dc580
PYEXT_DECIMAL_LOBJS		= $(PYEXT_DECIMAL_SRCS:.c=.lo)
6dc580
PYEXT_DECIMAL_OBJS		= $(PYEXT_DECIMAL_SRCS:.c=.o)
6dc580
a4a46b
$(PYEXT_DECIMAL_LOBJS):		CFLAGS_CONFIG += -I$(SOURCE_DIR)/Modules/_decimal/libmpdec -DUNIVERSAL
a4a46b
$(PYEXT_DECIMAL_OBJS):		CFLAGS_CONFIG += -I$(SOURCE_DIR)/Modules/_decimal/libmpdec -DUNIVERSAL
6dc580
6dc580
PYEXT_DECIMAL_SHARED		= pyext/_decimal$(PYTHON_SOEXT)
6dc580
PYEXT_DECIMAL_STATIC		= pyext/_decimal$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_DECIMAL_SHARED):	$(PYEXT_DECIMAL_LOBJS)
6dc580
$(PYEXT_DECIMAL_STATIC):	$(PYEXT_DECIMAL_OBJS)
6dc580
6dc580
pyext-decimal-shared:		$(PYEXT_DECIMAL_SHARED)
6dc580
pyext-decimal-static:		$(PYEXT_DECIMAL_STATIC)
6dc580
6dc580
pyext-decimal-clean:
6dc580
	rm -f $(PYEXT_DECIMAL_LOBJS)
6dc580
	rm -f $(PYEXT_DECIMAL_OBJS)
6dc580
	rm -f $(PYEXT_DECIMAL_SHARED)
6dc580
	rm -f $(PYEXT_DECIMAL_STATIC)
6dc580
6dc580
clean:	pyext-decimal-clean
6dc580
6dc580
.PHONY:	pyext-decimal-shared
6dc580
.PHONY:	pyext-decimal-static
6dc580
.PHONY:	pyext-decimal-clean
6dc580
6dc580
6dc580
# _dbm
6dc580
PYEXT_DBM_SRCS			+= pyext/obj/_dbmmodule.c
6dc580
6dc580
PYEXT_DBM_LOBJS			= $(PYEXT_DBM_SRCS:.c=.lo)
6dc580
PYEXT_DBM_OBJS			= $(PYEXT_DBM_SRCS:.c=.o)
6dc580
84f4cd
$(PYEXT_DBM_LOBJS):		CFLAGS_CONFIG += $(CFLAGS_DBM)
84f4cd
$(PYEXT_DBM_OBJS):		CFLAGS_CONFIG += $(CFLAGS_DBM)
6dc580
6dc580
PYEXT_DBM_SHARED		= pyext/_dbm$(PYTHON_SOEXT)
6dc580
PYEXT_DBM_STATIC		= pyext/_dbm$(OS_ARCHIVE_EXT)
6dc580
84f4cd
$(PYEXT_DBM_SHARED):		LDFLAGS_DYNEXT += $(LDFLAGS_DBM)
6dc580
$(PYEXT_DBM_SHARED):		$(PYEXT_DBM_LOBJS)
6dc580
$(PYEXT_DBM_STATIC):		$(PYEXT_DBM_OBJS)
6dc580
6dc580
pyext-dbm-shared:		$(PYEXT_DBM_SHARED)
6dc580
pyext-dbm-static:		$(PYEXT_DBM_STATIC)
6dc580
6dc580
pyext-dbm-clean:
6dc580
	rm -f $(PYEXT_DBM_LOBJS)
6dc580
	rm -f $(PYEXT_DBM_OBJS)
6dc580
	rm -f $(PYEXT_DBM_SHARED)
6dc580
	rm -f $(PYEXT_DBM_STATIC)
6dc580
6dc580
clean:	pyext-dbm-clean
6dc580
6dc580
.PHONY:	pyext-dbm-shared
6dc580
.PHONY:	pyext-dbm-static
6dc580
.PHONY:	pyext-dbm-clean
6dc580
6dc580
6dc580
# _gdbm
6dc580
PYEXT_GDBM_SRCS			+= pyext/obj/_gdbmmodule.c
6dc580
6dc580
PYEXT_GDBM_LOBJS		= $(PYEXT_GDBM_SRCS:.c=.lo)
6dc580
PYEXT_GDBM_OBJS			= $(PYEXT_GDBM_SRCS:.c=.o)
6dc580
6dc580
6dc580
PYEXT_GDBM_SHARED		= pyext/_gdbm$(PYTHON_SOEXT)
6dc580
PYEXT_GDBM_STATIC		= pyext/_gdbm$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_GDBM_SHARED):		LDFLAGS_DYNEXT += -lgdbm
6dc580
$(PYEXT_GDBM_SHARED):		$(PYEXT_GDBM_LOBJS)
6dc580
$(PYEXT_GDBM_STATIC):		$(PYEXT_GDBM_OBJS)
6dc580
6dc580
pyext-gdbm-shared:		$(PYEXT_GDBM_SHARED)
6dc580
pyext-gdbm-static:		$(PYEXT_GDBM_STATIC)
6dc580
6dc580
pyext-gdbm-clean:
6dc580
	rm -f $(PYEXT_GDBM_LOBJS)
6dc580
	rm -f $(PYEXT_GDBM_OBJS)
6dc580
	rm -f $(PYEXT_GDBM_SHARED)
6dc580
	rm -f $(PYEXT_GDBM_STATIC)
6dc580
6dc580
clean:	pyext-gdbm-clean
6dc580
6dc580
.PHONY:	pyext-gdbm-shared
6dc580
.PHONY:	pyext-gdbm-static
6dc580
.PHONY:	pyext-gdbm-clean
6dc580
6dc580
6dc580
# _hashlib
6dc580
PYEXT_HASHLIB_SRCS		+= pyext/obj/_hashopenssl.c
6dc580
6dc580
PYEXT_HASHLIB_LOBJS		= $(PYEXT_HASHLIB_SRCS:.c=.lo)
6dc580
PYEXT_HASHLIB_OBJS		= $(PYEXT_HASHLIB_SRCS:.c=.o)
6dc580
6dc580
6dc580
PYEXT_HASHLIB_SHARED		= pyext/_hashlib$(PYTHON_SOEXT)
6dc580
PYEXT_HASHLIB_STATIC		= pyext/_hashlib$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_HASHLIB_SHARED):	LDFLAGS_DYNEXT += -lssl -lcrypto
6dc580
$(PYEXT_HASHLIB_SHARED):	$(PYEXT_HASHLIB_LOBJS)
6dc580
$(PYEXT_HASHLIB_STATIC):	$(PYEXT_HASHLIB_OBJS)
6dc580
6dc580
pyext-hashlib-shared:		$(PYEXT_HASHLIB_SHARED)
6dc580
pyext-hashlib-static:		$(PYEXT_HASHLIB_STATIC)
6dc580
6dc580
pyext-hashlib-clean:
6dc580
	rm -f $(PYEXT_HASHLIB_LOBJS)
6dc580
	rm -f $(PYEXT_HASHLIB_OBJS)
6dc580
	rm -f $(PYEXT_HASHLIB_SHARED)
6dc580
	rm -f $(PYEXT_HASHLIB_STATIC)
6dc580
6dc580
clean:	pyext-hashlib-clean
6dc580
6dc580
.PHONY:	pyext-hashlib-shared
6dc580
.PHONY:	pyext-hashlib-static
6dc580
.PHONY:	pyext-hashlib-clean
6dc580
6dc580
6dc580
# _lzma
6dc580
PYEXT_LZMA_SRCS			+= pyext/obj/_lzmamodule.c
6dc580
6dc580
PYEXT_LZMA_LOBJS		= $(PYEXT_LZMA_SRCS:.c=.lo)
6dc580
PYEXT_LZMA_OBJS			= $(PYEXT_LZMA_SRCS:.c=.o)
6dc580
6dc580
6dc580
PYEXT_LZMA_SHARED		= pyext/_lzma$(PYTHON_SOEXT)
6dc580
PYEXT_LZMA_STATIC		= pyext/_lzma$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_LZMA_SHARED):		LDFLAGS_DYNEXT += -llzma
6dc580
$(PYEXT_LZMA_SHARED):		$(PYEXT_LZMA_LOBJS)
6dc580
$(PYEXT_LZMA_STATIC):		$(PYEXT_LZMA_OBJS)
6dc580
6dc580
pyext-lzma-shared:		$(PYEXT_LZMA_SHARED)
6dc580
pyext-lzma-static:		$(PYEXT_LZMA_STATIC)
6dc580
6dc580
pyext-lzma-clean:
6dc580
	rm -f $(PYEXT_LZMA_LOBJS)
6dc580
	rm -f $(PYEXT_LZMA_OBJS)
6dc580
	rm -f $(PYEXT_LZMA_SHARED)
6dc580
	rm -f $(PYEXT_LZMA_STATIC)
6dc580
6dc580
clean:	pyext-lzma-clean
6dc580
6dc580
.PHONY:	pyext-lzma-shared
6dc580
.PHONY:	pyext-lzma-static
6dc580
.PHONY:	pyext-lzma-clean
6dc580
6dc580
6dc580
# _sqlite3
6dc580
PYEXT_SQLITE3_SRCS		+= pyext/obj/_sqlite/cache.c
6dc580
PYEXT_SQLITE3_SRCS		+= pyext/obj/_sqlite/connection.c
6dc580
PYEXT_SQLITE3_SRCS		+= pyext/obj/_sqlite/cursor.c
6dc580
PYEXT_SQLITE3_SRCS		+= pyext/obj/_sqlite/microprotocols.c
6dc580
PYEXT_SQLITE3_SRCS		+= pyext/obj/_sqlite/module.c
6dc580
PYEXT_SQLITE3_SRCS		+= pyext/obj/_sqlite/prepare_protocol.c
6dc580
PYEXT_SQLITE3_SRCS		+= pyext/obj/_sqlite/row.c
6dc580
PYEXT_SQLITE3_SRCS		+= pyext/obj/_sqlite/statement.c
6dc580
PYEXT_SQLITE3_SRCS		+= pyext/obj/_sqlite/util.c
6dc580
6dc580
PYEXT_SQLITE3_LOBJS		= $(PYEXT_SQLITE3_SRCS:.c=.lo)
6dc580
PYEXT_SQLITE3_OBJS		= $(PYEXT_SQLITE3_SRCS:.c=.o)
6dc580
6dc580
$(PYEXT_SQLITE3_LOBJS):		CFLAGS_CONFIG += $(CFLAGS_SQLITE)
6dc580
$(PYEXT_SQLITE3_OBJS):		CFLAGS_CONFIG += $(CFLAGS_SQLITE)
6dc580
6dc580
PYEXT_SQLITE3_SHARED		= pyext/_sqlite3$(PYTHON_SOEXT)
6dc580
PYEXT_SQLITE3_STATIC		= pyext/_sqlite3$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_SQLITE3_SHARED):	LDFLAGS_DYNEXT += $(LDFLAGS_SQLITE)
6dc580
$(PYEXT_SQLITE3_SHARED):	$(PYEXT_SQLITE3_LOBJS)
6dc580
$(PYEXT_SQLITE3_STATIC):	$(PYEXT_SQLITE3_OBJS)
6dc580
6dc580
pyext-sqlite3-shared:		$(PYEXT_SQLITE3_SHARED)
6dc580
pyext-sqlite3-static:		$(PYEXT_SQLITE3_STATIC)
6dc580
6dc580
pyext-sqlite3-clean:
6dc580
	rm -f $(PYEXT_SQLITE3_LOBJS)
6dc580
	rm -f $(PYEXT_SQLITE3_OBJS)
6dc580
	rm -f $(PYEXT_SQLITE3_SHARED)
6dc580
	rm -f $(PYEXT_SQLITE3_STATIC)
6dc580
6dc580
clean:	pyext-sqlite3-clean
6dc580
6dc580
.PHONY:	pyext-sqlite3-shared
6dc580
.PHONY:	pyext-sqlite3-static
6dc580
.PHONY:	pyext-sqlite3-clean
6dc580
6dc580
6dc580
# _ssl
6dc580
PYEXT_SSL_SRCS			+= pyext/obj/_ssl.c
6dc580
6dc580
PYEXT_SSL_LOBJS			= $(PYEXT_SSL_SRCS:.c=.lo)
6dc580
PYEXT_SSL_OBJS			= $(PYEXT_SSL_SRCS:.c=.o)
6dc580
6dc580
6dc580
PYEXT_SSL_SHARED		= pyext/_ssl$(PYTHON_SOEXT)
6dc580
PYEXT_SSL_STATIC		= pyext/_ssl$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_SSL_SHARED):		LDFLAGS_DYNEXT += -lssl -lcrypto
6dc580
$(PYEXT_SSL_SHARED):		$(PYEXT_SSL_LOBJS)
6dc580
$(PYEXT_SSL_STATIC):		$(PYEXT_SSL_OBJS)
6dc580
6dc580
pyext-ssl-shared:		$(PYEXT_SSL_SHARED)
6dc580
pyext-ssl-static:		$(PYEXT_SSL_STATIC)
6dc580
6dc580
pyext-ssl-clean:
6dc580
	rm -f $(PYEXT_SSL_LOBJS)
6dc580
	rm -f $(PYEXT_SSL_OBJS)
6dc580
	rm -f $(PYEXT_SSL_SHARED)
6dc580
	rm -f $(PYEXT_SSL_STATIC)
6dc580
6dc580
clean:	pyext-ssl-clean
6dc580
6dc580
.PHONY:	pyext-ssl-shared
6dc580
.PHONY:	pyext-ssl-static
6dc580
.PHONY:	pyext-ssl-clean
6dc580
6dc580
6dc580
# _tkinter
6dc580
PYEXT_TKINTER_SRCS		+= pyext/obj/_tkinter.c
6dc580
PYEXT_TKINTER_SRCS		+= pyext/obj/tkappinit.c
6dc580
6dc580
PYEXT_TKINTER_LOBJS		= $(PYEXT_TKINTER_SRCS:.c=.lo)
6dc580
PYEXT_TKINTER_OBJS		= $(PYEXT_TKINTER_SRCS:.c=.o)
6dc580
6dc580
$(PYEXT_TKINTER_LOBJS):		CFLAGS_CONFIG += $(CFLAGS_TCLTK)
6dc580
$(PYEXT_TKINTER_OBJS):		CFLAGS_CONFIG += $(CFLAGS_TCLTK)
6dc580
6dc580
PYEXT_TKINTER_SHARED		= pyext/_tkinter$(PYTHON_SOEXT)
6dc580
PYEXT_TKINTER_STATIC		= pyext/_tkinter$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_TKINTER_SHARED):	LDFLAGS_DYNEXT += $(LDFLAGS_TCLTK)
6dc580
$(PYEXT_TKINTER_SHARED):	$(PYEXT_TKINTER_LOBJS)
6dc580
$(PYEXT_TKINTER_STATIC):	$(PYEXT_TKINTER_OBJS)
6dc580
6dc580
pyext-tkinter-shared:		$(PYEXT_TKINTER_SHARED)
6dc580
pyext-tkinter-static:		$(PYEXT_TKINTER_STATIC)
6dc580
6dc580
pyext-tkinter-clean:
6dc580
	rm -f $(PYEXT_TKINTER_LOBJS)
6dc580
	rm -f $(PYEXT_TKINTER_OBJS)
6dc580
	rm -f $(PYEXT_TKINTER_SHARED)
6dc580
	rm -f $(PYEXT_TKINTER_STATIC)
6dc580
6dc580
clean:	pyext-tkinter-clean
6dc580
6dc580
.PHONY:	pyext-tkinter-shared
6dc580
.PHONY:	pyext-tkinter-static
6dc580
.PHONY:	pyext-tkinter-clean
6dc580
6dc580
6dc580
# binascii
6dc580
PYEXT_BINASCII_SRCS		+= pyext/obj/binascii.c
6dc580
6dc580
PYEXT_BINASCII_LOBJS		= $(PYEXT_BINASCII_SRCS:.c=.lo)
6dc580
PYEXT_BINASCII_OBJS		= $(PYEXT_BINASCII_SRCS:.c=.o)
6dc580
6dc580
6dc580
PYEXT_BINASCII_SHARED		= pyext/binascii$(PYTHON_SOEXT)
6dc580
PYEXT_BINASCII_STATIC		= pyext/binascii$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_BINASCII_SHARED):	LDFLAGS_DYNEXT += -lz
6dc580
$(PYEXT_BINASCII_SHARED):	$(PYEXT_BINASCII_LOBJS)
6dc580
$(PYEXT_BINASCII_STATIC):	$(PYEXT_BINASCII_OBJS)
6dc580
6dc580
pyext-binascii-shared:		$(PYEXT_BINASCII_SHARED)
6dc580
pyext-binascii-static:		$(PYEXT_BINASCII_STATIC)
6dc580
6dc580
pyext-binascii-clean:
6dc580
	rm -f $(PYEXT_BINASCII_LOBJS)
6dc580
	rm -f $(PYEXT_BINASCII_OBJS)
6dc580
	rm -f $(PYEXT_BINASCII_SHARED)
6dc580
	rm -f $(PYEXT_BINASCII_STATIC)
6dc580
6dc580
clean:	pyext-binascii-clean
6dc580
6dc580
.PHONY:	pyext-binascii-shared
6dc580
.PHONY:	pyext-binascii-static
6dc580
.PHONY:	pyext-binascii-clean
6dc580
6dc580
6dc580
# pyexpat
6dc580
PYEXT_PYEXPAT_SRCS		+= pyext/obj/pyexpat.c
6dc580
6dc580
PYEXT_PYEXPAT_LOBJS		= $(PYEXT_PYEXPAT_SRCS:.c=.lo)
6dc580
PYEXT_PYEXPAT_OBJS		= $(PYEXT_PYEXPAT_SRCS:.c=.o)
6dc580
6dc580
6dc580
PYEXT_PYEXPAT_SHARED		= pyext/pyexpat$(PYTHON_SOEXT)
6dc580
PYEXT_PYEXPAT_STATIC		= pyext/pyexpat$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_PYEXPAT_SHARED):	LDFLAGS_DYNEXT += -lexpat
6dc580
$(PYEXT_PYEXPAT_SHARED):	$(PYEXT_PYEXPAT_LOBJS)
6dc580
$(PYEXT_PYEXPAT_STATIC):	$(PYEXT_PYEXPAT_OBJS)
6dc580
6dc580
pyext-pyexpat-shared:		$(PYEXT_PYEXPAT_SHARED)
6dc580
pyext-pyexpat-static:		$(PYEXT_PYEXPAT_STATIC)
6dc580
6dc580
pyext-pyexpat-clean:
6dc580
	rm -f $(PYEXT_PYEXPAT_LOBJS)
6dc580
	rm -f $(PYEXT_PYEXPAT_OBJS)
6dc580
	rm -f $(PYEXT_PYEXPAT_SHARED)
6dc580
	rm -f $(PYEXT_PYEXPAT_STATIC)
6dc580
6dc580
clean:	pyext-pyexpat-clean
6dc580
6dc580
.PHONY:	pyext-pyexpat-shared
6dc580
.PHONY:	pyext-pyexpat-static
6dc580
.PHONY:	pyext-pyexpat-clean
6dc580
6dc580
6dc580
# readline
6dc580
PYEXT_READLINE_SRCS		+= pyext/obj/readline.c
6dc580
6dc580
PYEXT_READLINE_LOBJS		= $(PYEXT_READLINE_SRCS:.c=.lo)
6dc580
PYEXT_READLINE_OBJS		= $(PYEXT_READLINE_SRCS:.c=.o)
6dc580
6dc580
6dc580
PYEXT_READLINE_SHARED		= pyext/readline$(PYTHON_SOEXT)
6dc580
PYEXT_READLINE_STATIC		= pyext/readline$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_READLINE_SHARED):	LDFLAGS_DYNEXT += -lreadline
6dc580
$(PYEXT_READLINE_SHARED):	$(PYEXT_READLINE_LOBJS)
6dc580
$(PYEXT_READLINE_STATIC):	$(PYEXT_READLINE_OBJS)
6dc580
6dc580
pyext-readline-shared:		$(PYEXT_READLINE_SHARED)
6dc580
pyext-readline-static:		$(PYEXT_READLINE_STATIC)
6dc580
6dc580
pyext-readline-clean:
6dc580
	rm -f $(PYEXT_READLINE_LOBJS)
6dc580
	rm -f $(PYEXT_READLINE_OBJS)
6dc580
	rm -f $(PYEXT_READLINE_SHARED)
6dc580
	rm -f $(PYEXT_READLINE_STATIC)
6dc580
6dc580
clean:	pyext-readline-clean
6dc580
6dc580
.PHONY:	pyext-readline-shared
6dc580
.PHONY:	pyext-readline-static
6dc580
.PHONY:	pyext-readline-clean
6dc580
6dc580
6dc580
# zlib
6dc580
PYEXT_ZLIB_SRCS			+= pyext/obj/zlibmodule.c
6dc580
6dc580
PYEXT_ZLIB_LOBJS		= $(PYEXT_ZLIB_SRCS:.c=.lo)
6dc580
PYEXT_ZLIB_OBJS			= $(PYEXT_ZLIB_SRCS:.c=.o)
6dc580
6dc580
6dc580
PYEXT_ZLIB_SHARED		= pyext/zlib$(PYTHON_SOEXT)
6dc580
PYEXT_ZLIB_STATIC		= pyext/zlib$(OS_ARCHIVE_EXT)
6dc580
6dc580
$(PYEXT_ZLIB_SHARED):		LDFLAGS_DYNEXT += -lz
6dc580
$(PYEXT_ZLIB_SHARED):		$(PYEXT_ZLIB_LOBJS)
6dc580
$(PYEXT_ZLIB_STATIC):		$(PYEXT_ZLIB_OBJS)
6dc580
6dc580
pyext-zlib-shared:		$(PYEXT_ZLIB_SHARED)
6dc580
pyext-zlib-static:		$(PYEXT_ZLIB_STATIC)
6dc580
6dc580
pyext-zlib-clean:
6dc580
	rm -f $(PYEXT_ZLIB_LOBJS)
6dc580
	rm -f $(PYEXT_ZLIB_OBJS)
6dc580
	rm -f $(PYEXT_ZLIB_SHARED)
6dc580
	rm -f $(PYEXT_ZLIB_STATIC)
6dc580
6dc580
clean:	pyext-zlib-clean
6dc580
6dc580
.PHONY:	pyext-zlib-shared
6dc580
.PHONY:	pyext-zlib-static
6dc580
.PHONY:	pyext-zlib-clean
6dc580
6dc580