]> git.donarmstrong.com Git - lilypond.git/blob - flower/Makefile
c970266bd6440c2d1f9f3caf00e0a81cda864612
[lilypond.git] / flower / Makefile
1 #
2 # project  FlowerSoft C++ library
3 # title    top level makefile for FlowerLib
4 # file     flower/Makefile
5 #
6 # Copyright (c) 1997 by    
7 #       Jan Nieuwenhuizen <jan@digicash.com>
8 #       Han-Wen Nienhuys <hanwen@stack.nl>
9 #               ...your sort order here, or how to comment-out a comment
10
11 # subdir level:
12 #
13 depth = ..
14 #
15
16 # identify module:
17 #
18 NAME = flower
19 MODULE_NAME = flower
20 SUBDIRS = include 
21 #
22
23 # list of distribution files:
24 #
25 SCRIPTS = 
26 README_FILES = ONEWS NEWS README TODO
27 EXTRA_DISTFILES= VERSION $(README_FILES) $(SCRIPTS)
28
29 include ./$(depth)/VERSION
30 include ./$(depth)/flower/VERSION
31
32 include ./$(depth)/make/Variables.make
33 include ./$(depth)/make/Files.make 
34 include ./$(depth)/make/Targets.make
35 include ./$(depth)/make/Rules.make
36
37 default: the-lib
38
39 THE_LIB=$(outdir)/$(LIB_PREFIX)flower$(LIB_SUFFIX)
40 the-lib: $(THE_LIB) 
41
42 # version:
43 #
44
45 localdist: 
46
47 -include /dev/null $(DEPFILES)
48 #
49
50 localdistclean:
51         rm -f config.cache config.status config.log
52
53 localinstall: $(LIBFLOWER)
54 ifeq ($(LIB_SUFFIX),.so)
55         $(INSTALL) -d $(libdir)
56         $(INSTALL) $(LIBFLOWER).$(VERSION) $(libdir)
57         ln -s $(LIB_PREFIX)flower$(LIB_SUFFIX).$(VERSION) $(libdir)/$(LIB_PREFIX)flower$(LIB_SUFFIX).$(MAJOR_VERSION)
58         ln -s $(LIB_PREFIX)flower$(LIB_SUFFIX).$(VERSION) $(libdir)/$(LIB_PREFIX)flower$(LIB_SUFFIX)
59 endif
60
61 localuninstall:
62         rm -f $(libdir)/libflower.{so*,a}
63
64
65 $(outdir)/flower-version.o: $(outdir)/version.hh