STEPMAKE_TEMPLATES=c python-module install-out po
-include $(depth)/make/stepmake.make
+include $(depth)/make/stepmake.make
+
+CFLAGS += -DPy_BUILD_CORE -Wall
+# unset al guile stuff from configure
+CONFIG_LDFLAGS=
INSTALLATION_OUT_SUFFIXES=1
INSTALLATION_OUT_DIR1=$(local_lilypond_datadir)/python
INSTALLATION_OUT_FILES1=$(OUT_PY_MODULES) $(OUT_PYC_MODULES)
+$(outdir)/midi.lo: $(outdir)/config.hh
-$(outdir)/midi.lo: $(outdir)/config.h
+default: $(outdir)/relocate-preamble.py