]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.40
authorfred <fred>
Sun, 24 Mar 2002 19:34:32 +0000 (19:34 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:34:32 +0000 (19:34 +0000)
Makefile
lily/voice-elt.cc
make/Builtin-rules.make [new file with mode: 0644]
make/Include.make
make/Sources.make
make/User.make

index b8abfd8b66b5abf1b84ecdb79660b05bd80292ce..bbbf5763ce0782af59f53e0f53e6c37b8e5b2a5c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,15 +33,16 @@ include ./$(depth)/make/Variables.make
 
 # descent order into subdirectories:
 #
-SUBDIRS = flower lib lily m2m \
-       Documentation bin init input make tex
+SUBDIRS = flower lib lily mi2mu \
+       Documentation bin init input tex make
 #
 
 # list of distribution files:
 #
-SYMLINKS = configure
+# SYMLINKS = # naah, configure
+SCRIPTS = configure
 README_FILES = ANNOUNCE COPYING INSTALL NEWS README TODO
-DISTFILES= Makefile .version $(README_FILES) $(SYMLINKS)
+DISTFILES= Makefile .dstreamrc .version $(README_FILES) $(SCRIPTS) $(SYMLINKS)
 #
 
 # generic targets and rules:
index 90060ec43c8feb9f4b062224b053047456fbf699..e932e4d4033fb7863b2e1e77b746089706d579d2 100644 (file)
@@ -61,8 +61,8 @@ Voice_element::find_plet_start_bo(char c, Moment& moment_r)
 {
     assert( c == ']' );
     moment_r += duration;
-    for ( PCursor<Request*> req_l_pcur( reqs.top() ); req_l_pcur.ok(); req_l_pcur++ ) {
-       if (req_l_pcur->beam() && req_l_pcur->beam()->spantype == Span_req::START )
+    for ( PCursor<Request*> i( reqs.top() ); i.ok(); i++ ) {
+       if (i->beam() && i->beam()->spantype == Span_req::START )
            return true;
     }
     return false;
@@ -86,12 +86,12 @@ Voice_element::set_plet_backwards(Moment& now_moment_r,
     now_moment_r += duration;
     if ( now_moment_r > until_moment )
        return;
-    for ( PCursor<Request*> req_l_pcur( reqs.top() ); req_l_pcur.ok(); req_l_pcur++ ) {
-       if (req_l_pcur->beam() && req_l_pcur->beam()->spantype == Span_req::START )
-           req_l_pcur->beam()->nplet = den_i;
-       if (req_l_pcur->rhythmic())
-           req_l_pcur->rhythmic()->plet_factor = Moment(num_i, den_i);
-       if (req_l_pcur->stem())
-           req_l_pcur->stem()->plet_factor = Moment(num_i, den_i);
+    for ( PCursor<Request*> i( reqs.top() ); i.ok(); i++ ) {
+       if (i->beam() && i->beam()->spantype == Span_req::START )
+           i->beam()->nplet = den_i;
+       if (i->rhythmic())
+           i->rhythmic()->plet_factor = Moment(num_i, den_i);
+       if (i->stem())
+           i->stem()->plet_factor = Moment(num_i, den_i);
     }
 }
diff --git a/make/Builtin-rules.make b/make/Builtin-rules.make
new file mode 100644 (file)
index 0000000..b5fd253
--- /dev/null
@@ -0,0 +1,41 @@
+#
+# project  LilyPond -- the musical typesetter
+# title           cancel all built-in rules
+# file    make/Builtin-rules.make
+#
+# Copyright (c) 1997 by    
+#      Jan Nieuwenhuizen <jan@digicash.com>
+#      Han-Wen Nienhuys <hanwen@stack.nl>
+
+# no assembly sources
+%.o : %.s
+
+# no c sources
+%.o : %.c
+
+# not using RCS
+% :: RCS/%,v
+$(outdir)/% :: $(outdir)/RCS/%,v
+% : RCS/%,v
+$(outdir)/% : $(outdir)/RCS/%,v
+%.c : RCS/%,v
+%.cc : RCS/%,v
+%.hh : RCS/%,v
+%.make : RCS/%,v
+$(outdir)/%.dep : $(outdir)/RCS/%,v
+%.dep : RCS/%.dep,v
+$(outdir)/%.dep : $(outdir)/RCS/%.dep,v
+
+# lily knows better
+%.tab.c %.tab.h : %.y
+
+# fine suffixes:
+Makefile :
+%.cc :
+%.dep :
+$(outdir)/%.dep:
+%.hh :
+%.make :
+%.p :
+
+
index 987b1fa2642e217581aff6ceca6cb703c787d8e5..017694538f72bc292b4176b27781c3ddc3cffa25 100644 (file)
@@ -25,17 +25,17 @@ include ./$(depth)/make/Variables.make
 
 # list of c++ header files:
 # 
-HHFILES = $(shell ls *.hh)
+HHFILES = $(shell ls *.hh $(ERROR_LOG))
 #
 
 # list of c++ inline files:
 # 
-INLFILES = $(shell ls *.inl)
+INLFILES = $(shell ls *.inl $(ERROR_LOG))
 #
 
 # list of c++ template files:
 # 
-TCCFILES = $(shell ls *.tcc)
+TCCFILES = $(shell ls *.tcc $(ERROR_LOG))
 #
 
 # list of distribution files:
index 98eea71710d52d470b8d6fb59d54764e43cb3a14..6411aa2e5a2b50dca50f7f18e5188b7f29b22630 100644 (file)
@@ -87,9 +87,9 @@ stablecc=request.cc bar.cc boxes.cc break.cc  \
        voice.cc wordwrap.cc spanner.cc 
 
 
-# m2m headers
+# mi2mu headers
 #
-mym2mhh=\
+mymi2muhh=\
  duration.hh\
  lily-stream.hh\
  midi-event.hh\
@@ -102,16 +102,16 @@ mym2mhh=\
 
 #
 
-# m2m shared headers
+# mi2mu shared headers
 #
-mym2msharedhh=\
+mymi2musharedhh=\
  binary-source-file.hh\
 
 #
 
-# m2m source
+# mi2mu source
 #
-mym2mcc=\
+mymi2mucc=\
  duration.cc\
  lily-stream.cc\
  midi-event.cc\
@@ -125,9 +125,9 @@ mym2mcc=\
 
 #
 
-# m2m shared source
+# mi2mu shared source
 #
-mym2msharedcc=\
+mymi2musharedcc=\
  binary-source-file.cc\
  inputfile.cc\
  sourcefile.cc\
index 5a8be8045468e8589d4e631774afc70b0c8bc3c4..383f6d47777d2ba69fc4cc9ce5542725303c1334 100644 (file)
@@ -26,7 +26,7 @@ DEBUGFLAG=-g
 
 # turn off -pipe if linker doesn't support it
 # 
-USER_CXXFLAGS=-pipe -Wall -W   -Wmissing-prototypes -DSTRING_UTILS_INLINED -O
+USER_CXXFLAGS=-pipe -Wall -W   -Wmissing-prototypes -DSTRING_UTILS_INLINED
 #
 
 #