7 MODULE_LIBS= $(depth)/flower $(depth)/ttftool $(depth)/kpath-guile
8 MODULE_INCLUDES= $(depth)/flower/include $(depth)/ttftool/include
11 HELP2MAN_EXECS = lilypond
12 STEPMAKE_TEMPLATES= c++ executable po help2man
14 OUT_DIST_FILES=$(addprefix $(outdir)/,parser.cc parser.hh)
16 include $(depth)/make/stepmake.make
18 ifeq ($(HAVE_LIBKPATHSEA_SO),no)
19 MODULE_LDFLAGS+= $(KPATHSEA_LIBS)
23 # for profiling, link guile statically:
25 # USER_LDFLAGS += -static -lltdl -ldl
28 ETAGS_FLAGS += --regex='{c++}/^LY_DEFINE *(\([^,]+\)/\1/'
29 ETAGS_FLAGS += --regex='{c++}/^LY_DEFINE *([^"]*"\([^"]+\)"/\1/'
33 # force these: Make can't know these have to be generated in advance
34 $(outdir)/lily-parser.o: $(outdir)/parser.hh
35 $(outdir)/lily-lexer.o: $(outdir)/parser.hh
36 $(outdir)/lexer.o: $(outdir)/parser.hh $(outdir)/version.hh
39 $(outdir)/general-scheme.o: $(outdir)/version.hh
40 $(outdir)/kpath.o: $(outdir)/version.hh
41 $(outdir)/lily-guile.o: $(outdir)/version.hh
42 $(outdir)/lily-version.o: $(outdir)/version.hh
44 local-po: $(outdir)/parser.cc
46 # ugh. For --srcdir builds, these must exist to satisfy their broken
47 # lexer.dep and parser.dep file entries.
49 .PRECIOUS: $(outdir)/lexer.cc $(outdir)/parser.cc