]> git.donarmstrong.com Git - lilypond.git/blob - lib/Makefile
release: 0.0.39-1
[lilypond.git] / lib / Makefile
1 #
2 # project  LilyPond -- the musical typesetter
3 # title    makefile for micro-lily-lib
4 # file     lib/Makefile 
5 #
6 # Copyright (c) 1997 by
7 #       Jan Nieuwenhuizen <jan@digicash.com>
8 #       Han-Wen Nienhuys <hanwen@stack.nl>
9 #
10
11 # subdir level:
12 #
13 depth = ..
14 #
15
16 # identify module:
17 #
18 NAME = lily
19 MAJOR_VERSION = $(TOPLEVEL_MAJOR_VERSION)
20 MINOR_VERSION = $(TOPLEVEL_MINOR_VERSION)
21 PATCH_LEVEL = $(TOPLEVEL_PATCH_LEVEL)
22 # use to send patches, always empty for released version:
23 MY_PATCH_LEVEL = $(TOPLEVEL_MY_PATCH_LEVEL)
24 build = ./$(depth)/lily/.build
25 #
26
27 # generic variables:
28 #
29 include ./$(depth)/make/Variables.make 
30 #
31
32 # descent order into subdirectories:
33 #
34 SUBDIRS = include
35 #
36
37 # to be remade each build:
38 #
39 VERSION_DEPENDENCY = $(lily-version)
40 #
41
42 # list of c++ header files:
43
44 HHFILES = # $(shell ls include/*.hh)
45 #
46
47 # list of c++ source files:
48 #
49 CCFILES = $(shell ls *.cc)
50 #
51
52 # list of other source files:
53 #
54 EXTRA_SOURCE_FILES = # $(shell ls *.y *.l)
55 #
56
57 # list of distribution files:
58 #
59 DISTFILES = Makefile $(HHFILES) $(CCFILES) $(EXTRA_SOURCE_FILES)
60 #
61
62 # list of custom libraries:
63 #
64 # yes, i know about the -L and -l options,
65 # but these libraries get rebuild when needed.
66 CUSTOMLIBES = \
67
68 LOADLIBES +=
69 #
70
71 # main target of this module:
72
73 # MAINTARGET = $(EXECUTABLE)
74 # MAINTARGET = $(LIBRARY)
75 # MAINTARGET = $(bindir)/$(EXECUTABLE)# huh?
76 MAINTARGET = $(libdir)/$(LIBRARY)# huh?
77
78 default: $(MAINTARGET)
79 #
80
81 # generic targets and rules:
82 #
83 include ./$(depth)/make/Targets.make
84 include ./$(depth)/make/Rules.make
85 #
86
87 # auto dependencies:
88 #
89 -include ./$(outdir)/*.dep
90 #
91