X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2FMakefile.am;h=1c96fb474bf58ab1027a2b03b409764d078c1f2e;hp=a518077e25ae08c2d527ae8c20fd6d6f0a45073b;hb=efc6063df873b3419010ad66d183b997d52e630c;hpb=0bb7c9d10935b320ada567dc0e46f3b23eea2793 diff --git a/src/Makefile.am b/src/Makefile.am index a518077e25..1c96fb474b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,11 +3,11 @@ bin_PROGRAMS = openocd if ECOSBOARD MAINFILE = ecosboard.c else -MAINFILE = main.c +MAINFILE = main.c jim.c endif -openocd_SOURCES = $(MAINFILE) openocd.c jim.c +openocd_SOURCES = $(MAINFILE) openocd.c startup.c # set the include path found by configure INCLUDES = -I$(top_srcdir)/src/helper \ @@ -82,7 +82,6 @@ openocd_LDADD = $(top_builddir)/src/xsvf/libxsvf.a \ nobase_dist_pkglib_DATA = \ - tcl/commands.tcl \ tcl/bitsbytes.tcl \ tcl/chip/atmel/at91/aic.tcl \ tcl/chip/atmel/at91/at91sam7x128.tcl \ @@ -98,3 +97,6 @@ nobase_dist_pkglib_DATA = \ tcl/mmr_helpers.tcl \ tcl/readable.tcl +# Convert .tcl to .c file +startup.c: $(top_srcdir)/src/startup.tcl Makefile $(top_srcdir)/src/file2c.tcl + tclsh $(top_srcdir)/src/file2c.tcl $(top_srcdir)/src/startup.tcl startup.c \ No newline at end of file