]> git.sur5r.net Git - openocd/blobdiff - src/helper/Makefile.am
transport: fix LOG_DEBUG gaffe
[openocd] / src / helper / Makefile.am
index 01e805eb05a21e1950653d32daa0cb517a4903ad..25585a4896468309717118949694c1ac6a06bbbe 100644 (file)
@@ -1,15 +1,12 @@
-AM_CPPFLAGS = \
-       -I$(top_srcdir)/src/server \
-       -I$(top_srcdir)/src/target \
-       -DPKGDATADIR=\"$(pkgdatadir)\"
+include $(top_srcdir)/common.mk
 
 METASOURCES = AUTO
 noinst_LTLIBRARIES = libhelper.la
 
 if ECOSBOARD
-CONFIGFILES =
+CONFIGFILES = time_support_ecos.c
 else
-CONFIGFILES = options.c jim.c jim-eventloop.c
+CONFIGFILES = options.c time_support_common.c
 endif
 
 
@@ -23,7 +20,7 @@ libhelper_la_SOURCES = \
        time_support.c \
        replacements.c \
        fileio.c \
-       membuf.c
+       util.c
 
 if IOUTIL
 libhelper_la_SOURCES += ioutil.c
@@ -41,15 +38,13 @@ noinst_HEADERS = \
        binarybuffer.h \
        configuration.h \
        ioutil.h \
+       util.h \
        types.h \
        log.h \
        command.h \
-       membuf.h \
        time_support.h \
        replacements.h \
        fileio.h \
-       jim.h \
-       jim-eventloop.h \
        system.h \
        bin2char.c