--- /dev/null
+depth = ../..
+
+STEPMAKE_TEMPLATES=documentation
+XPM_FILES=$(wildcard *.xpm)
+OUTGIF_FILES = $(addprefix $(outdir)/,$(XPM_FILES:.xpm=.gif))
+
+EXTRA_DIST_FILES= $(XPM_FILES)
+
+include $(depth)/make/stepmake.make
+
+gifs: $(OUTGIF_FILES)
+
+local-WWW: $(OUTGIF_FILES)
+
+icon: $(outdir)/lelie_icon.gif
+ cp $< $(depth)/$(outdir)/$(package)-icon.gif
--- /dev/null
+# bin/Makefile
+
+depth = ..
+STEPMAKE_TEMPLATES=script
+
+include $(depth)/make/stepmake.make
+
+
+
+
+
+
--- /dev/null
+# debian/Makefile
+
+depth = ..
+
+NAME= debian
+BLURBS=BLURB
+AT_FILES = $(BLURBS) #
+at-dir = $(outdir)/
+at-ext =
+
+EXTRA_DIST_FILES = README.Debian TODO $(CONF_FILES) $(OUT_DIST_FILES) control.foka
+CONF_FILES=changelog copyright postinst postrm rules watch
+OUTCONF_FILES=$(addprefix $(outdir)/, $(basename $(CONF_FILES))) $(OUTIN_FILES)
+OUT_DIST_FILES = $(OUTIN_FILES)
+
+STEPMAKE_TEMPLATES = yolily-debian
+include $(depth)/make/stepmake.make
+
--- /dev/null
+# title top level makefile for FlowerLib
+# file flower/Makefile
+
+# should reinstate versioning if shared libs are enabled.
+
+depth = ..
+
+NAME = flower
+MODULE_NAME = flower
+SUBDIRS = include
+
+SCRIPTS =
+README_FILES = NEWS-1.0 NEWS-1.1.46 README TODO
+EXTRA_DIST_FILES= VERSION $(README_FILES) $(SCRIPTS)
+STEPMAKE_TEMPLATES=library c++
+
+
+
+include $(depth)/make/stepmake.make
+
+foo:
+ echo $(DIST_FILES) $(O_FILES) $(OBJECT_FILES)
+
--- /dev/null
+# flower/lib/include/Makefile
+
+depth = ../..
+
+STEPMAKE_TEMPLATES=c++
+
+include $(depth)/make/stepmake.make
+
+
--- /dev/null
+# init/Makefile
+
+depth = ..
+
+INI_FILES = $(FLY_FILES) $(LY_FILES)
+# DIST_FILES = Makefile $(INI_FILES)
+
+INSTALLATION_DIR=$(datadir)
+INSTALLATION_FILES=$(INI_FILES)
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/make/stepmake.make
+
+
+include $(stepdir)/installfiles.make
+
--- /dev/null
+# input/Makefile
+
+depth = ..
+
+SUBDIRS=test bugs
+
+examples=example-3 twinkle-pop praeludium-fuga-E twinkle
+flexamples=example-1 example-2
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+
+include $(depth)/make/stepmake.make
+
+local-check: $(addsuffix .dvi, $(addprefix $(outdir)/, $(examples)))
+
--- /dev/null
+# input/bugs/Makefile
+
+depth = ../..
+
+LOCALSTEPMAKE_TEMPLATES=mutopia
+include $(depth)/make/stepmake.make
+
+
--- /dev/null
+# input/test/Makefile
+
+depth = ../..
+examples=font20 hara-kiri grace mark denneboom
+LOCALSTEPMAKE_TEMPLATES=mutopia
+
+include $(depth)/make/stepmake.make
+
.c.o:
$(COMPILE) $<
-INCLUDES = -I.. -I. -I$(top_srcdir)/intl -I$(top_srcdir)/lib
+INCLUDEs = -i.. -i. -i$(top_srcdir)/intl -i$(top_srcdir)/lib
all: libintl.a
--- /dev/null
+# lib/Makefile
+
+depth = ..
+
+NAME = lily
+SUBDIRS = include
+# MODULE_LIBS= $(depth)/flower
+MODULE_CXXFLAGS += -D_REENTRANT
+STEPMAKE_TEMPLATES=library c++
+
+include $(depth)/make/stepmake.make
+
+
--- /dev/null
+# lib/include/Makefile
+
+depth = ../..
+STEPMAKE_TEMPLATES=c++
+
+include $(depth)/make/stepmake.make
+
+
+
--- /dev/null
+# lily/include/Makefile
+
+depth = ../..
+STEPMAKE_TEMPLATES=c++
+
+include $(depth)/make/stepmake.make
+
+
--- /dev/null
+# Docrules.make
+
+include $(make-dir)/mudela_rules.make
--- /dev/null
+# title package specific targets
+# file make/Targets.make
--- /dev/null
+# title package specific variables
+# file make/Variables.make
+#
+# do not change this file for site-wide extensions; please use
+# make/$(outdir)/Site.make;
+#
+# Any change in files in this directory (make/) would be distributed, if
+# you do make dist
+#
+
+buildscripts = $(depth)/buildscripts
+
+
+flower-dir = $(depth)/flower
+lib-dir = $(depth)/lib
+lily-dir = $(depth)/lily
+mi2mu-dir = $(depth)/mi2mu
+make-dir = $(depth)/make
+include-lib = $(depth)/lib/include
+include-flower = $(depth)/flower/include
+
+
+
+LILYPOND_INCLUDES = $(include-lib) $(depth)/lib/$(outdir) $(include-flower) $(depth)/flower/$(outdir)
+
+
+# should use to create .spec ?
+
+# installed by 'make installextradoc'
+EXTRA_DOC_FILES = \
+ ANNOUNCEMENT ANNOUNCE-0.1 AUTHORS.txt BUGS COPYING DEDICATION INSTALL.txt NEWS PATCHES.txt README.txt TODO \
+ Documentation/out/*.txt\
+ Documentation/tex/*.doc\
+ Documentation/tex/*.bib\
+ Documentation/pictures/out/lelie_logo.gif\
+ input\
+ mutopia\
+
+INSTALLED_EXTRA_DOC_FILES = $(addprefix $(prefix:/%=%)/doc/lilypond/, $(EXTRA_DOC_FILES))
+
+# installed by 'make install'
+INSTALL_DIST_FILES = \
+ bin/convert-mudela\
+ bin/mudela-book\
+ bin/ly2dvi\
+ bin/lilypond$(DOTEXE)\
+ bin/mi2mu$(DOTEXE)\
+ info/lilypond.info\
+ man/man1/mi2mu.1\
+ man/man1/lilypond.1\
+ man/man1/mudela-book.1\
+ man/man1/ly2dvi.1\
+ man/man1/convert-mudela.1\
+ lib/texmf/texmf/tex/lilypond\
+ lib/texmf/texmf/fonts/source/public/lilypond\
+ share/lilypond/\
+ share/locale/*/LC_MESSAGES/lilypond.mo\
+
+
+INSTALLED_DIST_FILES = $(addprefix $(prefix:/%=%)/, $(INSTALL_DIST_FILES))
+
--- /dev/null
+# -*-Makefile-*-
+# title specific top level makefile for LilyPond
+
+# subdir level:
+#
+depth = .
+#
+
+# descent order into subdirectories:
+#
+SUBDIRS = scripts buildscripts flower lib lily mf mi2mu po debian \
+ Documentation init input tex make mutopia test intl stepmake
+#
+
+SCRIPTS = configure aclocal.m4
+README_FILES = BUGS DEDICATION ANNOUNCE-0.1 ANNOUNCEMENT \
+ COPYING NEWS-0.1 NEWS-0.0 NEWS TODO
+README_TXT_FILES = README.txt AUTHORS.txt INSTALL.txt PATCHES.txt
+IN_FILES := $(wildcard *.in)
+EXTRA_DIST_FILES = dstreamrc mudela-mode.el vimrc VERSION $(README_FILES) $(SCRIPTS) $(IN_FILES)
+NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES)
+
+# bootstrap stepmake:
+#
+STEPMAKE_TEMPLATES=toplevel yolily-toplevel
+include $(depth)/make/stepmake.make
+#
+
+website: examples htmldoc doc++
+
+examples:
+ $(MAKE) CONFIGSUFFIX='www' -C input WWW
+ $(MAKE) CONFIGSUFFIX='www' -C mutopia WWW
+ tar --exclude='*.dvi' --exclude='*.tex' --exclude='*.ps' -czf $(outdir)/examples.tar.gz `find input mutopia -type d -name 'out-www' -print`
+
--- /dev/null
+# title makefile for mi2mu
+# file mi2mu/Makefile
+
+depth = ..
+
+NAME = mi2mu
+MODULE_NAME = mi2mu
+
+SUBDIRS = include
+EXTRA_DIST_FILES += TODO
+MODULE_LIBS=$(depth)/lib $(depth)/flower
+
+STEPMAKE_TEMPLATES=c++ executable
+
+include $(depth)/make/stepmake.make
+
+# explicit dependencies: (how to do auto?)
+#
+midi-lexer.l: $(outdir)/midi-parser.hh
+
+
+$(outdir)/mi2mu-version.o: $(outdir)/version.hh
+
+VERSION: $(depth)/VERSION
+ cp $< $@
--- /dev/null
+# lib/include/Makefile
+
+depth = ../..
+STEPMAKE_TEMPLATES=c++
+include $(depth)/make/stepmake.make
+
--- /dev/null
+# bin/Makefile
+
+depth = ..
+SEXECUTABLES=convert-mudela mudela-book ly2dvi
+STEPMAKE_TEMPLATES=script
+
+
+include $(depth)/make/stepmake.make
+
+# include $(stepdir)/Executable_targets.make
+
+
--- /dev/null
+# Documentation/topdocs/Makefile
+
+depth = ../..
+
+SUBDIRS=
+BLURBS=BLURB #COPERTINA FLAPTEKST
+AT_FILES = $(BLURBS) #
+at-dir = $(doc-dir)/
+at-ext = .in
+BLURBS=BLURB COPERTINA FLAPTEKST
+
+STEPMAKE_TEMPLATES=documentation yolily-topdoc
+
+include $(depth)/make/stepmake.make
+
PACKAGE_NAME=StepMake
MAJOR_VERSION=0
MINOR_VERSION=1
-PATCH_LEVEL=43
+PATCH_LEVEL=45
MY_PATCH_LEVEL=
# use the above to send patches, always empty for released version:
--- /dev/null
+
+$(configheader): $(depth)/config.h
+ cp $< $@
+
--- /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) $(addprefix -I,$(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)
+
+# template files:
+TCC_FILES := $(wildcard *.tcc)
+HH_FILES := $(wildcard *.hh)
+CC_FILES := $(wildcard *.cc)
+INL_FILES := $(wildcard *.icc)
+YY_FILES := $(wildcard *.yy)
+LL_FILES := $(wildcard *.ll)
+
+SOURCE_FILES+=$(YY_FILES) $(CC_FILES) $(INL_FILES) $(TCC_FILES) $(HH_FILES) $(LL_FILES)
+O_FILES+=$(addprefix $(outdir)/, $(YY_FILES:.yy=.o) $(CC_FILES:.cc=.o) $(LL_FILES:.ll=.o))
+
+TAGS_FILES += $(TCC_FILES) $(HH_FILES) $(INL_FILES) $(CC_FILES)
+
+# hmm
+configheader=$(outdir)/config.hh
--- /dev/null
+
+# header files:
+H_FILES := $(wildcard *.h)
+C_FILES := $(wildcard *.c)
+Y_FILES := $(wildcard *.y)
+L_FILES := $(wildcard *.l)
+
+SOURCE_FILES+=$(Y_FILES) $(C_FILES) $(L_FILES) $(H_FILES)
+
+O_FILES+=$(addprefix $(outdir)/, $(Y_FILES:.y=.o) $(C_FILES:.c=.o) $(L_FILES:.l=.o))
+
+TAGS_FILES += C_FILES H_FILES
+# C/C++
+#
+
+ALL_C_SOURCES += $(H_FILES) $(C_FILES) $(Y_FILES)
+
+# compiler:
+#
+DO_C_COMPILE = $(DODEP) $(CC) -c $(CFLAGS) $(C_OUTPUT_OPTION)
+C_OUTPUT_OPTION = -o $@ $<
+
+CFLAGS = $(ICFLAGS) $(DEFINES) $(addprefix -I,$(INCLUDES)) $(USER_CFLAGS) $(EXTRA_CFLAGS) $(MODULE_CFLAGS)
+
+# hmm
+configheader=$(outdir)/config.h
--- /dev/null
+# stepmake/documentation.shared.make
+# urg: stuff shared between yodl/lily/stepmake
+
+# could/should do this for bin/Makefile make/Makefile too
+
+### below here is shared between lily/yodl/Documentation and topdocs...
+
+include $(stepdir)/documentation_vars.make
+include $(stepdir)/documentation_rules.make
--- /dev/null
+# Files.make
+
+
+
+DEP_FILES := $(wildcard $(outdir)/*.dep)
+
+# (Why not Makefile too?)
+#
+#
+
+IN_FILES := $(wildcard *.in)
+SOURCE_FILES += $(IN_FILES)
+
+# Preprocessed .in documentation _FILES:
+#
+OUTIN_FILES = $(addprefix $(outdir)/, $(IN_FILES:%.in=%))
+#
+
+ALL_SOURCES = $(SOURCE_FILES)
+
--- /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 $@ $<
+
--- /dev/null
+# Initial_outfiles.sub.make
+
+include $(depth)/make/stepmake.make
+include $(stepdir)/install_outfiles.make
+
--- /dev/null
+
+LIBINTL=$(outdir)/libintl.a
+check-lib-intl:
+ $(MAKE) -C $(depth)/intl lib
+
+include $(stepdir)/c.make
+
--- /dev/null
+
+#ugh ugh .
+ifndef LIB_SUFFIX
+LIB_SUFFIX = .a
+endif
+
+LIB_PREFIX = lib
+
+# librarian:
+#
+AR = ar
+AR_COMMAND = $(AR) $(ARFLAGS) $@
+
+# thanks to Nelson Beebe for this trick.
+RANLIB_COMMAND=$(RANLIB) $@ || $(AR) ts $@ || true
+
+# linker:
+LIBRARY = $(outdir)/library.a
+SHAREDLIBRARY=$(outdir)/$(LIB_PREFIX)$(NAME).so
--- /dev/null
+
+$(outdir)/%: %.in
+ rm -f $@
+ cat $< | $(sed-atfiles) | $(sed-atvariables) > $@
+
--- /dev/null
+# Substitute.make
+
+sed-endline = sed 's!$$!\\!'
+sed-newline = sed 's!$$!\n!'
+sed-quotes = sed "s!\'!\\\&!g"
+sed-quote-line = sed 's!.*$$!\"&\"!'
+
+date := $(shell date '+%d%b%y'|tr '[a-z]' '[A-Z]' )
+DATE = $(date)
+
+# for all FILE in AT_FILES:
+# substitute occurrences of @FILE@ with contents $(at-dir)BLA$(at-ext)
+sed-atfiles = cat $(foreach i, $(AT_FILES), \
+ | sed '/@$i@/r $(at-dir)$i$(at-ext)' | sed 's%@$i@%%g')
+
+# for all VAR in ATVARIABLES
+# substitute occurrences of @VAR@ with $(VAR)
+sed-atvariables = cat $(foreach i, $(ATVARIABLES), | sed 's!@$i@!$($i)!g')
+
+# these are obsolete
+# use ATVARIABLES
+sed-date=sed 's!@DATE@!${date}!g'
+sed-PACKAGE = sed 's!@PACKAGE@!${PACKAGE}!g'
+sed-bash = sed 's!@BASH@!$(BASH)!'
+sed-dir-datadir = sed 's!@DIR_DATADIR@!$(DIR_DATADIR)!'
+sed-package=sed 's!@package@!${package}!g'
+sed-perl = sed 's!@PERL@!$(PERL)!'
+sed-python = sed 's!@PYTHON@!$(PYTHON)!'
+sed-sh = sed 's!@SH@!$(SH)!'
+sed-shell = sed 's!@SH@!$(SHELL)!' | sed 's!@BASH@!$(BASH)!'
+sed-version= sed 's!@TOPLEVEL_VERSION@!${TOPLEVEL_VERSION}!g'
+sed-step-bindir = sed 's!@STEP_BINDIR@!$(pwd)/$(step-bindir)!'
+
--- /dev/null
+# THIS IS A TEMPLATE FOR SUB-PROJECT MAKEFILES
+# /Makefile
+
+# subdir level:
+#
+depth = ..
+#
+
+# identify module:
+#
+NAME =
+#
+
+# descent order into subdirectories:
+#
+SUBDIRS =
+#
+
+# dependencies and linkage of custom libraries:
+#
+
+MODULE_LIBES = # $(depth)/lib $(depth)/flower
+#
+
+# list of extra distribution files:
+# Makefile, C++ and pod are dist'ed automatically
+EXTRA_DIST_FILES =
+#
+
+# bootstrap stepmake:
+#
+include $(depth)/make/stepmake.make
+#
+
+# module compile settings: (not generally needed!)
+#
+EXTRA_CFLAGS =
+EXTRA_CXXFLAGS =
+EXTRA_LDFLAGS =
+#
+
+# main target of this module:
+#
+default: $(EXECUTABLE)
+# default: $(LIBRARY)
+#
+
+# EXECUTABLES=
+# include $(stepmake)/Executable.make
+
--- /dev/null
+# title makefile for test
+# test/Makefile
+
+depth = ..
+
+NAME = lily-test
+MODULE_NAME = lily-test
+
+MODULE_CXXFLAGS = -I$(depth)/flower/include -I$(depth)/flower -I$(depth)/lily/include -I$(depth)/lily
+STEPMAKE_TEMPLATES=c++
+
+include $(depth)/make/stepmake.make
+
+# default: $(EXECUTABLE)
+
+# include $(stepdir)/Executable.make
+