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