]> git.sur5r.net Git - openocd/blobdiff - src/helper/Makefile.am
move options handling to separate file to better support embedded implementations...
[openocd] / src / helper / Makefile.am
index 2214146cd5847af99bf5b8211aba46b6897ce6f0..35695d69923573e672928b7c1fb6887474ff9957 100644 (file)
@@ -1,7 +1,8 @@
-INCLUDES = $(all_includes)
-METASOURCES = AUTO
-noinst_LIBRARIES = libhelper.a
-libhelper_a_SOURCES = binarybuffer.c configuration.c log.c interpreter.c command.c time_support.c \
-       replacements.c fileio.c
-noinst_HEADERS = binarybuffer.h configuration.h types.h log.h command.h \
-       interpreter.h time_support.h replacements.h fileio.h
+INCLUDES = $(all_includes)\r
+METASOURCES = AUTO\r
+AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" -DPKGLIBDIR=\"$(pkglibdir)\" @CPPFLAGS@\r
+noinst_LIBRARIES = libhelper.a\r
+libhelper_a_SOURCES = binarybuffer.c configuration.c options.c log.c interpreter.c command.c time_support.c \\r
+       replacements.c fileio.c\r
+noinst_HEADERS = binarybuffer.h configuration.h types.h log.h command.h \\r
+       interpreter.h time_support.h replacements.h fileio.h\r