From 46bae45da689727269194a6aa23f6d6929b51d00 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:34:24 +0000 Subject: [PATCH] lilypond-0.0.39 --- Makefile | 115 ++++++++++++++++++++-------------------------- m2m/.version | 7 +++ m2m/Makefile | 99 +++++++++++++++++++++++++++++++++++++++ make/Include.make | 51 ++++++++++++++++++++ 4 files changed, 208 insertions(+), 64 deletions(-) create mode 100644 m2m/.version create mode 100644 m2m/Makefile create mode 100644 make/Include.make diff --git a/Makefile b/Makefile index c990a7246c..b8abfd8b66 100644 --- a/Makefile +++ b/Makefile @@ -1,65 +1,52 @@ -# Makefile -# top level makefile of LilyPond +# +# project LilyPond -- the musical typesetter +# title top level makefile for LilyPond +# file Makefile +# +# Copyright (c) 1997 by +# Jan Nieuwenhuizen +# Han-Wen Nienhuys +# ...your sort order here, or how to comment-out a comment + +# subdir level: +# +depth = . +# + +# identify module: +# +NAME = lilypond + +# edit in .version only! +MAJOR_VERSION = $(TOPLEVEL_MAJOR_VERSION) +MINOR_VERSION = $(TOPLEVEL_MINOR_VERSION) +PATCH_LEVEL = $(TOPLEVEL_PATCH_LEVEL) +# use to send patches, always empty for released version: +MY_PATCH_LEVEL = $(TOPLEVEL_MY_PATCH_LEVEL) +build = ./$(depth)/lily/.build +# + +# generic variables: +# +include ./$(depth)/make/Variables.make +# + +# descent order into subdirectories: +# +SUBDIRS = flower lib lily m2m \ + Documentation bin init input make tex +# + +# list of distribution files: +# +SYMLINKS = configure +README_FILES = ANNOUNCE COPYING INSTALL NEWS README TODO +DISTFILES= Makefile .version $(README_FILES) $(SYMLINKS) +# + +# generic targets and rules: +# +include ./$(depth)/make/Targets.make +include ./$(depth)/make/Rules.make +# -include Variables.make - -.SUFFIXES: -.SUFFIXES: .cc .o .hh .y .l .pod .txt .1 .dep - - -$(exe): $(obs) - $(STRIPDEBUG) $(STABLEOBS) - $(LINKER) -o $@ $^ $(LOADLIBES) - -$(m2m): $(m2mobs) - $(LINKER) -o $@ $^ $(LOADLIBES) - -.PHONY: clean docxx - -clean: - rm -f $(allexe) $(DOCDIR)/* core $(allobs) - for SUBDIR in $(SUBDIRS); \ - do \ - $(MAKE) SUBDIR=$$SUBDIR -C $$SUBDIR clean;\ - done - -distclean: clean - rm -f version.hh $(gencc) .GENERATE *~ $(ALLDEPS) - -all: $(exe) $(m2m) doc - -# value of $(OSTYPE) on windhoos; "make $OSTYPE" if you use bash :-) -win32: - $(MAKE) -C . CXX=g++ - -doc: - $(MAKE) -C Documentation doc - -# doc++ documentation of classes -docxx: $(progdocs) - doc++ -kp -d $(DOCDIR) $^ - - -include $(DEPDIR)/*.dep - -$(OBJECTDIR)/%.o: $(CCDIR)/%.cc - $(DODEP)\ - $(CXX) -c $(CXXFLAGS) $(OUTPUT_OPTION) - -$(OBJECTDIR)/version.o: $(obs) $(HEADERDIR)/version.hh - -include Generate.make - -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: - $(MAKE) -C $(HEADERDIR) TAGS - $(MAKE) -C $(CCDIR) TAGS diff --git a/m2m/.version b/m2m/.version new file mode 100644 index 0000000000..d04b0e030a --- /dev/null +++ b/m2m/.version @@ -0,0 +1,7 @@ +# not currently used +MAJOR_VERSION = 0 +MINOR_VERSION = 0 +PATCH_LEVEL = 1 +# use to send patches, always empty for released version: +MY_PATCH_LEVEL = # +# diff --git a/m2m/Makefile b/m2m/Makefile new file mode 100644 index 0000000000..789bf17a2e --- /dev/null +++ b/m2m/Makefile @@ -0,0 +1,99 @@ +# +# project LilyPond -- the musical typesetter +# title makefile for m2m +# file m2m/Makefile +# +# Copyright (c) 1997 by +# Jan Nieuwenhuizen +# Han-Wen Nienhuys +# + +# subdir level: +# +depth = .. +# + +# identify module: +# +NAME = m2m +MODULE_NAME = m2m +MAJOR_VERSION = $(TOPLEVEL_MAJOR_VERSION) +MINOR_VERSION = $(TOPLEVEL_MINOR_VERSION) +PATCH_LEVEL = $(TOPLEVEL_PATCH_LEVEL) +# use to send patches, always empty for released version: +MY_PATCH_LEVEL = $(TOPLEVEL_MY_PATCH_LEVEL) +# include ./$(depth)/m2m/.version +build = ./$(depth)/lily/.build +# + +# generic variables: +# +include ./$(depth)/make/Variables.make +# + +# descent order into subdirectories: +# +SUBDIRS = include +# + +# to be remade each build: +# +VERSION_DEPENDENCY = $(lily-version) +# + +# list of c++ header files: +# +HHFILES = # $(shell ls include/*.hh) +# + +# list of c++ source files: +# +CCFILES = $(shell ls *.cc) +# + +# list of other source files: +# +EXTRA_SOURCE_FILES = $(shell ls *.y *.l) +# + +# list of distribution files: +# +DISTFILES = Makefile .version $(HHFILES) $(CCFILES) $(EXTRA_SOURCE_FILES) +# + +# list of custom libraries: +# +# yes, i know about the -L and -l options, +# but these libraries get rebuild when needed. +CUSTOMLIBES = $(LIBLILY) $(LIBFLOWER) + +LOADLIBES += +# + +# main target of this module: +# +# MAINTARGET = $(EXECUTABLE) +# MAINTARGET = $(LIBRARY) +MAINTARGET = $(bindir)/$(EXECUTABLE)# huh? +# MAINTARGET = $(libdir)/$(LIBRARY)# huh? + +default: $(MAINTARGET) +# + +# generic targets and rules: +# +include ./$(depth)/make/Targets.make +include ./$(depth)/make/Rules.make +# + +# explicit dependencies: (how to do auto?) +# +midi-lexer.l: $(outdir)/midi-parser.hh +midi-main.cc: check-flower-version $(lily-version) +# + +# auto dependencies: +# +-include ./$(outdir)/*.dep +# + diff --git a/make/Include.make b/make/Include.make new file mode 100644 index 0000000000..987b1fa264 --- /dev/null +++ b/make/Include.make @@ -0,0 +1,51 @@ +# +# project LilyPond -- the musical typesetter +# title generic red tape for include/Makefile +# file make/Include.make +# +# Copyright (c) 1997 by +# Jan Nieuwenhuizen +# Han-Wen Nienhuys + +# identify module: +# +NAME = generic-include +MAJOR_VERSION = $(TOPLEVEL_MAJOR_VERSION) +MINOR_VERSION = $(TOPLEVEL_MINOR_VERSION) +PATCH_LEVEL = $(TOPLEVEL_PATCH_LEVEL) +# use to send patches, always empty for released version: +MY_PATCH_LEVEL = $(TOPLEVEL_MY_PATCH_LEVEL) +build = ./$(depth)/lily/.build +# + +# generic variables: +# +include ./$(depth)/make/Variables.make +# + +# list of c++ header files: +# +HHFILES = $(shell ls *.hh) +# + +# list of c++ inline files: +# +INLFILES = $(shell ls *.inl) +# + +# list of c++ template files: +# +TCCFILES = $(shell ls *.tcc) +# + +# list of distribution files: +# +DISTFILES = Makefile $(HHFILES) $(INLFILES) $(TCCFILES) +# + +# generic targets and rules: +# +include ./$(depth)/make/Targets.make +include ./$(depth)/make/Rules.make +# + -- 2.39.5