]> git.donarmstrong.com Git - lilypond.git/blob - flower/lib/Makefile
0c1d299dca9f0ab605c6abbe2113f4b6413afb41
[lilypond.git] / flower / 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 = flower
24 MODULE_NAME = flower
25 include ./$(depth)/flower/.version
26 build = ./$(depth)/flower/$(outdir)/.build
27 #
28
29 # descent order into subdirectories:
30 #
31 SUBDIRS = include 
32 #
33
34 # to be remade each build:
35 #
36 VERSION_DEPENDENCY =#
37 #
38
39 # list of c++ header files:
40
41 HHFILES = $(shell ls *.hh $(ERROR_LOG))
42 #
43
44 # list of c++ source files:
45 #
46 CCFILES = $(shell ls *.cc $(ERROR_LOG))
47 #
48
49 # list of other source files:
50 #
51 EXTRA_SOURCE_FILES = $(shell ls *.y *.l $(ERROR_LOG))
52 #
53
54 # list of distribution files:
55 #
56 DISTFILES = Makefile $(HHFILES) $(CCFILES) $(EXTRA_SOURCE_FILES)
57 #
58
59 # list of custom libraries:
60 #
61 # yes, i know about the -L and -l options,
62 # but these libraries get rebuild when needed.
63 CUSTOMLIBES = \
64
65 LOADLIBES +=
66 #
67
68 # main target of this module:
69 #
70 # MAINTARGET = $(EXECUTABLE)
71 # MAINTARGET = $(LIBRARY)
72 # MAINTARGET = $(bindir)/$(EXECUTABLE)# huh?
73 MAINTARGET = $(libdir)/$(LIBRARY)# huh?
74
75 default: $(MAINTARGET)
76 #
77
78 # # sic.
79 # $(include-flower)/flower-config.hh:
80 #       touch $@
81
82 # generic targets and rules:
83 #
84 include ./$(depth)/make/Targets.make
85 include ./$(depth)/make/Rules.make
86 #
87
88 # list of depend files:
89 #
90 DEPFILES = $(shell ls $(depdir)/*.dep $(ERROR_LOG))
91 #
92
93 # auto dependencies:
94 #
95 -include /dev/null $(DEPFILES)
96 #
97