]> git.sur5r.net Git - openocd/blobdiff - src/helper/Makefile.am
add command registration chaining
[openocd] / src / helper / Makefile.am
index 67250a18d288aab5aac0108f7576336be82f6c3f..22b3c330e8ce5492ee02e71003691951f94f1822 100644 (file)
@@ -23,8 +23,7 @@ libhelper_la_SOURCES = \
        time_support.c \
        replacements.c \
        fileio.c \
-       membuf.c \
-       startup_tcl.c
+       membuf.c
 
 if IOUTIL
 libhelper_la_SOURCES += ioutil.c
@@ -49,9 +48,10 @@ noinst_HEADERS = \
        jim.h \
        jim-eventloop.h \
        system.h \
-       startup.tcl \
        bin2char.c
 
+EXTRA_DIST = startup.tcl
+
 BIN2C = bin2char$(EXEEXT_FOR_BUILD)
 
 BUILT_SOURCES = $(BIN2C)
@@ -59,11 +59,6 @@ BUILT_SOURCES = $(BIN2C)
 $(BIN2C): bin2char.c
        ${CC_FOR_BUILD} ${CFLAGS_FOR_BUILD} $(srcdir)/bin2char.c -o $@
 
-# Convert .tcl to cfile
-startup_tcl.c: startup.tcl $(BIN2C)
-       ./$(BIN2C) startup_tcl < $(srcdir)/startup.tcl > $@
-
-# add startup_tcl.c to make clean list
-CLEANFILES = startup_tcl.c bin2char$(EXEEXT_FOR_BUILD)
+CLEANFILES = bin2char$(EXEEXT_FOR_BUILD)
 
 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in