| 1 | ### -*-makefile-*- |
| 2 | ### |
| 3 | ### Makefile for Python core stuff |
| 4 | ### |
| 5 | ### (c) 2006 Straylight/Edgeware |
| 6 | ### |
| 7 | |
| 8 | ###----- Licensing notice --------------------------------------------------- |
| 9 | ### |
| 10 | ### This file is part of Trivial IP Encryption (TrIPE). |
| 11 | ### |
| 12 | ### TrIPE is free software: you can redistribute it and/or modify it under |
| 13 | ### the terms of the GNU General Public License as published by the Free |
| 14 | ### Software Foundation; either version 3 of the License, or (at your |
| 15 | ### option) any later version. |
| 16 | ### |
| 17 | ### TrIPE is distributed in the hope that it will be useful, but WITHOUT |
| 18 | ### ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 19 | ### FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 20 | ### for more details. |
| 21 | ### |
| 22 | ### You should have received a copy of the GNU General Public License |
| 23 | ### along with TrIPE. If not, see <https://www.gnu.org/licenses/>. |
| 24 | |
| 25 | include $(top_srcdir)/vars.am |
| 26 | |
| 27 | python_PYTHON = |
| 28 | nodist_python_PYTHON = |
| 29 | |
| 30 | ###-------------------------------------------------------------------------- |
| 31 | ### Python modules. |
| 32 | |
| 33 | ## Coroutine infrastructure. |
| 34 | python_PYTHON += rmcr.py |
| 35 | |
| 36 | ## Main support stuff. |
| 37 | nodist_python_PYTHON += tripe.py |
| 38 | CLEANFILES += tripe.py |
| 39 | EXTRA_DIST += tripe.py.in |
| 40 | |
| 41 | tripe.py: tripe.py.in Makefile |
| 42 | $(SUBST) $(srcdir)/tripe.py.in >$@.new $(SUBSTITUTIONS) && \ |
| 43 | mv $@.new $@ |
| 44 | |
| 45 | ## Make sure the modules are compiled. |
| 46 | all: $(python_PYTHON) $(nodist_python_PYTHON) |
| 47 | |
| 48 | ###----- That's all, folks -------------------------------------------------- |