From: fred Date: Sun, 24 Mar 2002 19:34:21 +0000 (+0000) Subject: lilypond-0.0.39 X-Git-Tag: release/1.5.59~5242 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9384521b4f88ef28ca02d1976c1115a5370c2226;p=lilypond.git lilypond-0.0.39 --- diff --git a/Documentation/Makefile b/Documentation/Makefile index 0dc97f7dbe..e95293e314 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -1,30 +1,53 @@ -PODS=README.pod CodingStyle.pod lilygut.pod lilyinput.pod error.pod\ - faq.pod index.pod language.pod -TXTS=$(PODS:.pod=.txt) -MANS=$(PODS:.pod=.1) -HTMLS=$(PODS:.pod=.html) -DISTFILES=$(PODS) Makefile lelie_logo.png make_website - - -default: - $(MAKE) -C .. doc - -doc: $(TXTS) - -dist: - ln $(DISTFILES) $(DDIR)/$(SUBDIR) -clean: - rm -f $(TXTS) $(MANS) - -%.txt: %.1 - groff -man -Tascii $< > $@ - -%.1: %.pod - pod2man --center="LilyPond documentation" --section="0"\ - --release="LilyPond $(MAJVER).$(MINVER).$(PATCHLEVEL)" $< > $@ +# Documentation/Makefile + +# subdir level: +# +depth = .. +# + +# identify module: +# +NAME = Documentation +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 source files: +# +PODFILES = $(shell ls *.pod) +OUTPODFILES = $(patsubst %,$(outdir)/%,$(PODFILES)) +TEXTFILES = $(OUTPODFILES:.pod=.text) +MANFILES = $(OUTPODFILES:.pod=.1) +HTMLFILES = $(OUTPODFILES:.pod=.html) +# + +# list of distribution files: +# +DISTFILES = $(PODFILES) Makefile lelie_logo.png +# + +default: do-doc + +do-doc: $(TEXTFILES) html: $(pod) pod2html htmldist: html - make_website + ./$(bindir)/make_website + +# generic targets and rules: +# +include ./$(depth)/make/Targets.make +include ./$(depth)/make/Rules.make +# + diff --git a/init/Makefile b/init/Makefile index 83a2e5b9ae..ff8dd8efad 100644 --- a/init/Makefile +++ b/init/Makefile @@ -1,8 +1,20 @@ -DFILES=dutch.ini table_sixteen.ini table_twenty.ini\ - english.ini script.ini symbol.ini bare.ini swedish.ini +# init/Makefile -default: - echo huh? +# subdir level: +# +depth = .. +# + +build = ./$(depth)/lily/.build + +# generic stuff/Makefile +# +include ./$(depth)/make/Stuff.make +# + +# list of distribution files: +# +INIFILES = $(shell ls *.ini) +DISTFILES = Makefile $(INIFILES) +# -dist: - ln Makefile $(DFILES) $(DDIR)/$(INITDIR) diff --git a/input/Makefile b/input/Makefile index 47e58f972d..618e1ec24a 100644 --- a/input/Makefile +++ b/input/Makefile @@ -1,15 +1,21 @@ -default: ; +# input/Makefile -DISTFILES=Makefile kortjakje.ly maartje.ly\ - cadenza.ly scales.ly standchen.ly twinkle.ly\ - wohltemperirt.ly\ - error.ly midi.ly plet.ly\ - martien.ly mlalt.ly mlvio1.ly mlvio2.ly mlcello.ly\ - coriolan-alto.ly rhythm.ly \ - standchen.tex scsii-menuetto.tex scsii-menuetto.ly\ - martien.tex\ - pre1.midi.ly fugue1.midi.ly +# subdir level: +# +depth = .. +# +build = ./$(depth)/lily/.build + +# generic stuff/Makefile +# +include ./$(depth)/make/Stuff.make +# + +# list of distribution files: +# +LYFILES = $(shell ls *.ly) +TEXFILES = $(shell ls *.tex) +DISTFILES = Makefile $(LYFILES) $(TEXFILES) +# -dist: - ln $(DISTFILES) $(DDIR)/$(SUBDIR) diff --git a/lib/Makefile b/lib/Makefile new file mode 100644 index 0000000000..7da9879256 --- /dev/null +++ b/lib/Makefile @@ -0,0 +1,91 @@ +# +# project LilyPond -- the musical typesetter +# title makefile for micro-lily-lib +# file lib/Makefile +# +# Copyright (c) 1997 by +# Jan Nieuwenhuizen +# Han-Wen Nienhuys +# + +# subdir level: +# +depth = .. +# + +# identify module: +# +NAME = lily +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 = 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 $(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 = \ + +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 +# + +# auto dependencies: +# +-include ./$(outdir)/*.dep +# + diff --git a/lib/include/Makefile b/lib/include/Makefile new file mode 100644 index 0000000000..cb4f4ea6d1 --- /dev/null +++ b/lib/include/Makefile @@ -0,0 +1,23 @@ +# lib/include/Makefile + +# subdir level: +# +depth = ../.. +# + +# identify module: +# +MODULE_NAME = lilypond +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 stuff/Makefile +# +include ./$(depth)/make/Include.make +# + diff --git a/lily/include/Makefile b/lily/include/Makefile new file mode 100644 index 0000000000..fa2827b30a --- /dev/null +++ b/lily/include/Makefile @@ -0,0 +1,23 @@ +# lily/include/Makefile + +# subdir level: +# +depth = ../.. +# + +# identify module: +# +MODULE_NAME = lilypond +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 stuff/Makefile +# +include ./$(depth)/make/Include.make +# + diff --git a/m2m/include/Makefile b/m2m/include/Makefile new file mode 100644 index 0000000000..cb4f4ea6d1 --- /dev/null +++ b/m2m/include/Makefile @@ -0,0 +1,23 @@ +# lib/include/Makefile + +# subdir level: +# +depth = ../.. +# + +# identify module: +# +MODULE_NAME = lilypond +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 stuff/Makefile +# +include ./$(depth)/make/Include.make +# + diff --git a/make/Initial.make b/make/Initial.make new file mode 100644 index 0000000000..24c5cecc3a --- /dev/null +++ b/make/Initial.make @@ -0,0 +1,52 @@ +# +# project LilyPond -- the musical typesetter +# title initial makefile for lilypond +# file make/Initial.make +# +# Copyright (c) 1997 by +# Jan Nieuwenhuizen +# Han-Wen Nienhuys +# + +# subdir level: +# +depth = .. +# + +# ugh +NAME = dummy +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 +# + + +# ugh +# initdefault: $(CCDIR)/parser.cc $(CCDIR)/lexer.cc hdr/version.hh alldeps +initdefault: check-flower-version $(lily-version) dummydep +# $(MAKE) -C ./$(depth)/lily $(outdir)/parser.cc + +# ugh! +dummydep: + touch ./$(depth)/flower/lib/$(depdir)/dummy.dep + touch ./$(depth)/lib/$(depdir)/dummy.dep + touch ./$(depth)/lily/$(depdir)/dummy.dep + touch ./$(depth)/m2m/$(depdir)/dummy.dep + +#$(DEPDIR)/%.dep: $(CCDIR)/%.cc +# $(DODEP) $(CXX) -E $(CXXFLAGS) $^ > /dev/null + +# generic targets and rules: +# +include ./$(depth)/make/Targets.make +include ./$(depth)/make/Rules.make +# + diff --git a/make/Makefile b/make/Makefile new file mode 100644 index 0000000000..2699f6140e --- /dev/null +++ b/make/Makefile @@ -0,0 +1,47 @@ +# +# project LilyPond -- the musical typesetter +# title zucht +# file make/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 = make +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 +# + +# list of generic make files: +# +MAKEFILES = $(shell ls *.make) +# + +# list of distribution files: +# +DISTFILES = Makefile $(MAKEFILES) +# + +# generic variables: +# +include ./$(depth)/make/Variables.make +# + +# generic targets and rules: +# +include ./$(depth)/make/Targets.make +include ./$(depth)/make/Rules.make +# + diff --git a/make/Stuff.make b/make/Stuff.make new file mode 100644 index 0000000000..69cf6d70d7 --- /dev/null +++ b/make/Stuff.make @@ -0,0 +1,31 @@ +# +# project LilyPond -- the musical typesetter +# title generic red tape for stuff/Makefile +# file make/Stuff.make +# +# Copyright (c) 1997 by +# Jan Nieuwenhuizen +# Han-Wen Nienhuys +# identify module: +# + +NAME = generic-stuff +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 +# + +# generic targets and rules: +# +include ./$(depth)/make/Targets.make +include ./$(depth)/make/Rules.make +# + diff --git a/tex/Makefile b/tex/Makefile new file mode 100644 index 0000000000..7098987a94 --- /dev/null +++ b/tex/Makefile @@ -0,0 +1,20 @@ +# tex/Makefile + +# subdir level: +# +depth = .. +# + +build = ./$(depth)/lily/.build + +# generic stuff/Makefile +# +include ./$(depth)/make/Stuff.make +# + +# list of distribution files: +# +TEXFILES = $(shell ls *.tex) +DISTFILES = Makefile $(TEXFILES) +# +