--- /dev/null
+### -*-makefile-*-
+###
+### Makefile for Python core stuff
+###
+### (c) 2006 Straylight/Edgeware
+###
+
+###----- Licensing notice ---------------------------------------------------
+###
+### This file is part of Trivial IP Encryption (TrIPE).
+###
+### TrIPE is free software; you can redistribute it and/or modify
+### it under the terms of the GNU General Public License as published by
+### the Free Software Foundation; either version 2 of the License, or
+### (at your option) any later version.
+###
+### TrIPE is distributed in the hope that it will be useful,
+### but WITHOUT ANY WARRANTY; without even the implied warranty of
+### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+### GNU General Public License for more details.
+###
+### You should have received a copy of the GNU General Public License
+### along with TrIPE; if not, write to the Free Software Foundation,
+### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+include $(top_srcdir)/vars.am
+
+python_PYTHON =
+nodist_python_PYTHON =
+
+###--------------------------------------------------------------------------
+### Python modules.
+
+## Coroutine infrastructure.
+python_PYTHON += rmcr.py
+
+## Main support stuff.
+nodist_python_PYTHON += tripe.py
+CLEANFILES += tripe.py
+EXTRA_DIST += tripe.py.in
+
+tripe.py: tripe.py.in Makefile
+ $(confsubst) $(srcdir)/tripe.py.in >$@.new $(SUBSTITUTIONS) && \
+ mv $@.new $@
+
+## Make sure the modules are compiled.
+all: $(python_PYTHON) $(nodist_python_PYTHON)
+
+###----- That's all, folks --------------------------------------------------