lilypond-0.0.39
[lilypond.git] / lib / Makefile
blob7da9879256ac029c38e12701bc7c39ef9a441e01
2 # project LilyPond -- the musical typesetter
3 # title makefile for micro-lily-lib
4 # file lib/Makefile
6 # Copyright (c) 1997 by
7 # Jan Nieuwenhuizen <jan@digicash.com>
8 # Han-Wen Nienhuys <hanwen@stack.nl>
11 # subdir level:
13 depth = ..
16 # identify module:
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
27 # generic variables:
29 include ./$(depth)/make/Variables.make
32 # descent order into subdirectories:
34 SUBDIRS = include
37 # to be remade each build:
39 VERSION_DEPENDENCY = $(lily-version)
42 # list of c++ header files:
44 HHFILES = # $(shell ls include/*.hh)
47 # list of c++ source files:
49 CCFILES = $(shell ls *.cc)
52 # list of other source files:
54 EXTRA_SOURCE_FILES = # $(shell ls *.y *.l)
57 # list of distribution files:
59 DISTFILES = Makefile $(HHFILES) $(CCFILES) $(EXTRA_SOURCE_FILES)
62 # list of custom libraries:
64 # yes, i know about the -L and -l options,
65 # but these libraries get rebuild when needed.
66 CUSTOMLIBES = \
68 LOADLIBES +=
71 # main target of this module:
73 # MAINTARGET = $(EXECUTABLE)
74 # MAINTARGET = $(LIBRARY)
75 # MAINTARGET = $(bindir)/$(EXECUTABLE)# huh?
76 MAINTARGET = $(libdir)/$(LIBRARY)# huh?
78 default: $(MAINTARGET)
81 # generic targets and rules:
83 include ./$(depth)/make/Targets.make
84 include ./$(depth)/make/Rules.make
87 # auto dependencies:
89 -include ./$(outdir)/*.dep