diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-17 17:34:53 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-17 17:34:53 +0000 |
commit | 8a14a72f573065fc38ed2e4029d2a41d701c3622 (patch) | |
tree | f0335358f1ffc90c3f70f92c8ce8e03991ef4157 | |
parent | 0ebb33b185314a113a6961bf26c7b59cf42aff63 (diff) | |
download | riscv-openocd-8a14a72f573065fc38ed2e4029d2a41d701c3622.zip riscv-openocd-8a14a72f573065fc38ed2e4029d2a41d701c3622.tar.gz riscv-openocd-8a14a72f573065fc38ed2e4029d2a41d701c3622.tar.bz2 |
Charles Hardin <ckhardin@gmail.com> move jim into helper
git-svn-id: svn://svn.berlios.de/openocd/trunk@822 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/Makefile.am | 14 | ||||
-rw-r--r-- | src/flash/flash.c | 3 | ||||
-rw-r--r-- | src/helper/Makefile.am | 18 | ||||
-rw-r--r-- | src/helper/bin2char.c (renamed from src/bin2char.c) | 0 | ||||
-rw-r--r-- | src/helper/jim.c (renamed from src/jim.c) | 0 | ||||
-rw-r--r-- | src/helper/jim.h (renamed from src/jim.h) | 0 | ||||
-rw-r--r-- | src/helper/startup.tcl (renamed from src/startup.tcl) | 0 | ||||
-rw-r--r-- | src/server/tcl_server.c | 2 |
8 files changed, 20 insertions, 17 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 75239fc..793d020 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,10 +3,10 @@ bin_PROGRAMS = openocd if ECOSBOARD MAINFILE = ecosboard.c else -MAINFILE = main.c jim.c +MAINFILE = main.c endif -openocd_SOURCES = $(MAINFILE) openocd.c startup_tcl.c +openocd_SOURCES = $(MAINFILE) openocd.c # set the include path found by configure INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/helper \ @@ -94,13 +94,3 @@ nobase_dist_pkglib_DATA = \ tcl/mmr_helpers.tcl \ tcl/readable.tcl -noinst_PROGRAMS = bin2char - -bin2char_SOURCES = bin2char.c - -# Convert .tcl to cfile -startup_tcl.c: bin2char startup.tcl - ./bin2char startup_tcl < $(srcdir)/startup.tcl > startup_tcl.c - -# add startup_tcl.c to make clean list -CLEANFILES = startup_tcl.c diff --git a/src/flash/flash.c b/src/flash/flash.c index 900fdbf..01bc6e7 100644 --- a/src/flash/flash.c +++ b/src/flash/flash.c @@ -41,8 +41,7 @@ #include <errno.h> #include <inttypes.h> -#include "../jim.h" - +#include "jim.h" extern Jim_Interp *interp; diff --git a/src/helper/Makefile.am b/src/helper/Makefile.am index 8a2d472..2ba0a56 100644 --- a/src/helper/Makefile.am +++ b/src/helper/Makefile.am @@ -6,10 +6,24 @@ noinst_LIBRARIES = libhelper.a if ECOSBOARD CONFIGFILES = else -CONFIGFILES = options.c +CONFIGFILES = options.c jim.c endif libhelper_a_SOURCES = binarybuffer.c $(CONFIGFILES) configuration.c log.c command.c time_support.c \ replacements.c fileio.c noinst_HEADERS = binarybuffer.h configuration.h types.h log.h command.h \ - time_support.h replacements.h fileio.h + time_support.h replacements.h fileio.h \ + jim.h + +libhelper_a_SOURCES += startup_tcl.c + +noinst_PROGRAMS = bin2char + +bin2char_SOURCES = bin2char.c + +# Convert .tcl to cfile +startup_tcl.c: bin2char startup.tcl + ./bin2char startup_tcl < $(srcdir)/startup.tcl > startup_tcl.c + +# add startup_tcl.c to make clean list +CLEANFILES = startup_tcl.c diff --git a/src/bin2char.c b/src/helper/bin2char.c index f1c809c..f1c809c 100644 --- a/src/bin2char.c +++ b/src/helper/bin2char.c diff --git a/src/jim.c b/src/helper/jim.c index c1434db..c1434db 100644 --- a/src/jim.c +++ b/src/helper/jim.c diff --git a/src/jim.h b/src/helper/jim.h index 9e9c7dc..9e9c7dc 100644 --- a/src/jim.h +++ b/src/helper/jim.h diff --git a/src/startup.tcl b/src/helper/startup.tcl index fc5f9e1..fc5f9e1 100644 --- a/src/startup.tcl +++ b/src/helper/startup.tcl diff --git a/src/server/tcl_server.c b/src/server/tcl_server.c index 2771254..a12442e 100644 --- a/src/server/tcl_server.c +++ b/src/server/tcl_server.c @@ -24,7 +24,7 @@ #include <stdarg.h> #include "tcl_server.h" -#include "../jim.h" +#include "jim.h" #include "log.h" #include "command.h" |