dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Just In Time compiler (l


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Just In Time compiler (libjit) branch, master, updated. ef0c97fcdb4fc1e0e8a5be3bc85accf150c2c9d3
Date: Wed, 04 Aug 2010 11:41:24 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "DotGNU Portable.NET Just In Time compiler (libjit)".

The branch, master has been updated
       via  ef0c97fcdb4fc1e0e8a5be3bc85accf150c2c9d3 (commit)
       via  552b211dc5b1e5138caec0bbec932924fb37efd2 (commit)
      from  0620e343ab6774a9f11f2bef8f3e08ffd0e24be3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/libjit.git/commit/?id=ef0c97fcdb4fc1e0e8a5be3bc85accf150c2c9d3

commit ef0c97fcdb4fc1e0e8a5be3bc85accf150c2c9d3
Author: Klaus Treichel <address@hidden>
Date:   Wed Aug 4 13:41:00 2010 +0200

    Add jit-arch.h to the ignore list.

diff --git a/tools/.gitignore b/tools/.gitignore
index 6dc60bc..aafbb3f 100644
--- a/tools/.gitignore
+++ b/tools/.gitignore
@@ -18,3 +18,4 @@ gen-rules-scanner.c
 gen-ops-parser.c
 gen-ops-parser.h
 gen-ops-scanner.c
+jit-arch.h

http://git.savannah.gnu.org/cgit/libjit.git/commit/?id=552b211dc5b1e5138caec0bbec932924fb37efd2

commit 552b211dc5b1e5138caec0bbec932924fb37efd2
Author: Klaus Treichel <address@hidden>
Date:   Wed Aug 4 13:37:38 2010 +0200

    Break the circular build dependency between the include and tools
    directories.
    Don't include jit-arch.h in the disribution because it has to be recreated
    in every case.

diff --git a/ChangeLog b/ChangeLog
index dcde6f9..f28e113 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2010-08-04  Klaus Treichel  <address@hidden>
+
+       * include/jit/Makefile.am: Don't include jit-arch.h in the
+       distribution.
+
+       * tools/gen-apply.c: Include a local copy of jit-arch.h instead of
+       the one in the include dir because that one is not yet present in
+       the build process.
+
+       * tools/Makefile.am: Create a local symbolic link jit-arch.h to
+       the arch specific header in the include dir.
+
 2010-08-03  Klaus Treichel  <address@hidden>
 
        * Makefile.am: Add config to the subdirectories.
diff --git a/include/jit/Makefile.am b/include/jit/Makefile.am
index f8f8359..b7bf8bf 100644
--- a/include/jit/Makefile.am
+++ b/include/jit/Makefile.am
@@ -3,9 +3,8 @@ ARCH_HEADER = address@hidden@.h
 BUILT_SOURCES = jit-arch.h jit-opcode.h
 
 libjitincludedir = $(includedir)/jit
-libjitinclude_HEADERS = \
+dist_libjitinclude_HEADERS = \
        jit.h \
-       jit-arch.h \
        jit-apply.h \
        jit-block.h \
        jit-common.h \
@@ -31,6 +30,9 @@ libjitinclude_HEADERS = \
        jit-value.h \
        jit-walk.h
 
+nodist_libjitinclude_HEADERS = \
+       jit-arch.h
+
 noinst_HEADERS = jit-arch-generic.h jit-arch-x86.h jit-arch-x86-64.h
 
 DISTCLEANFILES = jit-arch.h jit-defs.h jit-opcode.h
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 3c27e82..55f7834 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,9 +1,14 @@
+ARCH_HEADER = address@hidden@.h
+
+BUILT_SOURCES = jit-arch.h
 
 noinst_PROGRAMS = gen-apply gen-rules gen-ops
 
 noinst_HEADERS = gen-apply-macosx.h
 
-gen_apply_SOURCES = gen-apply.c
+dist_gen_apply_SOURCES = gen-apply.c
+
+nodist_gen_apply_SOURCES = jit-arch.h
 
 gen_rules_SOURCES = gen-rules-parser.y gen-rules-scanner.l
 
@@ -11,6 +16,10 @@ gen_ops_SOURCES = gen-ops-scanner.l gen-ops-parser.y
 
 AM_YFLAGS = -d
 
+jit-arch.h: $(top_srcdir)/include/jit/$(ARCH_HEADER)
+       rm -f $@
+       $(LN_S) $(top_srcdir)/include/jit/$(ARCH_HEADER) $@
+
 gen-rules-scanner.l: gen-rules-parser.c
 
 gen-ops-scanner.l: gen-ops-parser.c
@@ -23,5 +32,6 @@ $(top_builddir)/jit/jit-apply-rules.h: gen-apply$(EXEEXT)
 AM_CFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include \
                -I$(top_srcdir)/jit -I$(top_builddir)/jit
 
-CLEANFILES = $(top_builddir)/jit/jit-apply-rules.h \
-       gen-rules-parser.c gen-rules-parser.h gen-rules-scanner.c
+CLEANFILES = $(top_builddir)/jit/jit-apply-rules.h jit-arch.h \
+       gen-rules-parser.c gen-rules-parser.h gen-rules-scanner.c \
+       gen-ops-parser.c gen-ops-parser.h gen-ops-scanner.c 
diff --git a/tools/gen-apply.c b/tools/gen-apply.c
index 2951802..66f07e4 100644
--- a/tools/gen-apply.c
+++ b/tools/gen-apply.c
@@ -20,7 +20,7 @@
  * <http://www.gnu.org/licenses/>.
  */
 
-#include <jit/jit-arch.h>
+#include "jit-arch.h"
 #include <jit/jit-defs.h>
 
 #if defined(__APPLE__) && defined(__MACH__)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |   12 ++++++++++++
 include/jit/Makefile.am |    6 ++++--
 tools/.gitignore        |    1 +
 tools/Makefile.am       |   16 +++++++++++++---
 tools/gen-apply.c       |    2 +-
 5 files changed, 31 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
DotGNU Portable.NET Just In Time compiler (libjit)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]