summaryrefslogtreecommitdiff
path: root/project/pydist.mk
blob: 0467a4de2d050b006fec5822888e6665f7821981 (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
PYCOPY        = $(PROJECT_DIR)/project/pycopy.sh
PYCABI        = cpython-$(PYTHON_MAJOR)$(PYTHON_MINOR)
PYCOPY_PYTHON = $(NICKNAME)
PYCOPY_PREFIX = $(PREFIX)

PYDIST_LIBDIR = lib
PYDIST_PYCDIR = lib/$(NICKNAME)


PYDIST_SYSCFG_SRCS = \
	$(PYDIST_PYCDIR)/./_sysconfigdata_$(PYTHON_ABIFL)_$(PYTHON_PLATFORM)_.py


ifneq ($(PYTHON_MAJOR),)
include pydist.mk
endif


pydist-py-srcs: $(PYDIST_PY_SRCS)

pydist-py-srcs-clean:
	rm -f   $(PYDIST_PY_SRCS)
	rm -f   pydist.tag

clean:  pydist-py-srcs-clean

install-app:	pydist-install-py
install-app:	pydist-install-pyc


.PHONY:	pydist-py-srcs
.PHONY:	pydist-py-srcs-clean

.PHONY:	pydist-install-tree
.PHONY:	pydist-install-py
.PHONY:	pydist-install-pyc