]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/python-module-vars.make
Issue 4485: Refactor \partcombine and \autochange iterators
[lilypond.git] / stepmake / stepmake / python-module-vars.make
1 ALL_LDFLAGS = $(LDFLAGS)
2 PY_MODULES_IN = $(call src-wildcard,*.py)
3 OUT_PY_MODULES = $(PY_MODULES_IN:%=$(outdir)/%)
4 OUT_PYC_MODULES = $(OUT_PY_MODULES:%.py=%.pyc)
5 OUT_PYO_MODULES = $(OUT_PY_MODULES:%.py=%.pyo)
6 ifeq ($(MINGW_BUILD)$(CYGWIN_BUILD),)
7 SHARED_MODULE_SUFFIX = .so
8 else
9 ifneq ($(CYGWIN_BUILD),)
10 SHARED_MODULE_SUFFIX = .dll
11 endif
12 ifneq ($(MINGW_BUILD),)
13 SHARED_MODULE_SUFFIX = .dll
14 endif
15 endif
16 ifneq ($(DARWIN_BUILD),)
17 SHARED_FLAGS = -bundle -flat_namespace -undefined suppress
18 endif
19 OUT_SO_MODULES = $(addprefix $(outdir)/, $(C_FILES:.c=$(SHARED_MODULE_SUFFIX)))