]> git.donarmstrong.com Git - lilypond.git/blob - lily/GNUmakefile
* Documentation/topdocs/INSTALL.texi (Top): Remove information
[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 MODULE_LDFLAGS=
11
12
13 HELP2MAN_EXECS = lilypond
14 STEPMAKE_TEMPLATES= c++ executable po help2man
15
16 include $(depth)/make/stepmake.make 
17
18 # for profiling, link guile statically:
19 #
20 # USER_LDFLAGS += -static -lltdl -ldl
21 #
22
23 ETAGS_FLAGS += --regex='{c++}/^LY_DEFINE *(\([^,]+\)/\1/'
24 ETAGS_FLAGS += --regex='{c++}/^LY_DEFINE *([^"]*"\([^"]+\)"/\1/'
25
26 default:
27
28 # force these: Make can't know these have to be generated in advance
29 $(outdir)/lily-parser.o: $(outdir)/parser.hh
30 $(outdir)/lily-lexer.o: $(outdir)/parser.hh
31 $(outdir)/lexer.o: $(outdir)/parser.hh $(outdir)/version.hh
32
33 $(outdir)/general-scheme.o: $(outdir)/version.hh
34 $(outdir)/kpath.o: $(outdir)/version.hh
35 $(outdir)/lily-guile.o: $(outdir)/version.hh
36 $(outdir)/lily-version.o: $(outdir)/version.hh
37
38 # ugh.  For --srcdir builds, these must exist to satisfy their broken
39 # lexer.dep and parser.dep file entries.
40 ifneq ($(srcdir), .)
41 .PRECIOUS: $(outdir)/lexer.cc $(outdir)/parser.cc
42 endif