Codebase list bsdowl / scrub-obsolete/main script / python.init.mk
scrub-obsolete/main

Tree @scrub-obsolete/main (Download .tar.gz)

python.init.mk @scrub-obsolete/mainraw · history · blame

### python.init.mk -- Initialisation for Python support

# Author: Michael Grünewald
# Date: Sat Nov 22 12:52:58 CET 2014

# BSD Owl Scripts (https://github.com/michipili/bsdowl)
# This file is part of BSD Owl Scripts
#
# Copyright © 2005–2014 Michael Grünewald
#
# This file must be used under the terms of the CeCILL-B.
# This source file is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at
# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.txt

.if !defined(THISMODULE)
.error python.init.mk cannot be included directly.
.endif

.if !target(__<python.init.mk>__)
__<python.init.mk>__:

.include "bps.init.mk"
.include "python.uses.mk"

.if defined(PYTHONVERSION)
PYTHONLIBDIR?=		${PREFIX}/lib/python${PYTHONVERSION}/site-packages${PACKAGEDIR}
.else
.error The variable PYTHONVERSION is not set.
.endif

.endif # !target(__<python.init.mk>__)

### End of file `python.init.mk'