]> git.donarmstrong.com Git - lilypond.git/blob - lib/Makefile
release: 0.0.42
[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 # generic variables:
17 #
18 include ./$(depth)/make/Variables.make 
19 #
20
21 # identify module:
22 #
23 NAME = lily
24 MAJOR_VERSION = $(TOPLEVEL_MAJOR_VERSION)
25 MINOR_VERSION = $(TOPLEVEL_MINOR_VERSION)
26 PATCH_LEVEL = $(TOPLEVEL_PATCH_LEVEL)
27 # use to send patches, always empty for released version:
28 MY_PATCH_LEVEL = $(TOPLEVEL_MY_PATCH_LEVEL)
29 build = $(lily-dir)/$(outdir)/.build
30 #
31
32 # descent order into subdirectories:
33 #
34 SUBDIRS = include
35 #
36
37 # to be remade each build:
38 #
39 VERSION_DEPENDENCY =#
40 #
41
42 # list of c++ header files:
43
44 HHFILES = $(shell ls *.hh $(ERROR_LOG))
45 #
46
47 # list of c++ source files:
48 #
49 CCFILES = $(shell ls *.cc $(ERROR_LOG))
50 #
51
52 # list of other source files:
53 #
54 EXTRA_SOURCE_FILES = # $(shell ls *.y *.l $(ERROR_LOG))
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 # list of depend files:
88 #
89 DEPFILES = $(shell ls $(depdir)/*.dep $(ERROR_LOG))
90 #
91
92 # auto dependencies:
93 #
94 -include $(DEPFILES)
95 #
96