summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-04-27 06:46:15 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-04-27 06:46:15 (GMT)
commitb79affc5c12b7c984acd1e434af5b1aa6b94f68f (patch)
tree7b49f0fc4f2cb675612fc3f94d26b1a86aa8a6b4 /src
parent60f7839e36d0eaf5bcc90ffe1369dae56ed53dbe (diff)
Allowed to compile the project from a fresh install by fixing mistakes.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@521 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src')
-rwxr-xr-xsrc/arch/arm/v7/build_tmp_decl.sh2
-rw-r--r--src/arch/arm/v7/opcodes/Makefile.am8
2 files changed, 9 insertions, 1 deletions
diff --git a/src/arch/arm/v7/build_tmp_decl.sh b/src/arch/arm/v7/build_tmp_decl.sh
index 1833f1b..0b4c2bc 100755
--- a/src/arch/arm/v7/build_tmp_decl.sh
+++ b/src/arch/arm/v7/build_tmp_decl.sh
@@ -16,7 +16,7 @@ for n in $needed; do
echo " $n..."
- grep -q "$n(" $header
+ test -f $header && grep -q "$n(" $header
if [ $? -ne 0 ]; then
echo "#define $n(r) NULL" >> $headertmp
diff --git a/src/arch/arm/v7/opcodes/Makefile.am b/src/arch/arm/v7/opcodes/Makefile.am
index fd67ff3..a7313b1 100644
--- a/src/arch/arm/v7/opcodes/Makefile.am
+++ b/src/arch/arm/v7/opcodes/Makefile.am
@@ -1,4 +1,12 @@
+# Initialement, ce Makefile est conçu sans définition de am__depfiles_maybe.
+# Est-ce parce que GENERATED_FILES est vide et qu'il n'y a donc pas de code
+# source ? En tout cas, au premier écrasement de gencode.mk, tous les fichiers
+# sont regénérés, et am__depfiles_maybe apparaît enfin. Mais trop tard :
+# des fichiers .Plo sont attendus mais non créés par l'ancien Makefile.
+# On force les choses ici.
+am__depfiles_maybe = depfiles
+
include gencode.mk
noinst_LTLIBRARIES = libarcharmv7opcodes.la