]> git.donarmstrong.com Git - lilypond.git/blob - lily/GNUmakefile
(make_ps_images): Escape newline.
[lilypond.git] / lily / GNUmakefile
1
2 depth = ..
3
4 NAME = lilypond
5 SUBDIRS = include
6
7 MODULE_LIBS= $(depth)/flower  $(depth)/ttftool $(depth)/kpath-guile 
8 MODULE_INCLUDES= $(depth)/flower/include $(depth)/ttftool/include 
9 MODULE_CXXFLAGS=
10
11 HELP2MAN_EXECS = lilypond
12 STEPMAKE_TEMPLATES= c++ executable po help2man
13
14 include $(depth)/make/stepmake.make 
15
16 ifeq ($(HAVE_LIBKPATHSEA_SO),no)
17 MODULE_LDFLAGS+= $(KPATHSEA_LIBS)
18 endif
19
20
21 # for profiling, link guile statically:
22 #
23 # USER_LDFLAGS += -static -lltdl -ldl
24 #
25
26 ETAGS_FLAGS += --regex='{c++}/^LY_DEFINE *(\([^,]+\)/\1/'
27 ETAGS_FLAGS += --regex='{c++}/^LY_DEFINE *([^"]*"\([^"]+\)"/\1/'
28
29 default:
30
31 # force these: Make can't know these have to be generated in advance
32 $(outdir)/lily-parser.o: $(outdir)/parser.hh
33 $(outdir)/lily-lexer.o: $(outdir)/parser.hh
34 $(outdir)/lexer.o: $(outdir)/parser.hh $(outdir)/version.hh
35
36 $(outdir)/general-scheme.o: $(outdir)/version.hh
37 $(outdir)/kpath.o: $(outdir)/version.hh
38 $(outdir)/lily-guile.o: $(outdir)/version.hh
39 $(outdir)/lily-version.o: $(outdir)/version.hh
40
41 local-po: $(outdir)/parser.cc
42
43 # ugh.  For --srcdir builds, these must exist to satisfy their broken
44 # lexer.dep and parser.dep file entries.
45 ifneq ($(srcdir), .)
46 .PRECIOUS: $(outdir)/lexer.cc $(outdir)/parser.cc
47 endif