]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/Makefile
release: 0.0.45
[lilypond.git] / flower / Makefile
index 779f1e5b82f04d8cd6b13e07411df3e2f6662f5d..3e04a983620e7c52e6b854e2ff2825a791885eb8 100644 (file)
@@ -1,51 +1,57 @@
-include Variables.make
-
-$(staticlib): $(obs) fversion.hh
-       $(AR) cr libflower.a $(obs)
-
-include deps/*.dep
-
-deps/*.dep:
-       touch deps/dummy.dep
-
-depend: Sources.make
-       $(CXX) $(CXXFLAGS) -MM $(cc) > depend
-
-
-$(OBJECTDIR)/%.o: $(CCDIR)/%.cc
-       $(DODEP)\
-       $(CXX) -c $(CXXFLAGS) $(OUTPUT_OPTION) 
-
-
-clean:
-       rm -f $(obs) $(staticlib) fversion.hh
-
-realclean: clean
-       rm -f depend
-
-fversion.hh: Variables.make make_version
-       make_version $(MAJVER) $(MINVER) $(PATCHLEVEL) "$(CXX) `$(CXXVER)`" > $@
-
-.PHONY: docxx
-docxx: $(hh) $(cc) $(templatecc) $(inl)
-       doc++ -p -d docxx $(hh) $(cc) $(templatecc) $(inl)
-
-dist:
-       -mkdir $(DDIR)
-       ln $(DFILES) $(DDIR)/
-       -for SUBDIR in $(SUBDIRS); \
-       do      mkdir $(DDIR)/$$SUBDIR; \
-               $(MAKE) SUBDIR=$$SUBDIR -C $$SUBDIR dist;\
-       done
-       tar cfz $(DNAME).tar.gz $(DNAME)/
-       rm -rf $(DDIR)/
-
-TAGS: $(ALLSOURCES)
-       etags -CT $(inl) $(cc) $(hh)
-
-
-
-test: stringtest
-
-stringtest: $(OBJECTDIR)/stringtest.o 
-       g++ -o $@ $< -L. -lflower
\ No newline at end of file
+#
+# 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)
+#