]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/Makefile
release: 0.0.45
[lilypond.git] / flower / Makefile
index 5fb4f2a5b66257150c389ba630c9a751d5794521..3e04a983620e7c52e6b854e2ff2825a791885eb8 100644 (file)
@@ -1,43 +1,57 @@
-MAJVER=1
-MINVER=0
-PATCHLEVEL=1
-
-PACKAGENAME=flower
-VERSION=$(MAJVER).$(MINVER).$(PATCHLEVEL)
-DNAME=$(PACKAGENAME)-$(VERSION)
-CXXFLAGS+=-g -Wall
-
-cc=lgetopt.cc   string.cc dataf.cc textdb.cc unionfind.cc 
-
-templatecc=cursor.cc list.cc 
-inl=findcurs.inl link.inl list.inl
-hh=cursor.hh cursor.inl lgetopt.hh link.hh list.hh \
-       string.hh stringutil.hh vray.hh textdb.hh textstr.hh  assoc.hh\
-       findcurs.hh unionfind.hh compare.hh handle.hh
-
-
-
-obs=$(cc:.cc=.o)
-staticlib=libflower.a
-$(staticlib): $(obs)
-       ar cr libflower.a $(obs)
-
-include depend
-
-depend: Makefile
-       $(CXX) -MM $(cc) > depend
-
-
-clean:
-       rm depend $(obs) $(staticlib)
-
-DFILES=$(hh) $(cc) $(inl) $(templatecc) Makefile
-DDIR=$(DNAME)
-
-dist:
-       -mkdir $(DDIR)
-       ln $(DFILES) $(DDIR)/
-       tar cfz $(DNAME).tar.gz $(DDIR)/*
-       rm -rf $(DDIR)/
-
-       
+#
+# project  FlowerSoft C++ library
+# title           top level makefile for FlowerLib
+# file    flower/Makefile
+#
+# Copyright (c) 1997 by    
+#      Jan Nieuwenhuizen <jan@digicash.com>
+#      Han-Wen Nienhuys <hanwen@stack.nl>
+#              ...your sort order here, or how to comment-out a comment
+
+# subdir level:
+#
+depth = ..
+#
+
+# identify module:
+#
+NAME = flower
+MODULE_NAME = flower
+#
+# edit .version only
+include ./$(depth)/.version
+include ./$(depth)/flower/.version
+
+# generic variables:
+#
+include ./$(depth)/make/Variables.make
+include ./$(depth)/make/Files.make 
+
+#
+CXXFLAGS+=-O2
+# descent order into subdirectories:
+#
+SUBDIRS = include test 
+#
+
+# list of distribution files:
+#
+SCRIPTS = 
+README_FILES = NEWS README TODO
+EXTRA_DISTFILES= configure config.hh.in configure.in .version $(README_FILES) $(SCRIPTS)
+#
+
+
+# generic targets and rules:
+#
+include ./$(depth)/make/Targets.make
+include ./$(depth)/make/Rules.make
+#
+
+# version:
+#
+
+localdist: configure
+
+-include /dev/null $(DEPFILES)
+#