X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2FGNUmakefile;h=75bdc008e5dd4976232eb9fdcdb4090ade9ee74c;hb=8e2eaf4959bec63a1128a444591a540f4f1e2937;hp=2babb505ddd6c669468901b248fd237a1f4726f9;hpb=d11056c687720e610a40f69e6f6ec32525751ff2;p=lilypond.git diff --git a/python/GNUmakefile b/python/GNUmakefile index 2babb505dd..75bdc008e5 100644 --- a/python/GNUmakefile +++ b/python/GNUmakefile @@ -1,19 +1,24 @@ -2depth = .. +depth = .. -STEPMAKE_TEMPLATES=c python-module install-out po +SUBDIRS=auxiliar + +STEPMAKE_TEMPLATES=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) +default: $(outdir)/relocate-preamble.py -$(outdir)/midi.lo: $(outdir)/config.hh +$(outdir)/relocate-preamble.py: $(depth)/VERSION