]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/GNUmakefile
Clean up buildscripts
[lilypond.git] / python / GNUmakefile
index fd0a03003daf6ebee4ea684f638cfaa8e0264421..5e706b1c5061eca0ae78c99b4ffb6e7eba077e2c 100644 (file)
@@ -1,9 +1,23 @@
 depth = ..
 
-STEPMAKE_TEMPLATES=c python-module install po
-include $(depth)/make/stepmake.make 
+SUBDIRS=aux
 
-INSTALLATION_FILES=$(OUT_PY_MODULES) $(OUT_PYC_MODULES) $(OUT_SO_MODULES)
-INSTALLATION_DIR=$(local_lilypond_datadir)/python
+STEPMAKE_TEMPLATES=c python-module install-out po
 
-$(outdir)/midi.lo: $(outdir)/config.h
+include $(depth)/make/stepmake.make
+
+CFLAGS += -DPy_BUILD_CORE -Wall
+# unset al guile stuff from configure
+CONFIG_LDFLAGS=
+
+INSTALLATION_OUT_SUFFIXES=1
+
+INSTALLATION_OUT_FILES=$(OUT_SO_MODULES)
+INSTALLATION_OUT_DIR=$(local_lilypond_libdir)/python
+
+INSTALLATION_OUT_DIR1=$(local_lilypond_datadir)/python
+INSTALLATION_OUT_FILES1=$(OUT_PY_MODULES) $(OUT_PYC_MODULES)
+
+$(outdir)/midi.lo: $(outdir)/config.hh
+
+default: $(outdir)/relocate-preamble.py