]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/Makefile
release: 0.0.78
[lilypond.git] / lily / Makefile
index cb49063ad6e918a8a312de144bddbdca7e49d7fe..65065454be5433eb38ffe361cb53610b2d355b46 100644 (file)
@@ -14,10 +14,9 @@ depth = ..
 
 # generic variables:
 #
+include Stable.make
 include ./$(depth)/make/Variables.make
-include ./$(depth)/make/Files.make 
-include .version
-
+include VERSION
 #
 
 # identify module:
@@ -31,35 +30,24 @@ NAME = lilypond
 SUBDIRS = include
 #
 
-# to be remade each build:
-#
-VERSION_DEPENDENCY = $(lily-version)
-#
-
 
 # list of distribution files:
 #
-DISTFILES = .version Makefile $(ALL_SOURCES)
+EXTRA_DISTFILES = VERSION 
 #
 
 # list of custom libraries:
 #
-# yes, i know about the -L and -l options,
-# but these libraries get rebuilt when needed.
-CUSTOMLIBES = $(LIBLILY) $(LIBFLOWER)
+MODULE_LIBDEPS= check-flower-deps check-lily-deps
+MODULE_LIBES= -llily -lflower
 
-LOADLIBES +=
 #
 
 # main target of this module:
 #
-# MAINTARGET = $(EXECUTABLE)
-# MAINTARGET = $(LIBRARY)
-MAINTARGET = $(lily_bindir)/$(EXECUTABLE)# huh?
-# MAINTARGET = $(libdir)/$(LIBRARY)# huh?
-
-default: $(MAINTARGET)
+default: $(EXECUTABLE)
 #
+include ./$(depth)/make/Files.make 
 
 # generic targets and rules:
 #
@@ -69,17 +57,15 @@ include ./$(depth)/make/Rules.make
 
 # force these: Make can't know these have to be generated in advance
 my-lily-lexer.cc: $(outdir)/parser.hh
-lexer.l: $(outdir)/parser.hh
+$(outdir)/lexer.cc: $(outdir)/parser.hh
 
 #
 
-# list of depend files:
-#
-DEPFILES = $(wildcard $(depdir)/*.dep)
-#
 
-# auto dependencies:
-#
--include /dev/null $(DEPFILES)
-#
+localclean:
+       rm -f $(outdir)/parser.* $(outdir)/lexer.cc
+
+#should merge with mi2mu rule
+localinstall: installexe
 
+localuninstall: uninstallexe