lilypond-0.1.55
[lilypond.git] / flower / Makefile
blobc46fed65ebf02e981188f26ae75d7cbe7462d6ce
2 # project FlowerSoft C++ library
3 # title top level makefile for FlowerLib
4 # file flower/Makefile
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
11 # subdir level:
13 depth = ..
16 # identify module:
18 NAME = flower
19 MODULE_NAME = flower
21 # edit VERSION only
22 include ./$(depth)/VERSION
23 include ./$(depth)/flower/VERSION
25 # generic variables:
27 include ./$(depth)/make/Variables.make
28 include ./$(depth)/make/Files.make
30 include $(flowerout)/Flower-flags.make
34 # descent order into subdirectories:
36 SUBDIRS = include test
39 # list of distribution files:
41 SCRIPTS =
42 README_FILES = ONEWS NEWS README TODO
43 EXTRA_DISTFILES= aclocal.m4 configure config.hh.in configure.in VERSION $(README_FILES) $(SCRIPTS) Flower-flags.make.in
47 # generic targets and rules:
49 include ./$(depth)/make/Targets.make
50 include ./$(depth)/make/Rules.make
53 default: the-lib
55 THE_LIB=$(outdir)/$(LIB_PREFIX)flower$(LIB_SUFFIX)
56 the-lib: $(THE_LIB)
58 # version:
61 localdist: configure
63 -include /dev/null $(DEPFILES)
66 localdistclean:
67 rm -f config.cache config.status config.log
69 localinstall: $(LIBFLOWER)
70 ifeq ($(LIB_SUFFIX),.so)
71 $(INSTALL) -d $(libdir)
72 $(INSTALL) $(LIBFLOWER).$(VERSION) $(libdir)
73 ln -sf $(LIB_PREFIX)flower$(LIB_SUFFIX).$(VERSION) $(libdir)/$(LIB_PREFIX)flower$(LIB_SUFFIX).$(MAJOR_VERSION)
74 ln -sf $(LIB_PREFIX)flower$(LIB_SUFFIX).$(VERSION) $(libdir)/$(LIB_PREFIX)flower$(LIB_SUFFIX)
75 endif
77 localuninstall:
78 rm -f $(libdir)/libflower.{so*,a}
81 $(outdir)/flower-version.o: $(outdir)/version.hh