X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2FMakefile.am;h=c9479b43edb18aba62a6f098f952e75d63059262;hp=22b3c330e8ce5492ee02e71003691951f94f1822;hb=ef885d3b2a3001325f525df250dadd570e5d743e;hpb=cb7dbc1af41068f826246beb53870c01d8973bb8 diff --git a/src/helper/Makefile.am b/src/helper/Makefile.am index 22b3c330e8..c9479b43ed 100644 --- a/src/helper/Makefile.am +++ b/src/helper/Makefile.am @@ -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,10 +20,13 @@ libhelper_la_SOURCES = \ time_support.c \ replacements.c \ fileio.c \ - membuf.c + util.c \ + jim-nvp.c if IOUTIL libhelper_la_SOURCES += ioutil.c +else +libhelper_la_SOURCES += ioutil_stubs.c endif libhelper_la_CFLAGS = @@ -38,17 +38,17 @@ endif 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 + bin2char.c \ + jim-nvp.h EXTRA_DIST = startup.tcl