]> git.donarmstrong.com Git - lilypond.git/blob - flower/Makefile
release: 0.1.57
[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 #
21 # edit VERSION only
22 include ./$(depth)/VERSION
23 include ./$(depth)/flower/VERSION
24
25 # generic variables:
26 #
27 include ./$(depth)/make/Variables.make
28 include ./$(depth)/make/Files.make 
29
30 #include $(flowerout)/Flower-flags.make
31
32
33 #
34 # descent order into subdirectories:
35 #
36 SUBDIRS = include 
37 #
38
39 # list of distribution files:
40 #
41 SCRIPTS = 
42 README_FILES = ONEWS NEWS README TODO
43 EXTRA_DISTFILES= VERSION $(README_FILES) $(SCRIPTS)
44 #Flower-flags.make.in
45 # aclocal.m4 configure config.hh.in configure.in
46
47
48
49
50 # generic targets and rules:
51 #
52 include ./$(depth)/make/Targets.make
53 include ./$(depth)/make/Rules.make
54 #
55
56 default: the-lib
57
58 THE_LIB=$(outdir)/$(LIB_PREFIX)flower$(LIB_SUFFIX)
59 the-lib: $(THE_LIB) 
60
61 # version:
62 #
63
64 localdist: 
65
66 -include /dev/null $(DEPFILES)
67 #
68
69 localdistclean:
70         rm -f config.cache config.status config.log
71
72 localinstall: $(LIBFLOWER)
73 ifeq ($(LIB_SUFFIX),.so)
74         $(INSTALL) -d $(libdir)
75         $(INSTALL) $(LIBFLOWER).$(VERSION) $(libdir)
76         ln -s $(LIB_PREFIX)flower$(LIB_SUFFIX).$(VERSION) $(libdir)/$(LIB_PREFIX)flower$(LIB_SUFFIX).$(MAJOR_VERSION)
77         ln -s $(LIB_PREFIX)flower$(LIB_SUFFIX).$(VERSION) $(libdir)/$(LIB_PREFIX)flower$(LIB_SUFFIX)
78 endif
79
80 localuninstall:
81         rm -f $(libdir)/libflower.{so*,a}
82
83
84 $(outdir)/flower-version.o: $(outdir)/version.hh