[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
osx compatibility: stepmake/stepmake/c++-rules.make
From: |
Graham Percival |
Subject: |
osx compatibility: stepmake/stepmake/c++-rules.make |
Date: |
Sun, 11 Dec 2005 11:25:43 -0800 |
Now that we have a DARWIN_BUILD variable defined, can the below patch
be rewritten using
if (DARWIN_BUILD) ...
so that it could be included in the main source?
I tried doing the same "ifneq (($DARWIN_BUILD),)" that the python patch
used, but it didn't seem to like having an if statement in the middle
of the $(outdir) portion.
(compile patch from fink... the other fink patches aren't necessary to
simply compile lilypond)
diff -ruN lilypond-2.7.11-orig/stepmake/stepmake/c++-rules.make
lilypond-2.7.11/stepmake/stepmake/c+
+-rules.make
--- lilypond-2.7.11-orig/stepmake/stepmake/c++-rules.make
2005-10-02 09:14:45.000000000 -0700
+++ lilypond-2.7.11/stepmake/stepmake/c++-rules.make 2005-10-02
09:15:10.000000000 -0700
@@ -26,6 +26,7 @@
$(outdir)/%.cc: %.ll
$(FLEX) -Cfe -p -p -o$@ $<
+ perl -i.bak -pe 's/^class istream;/#include <iostream>;\nusing
namespace std;/' $@
$(outdir)/%-rc.o: $(outdir)/%.rc
$(WINDRES) $(WINDRES_FLAGS) -o$@ $<
- osx compatibility: stepmake/stepmake/c++-rules.make,
Graham Percival <=