-MAJVER=1
-MINVER=0
-PATCHLEVEL=2
-
-PACKAGENAME=flower
-VERSION=$(MAJVER).$(MINVER).$(PATCHLEVEL)
-DNAME=$(PACKAGENAME)-$(VERSION)
-#DEFINES=-DNDEBUG
-CXXFLAGS+=$(DEFINES) -g -Wall -W -pedantic
-
-include Sources.make
-
-obs=$(cc:.cc=.o)
-staticlib=libflower.a
-$(staticlib): $(obs)
- $(AR) cr libflower.a $(obs)
-
-include depend
-
-depend: Sources.make
- $(CXX) -MM $(cc) > depend
-
-
-clean:
- rm -f $(obs) $(staticlib)
-realclean: clean
- rm -f depend
-DFILES=$(hh) $(cc) $(inl) $(templatecc) Makefile Sources.make TODO
-DDIR=$(DNAME)
-
-dist:
- -mkdir $(DDIR)
- ln $(DFILES) $(DDIR)/
- tar cfz $(DNAME).tar.gz $(DDIR)/*
- rm -rf $(DDIR)/
-TAGS:
- etags -CT $(inl) $(cc) $(hh)
-
+#
+# 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)
+#