Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Bjarne Kvinge <rolf@xamarin.com>2015-06-18 21:08:53 +0300
committerRolf Bjarne Kvinge <rolf@xamarin.com>2015-06-25 14:27:26 +0300
commit772ba35faa373780f47c0be1a971873460973f15 (patch)
tree482176c76fe2f549991d0b769812b8ed0b47a4df
parenta9d8378eb4ff5aab2d6b31e355f8ad543450bcad (diff)
Support #include directives in external sources files.
-rw-r--r--mcs/build/gensources.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/mcs/build/gensources.sh b/mcs/build/gensources.sh
index bc76b711d39..db7bf638bed 100644
--- a/mcs/build/gensources.sh
+++ b/mcs/build/gensources.sh
@@ -34,7 +34,9 @@ rm -f $outfile.makefrag
process_includes $incfile $outfile.inc
if test x$extfile != x -a -f "$extfile"; then
- cat $extfile >> $outfile.inc
+ process_includes $extfile $outfile.ext.inc
+ cat $outfile.ext.inc >> $outfile.inc
+ rm -f $outfile.ext.inc
fi
sort -u $outfile.inc > $outfile.inc_s