X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2FGNUmakefile;h=19af006386168d2927bafa111d13e2848fdbd626;hb=8211950f0931c4d8a0e18ee9e436e489bd583dbd;hp=b1a0d05439262457baad538f9673a76cd167f878;hpb=5076750d784d8fc19a6462915ad76ae155b8ab39;p=lilypond.git diff --git a/python/GNUmakefile b/python/GNUmakefile index b1a0d05439..19af006386 100644 --- a/python/GNUmakefile +++ b/python/GNUmakefile @@ -1,8 +1,15 @@ depth = .. +SUBDIRS=auxiliar + STEPMAKE_TEMPLATES=c python-module install-out po -include $(depth)/make/stepmake.make +include $(depth)/make/stepmake.make + +CFLAGS += -DPy_BUILD_CORE -Wall $(PYTHON_CFLAGS) +LDFLAGS += $(PYTHON_LIBS) +# unset al guile stuff from configure +CONFIG_LDFLAGS= INSTALLATION_OUT_SUFFIXES=1 @@ -12,5 +19,8 @@ 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)/midi.lo: $(outdir)/config.h +$(outdir)/relocate-preamble.py: $(depth)/VERSION