# flower/lib/include/Makefile
-# subdir level:
-#
depth = ../..
-#
-# generic stuff/Makefile
-#
-include ./$(depth)/make/Include.make
-include ./$(depth)/flower/VERSION
+include $(depth)/make/Stepmake.make
+include $(stepdir)/C++.make
-# identify module:
-#
-MODULE_NAME = flower
-
-
-#
# lib/include/Makefile
-# subdir level:
-#
depth = ../..
-#
-# identify module:
-#
-MODULE_NAME = lilypond
-
-# generic stuff/Makefile
-#
-
-include ./$(depth)/make/Include.make
+include $(depth)/make/Stepmake.make
+include $(stepdir)/C++.make
# lib/include/Makefile
-# subdir level:
-#
depth = ../..
-#
-# identify module:
-#
-MODULE_NAME = lilypond
-#
-
-# generic stuff/Makefile
-#
-include ./$(depth)/make/Include.make
-#
+include $(depth)/make/Stepmake.make
+include $(stepdir)/C++.make
--- /dev/null
+
+# added two warnings that are treated by cygwin32's gcc 2.7.2 as errors.
+# huh, but still, no warnings even provoced with linux's gcc 2.7.2.1?
+
+# -pipe makes it go faster, but is not supported on all platforms.
+# EXTRA_CXXFLAGS= -Wall -Winline -W -Wmissing-prototypes -Wmissing-declarations -Wconversion
+EXTRA_CXXFLAGS= -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wconversion
+
+
+CXXFLAGS = $(ICFLAGS) $(DEFINES) $(INCLUDES) $(USER_CFLAGS) $(EXTRA_CFLAGS) $(MODULE_CFLAGS) $(USER_CXXFLAGS) $(EXTRA_CXXFLAGS) $(MODULE_CXXFLAGS)
+CXX_OUTPUT_OPTION = $< -o $@
+DO_CXX_COMPILE=$(DODEP) $(CXX) -c $(CXXFLAGS) $(CXX_OUTPUT_OPTION)
+
+
--- /dev/null
+
+LIBINTL=$(outdir)/libintl.a
+check-lib-intl:
+ $(MAKE) -C $(depth)/intl lib
+
+include $(stepdir)/C.make
+
--- /dev/null
+# title generic make rules
+# file make/Rules.make
+
+# this is supposed to clear all suffixes:
+.SUFFIXES:
+
+$(outdir)/%: %.m4
+ $(M4) $< > $@
+
+%.dep:
+ touch $@
+
+%.gz: %
+ gzip -c9 $< > $@
+
+# bit docrules, these...
+$(outdir)/%.dvi: $(outdir)/%.tex
+ (cd $(outdir); tex \\nonstopmode \\input $(<F))
+
+$(outdir)/%.dvi: $(outdir)/%.latex
+ (cd $(outdir); \
+ latex \\nonstopmode \\input $(<F);\
+ bibtex $(basename $(<F));\
+ latex \\nonstopmode \\input $(<F);\
+ latex \\nonstopmode \\input $(<F);\
+ )
+
+$(outdir)/%.ps: $(outdir)/%.dvi
+ dvips -ta4 -o $@ $<
+
+
+# hmm, always include these, or include via package/make/Rules.make?
+include $(stepdir)/Substitute.make
+include $(make-dir)/Rules.make
+
+$(outdir)/%: %.in
+ rm -f $@
+ cat $< | $(sed-atfiles) | $(sed-atvariables) > $@
+