]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/GNUmakefile
Merge branch 'master' into translation
[lilypond.git] / python / GNUmakefile
index 2babb505ddd6c669468901b248fd237a1f4726f9..19af006386168d2927bafa111d13e2848fdbd626 100644 (file)
@@ -1,19 +1,26 @@
-2depth = ..
+depth = ..
+
+SUBDIRS=auxiliar
 
 STEPMAKE_TEMPLATES=c python-module install-out po
 
 include $(depth)/make/stepmake.make
 
+CFLAGS += -DPy_BUILD_CORE -Wall $(PYTHON_CFLAGS)
+LDFLAGS += $(PYTHON_LIBS)
 # unset al guile stuff from configure
-USER_LDFLAGS=
+CONFIG_LDFLAGS=
 
 INSTALLATION_OUT_SUFFIXES=1
 
 INSTALLATION_OUT_FILES=$(OUT_SO_MODULES)
-INSTALLATION_OUT_DIR=$(local_lilypond_datadir)/python
+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
+
+$(outdir)/relocate-preamble.py: $(depth)/VERSION