reduce compare noise. If someone should be crazy enough to try to run OpenOCD under...
[fw/openocd] / src / helper / Makefile.am
index 5fb2241d13cda94f390e07d214eaf4b9db9a57a8..e518bc7f218963f33d043199838c48a2954dca2d 100644 (file)
@@ -1,6 +1,15 @@
 INCLUDES = $(all_includes)
 METASOURCES = AUTO
+AM_CPPFLAGS = -DPKGDATADIR=\"$(pkgdatadir)\" -DPKGLIBDIR=\"$(pkglibdir)\" @CPPFLAGS@
 noinst_LIBRARIES = libhelper.a
-libhelper_a_SOURCES = binarybuffer.c configuration.c log.c interpreter.c command.c time_support.c
+
+if ECOSBOARD
+CONFIGFILES = 
+else
+CONFIGFILES = options.c
+endif
+
+libhelper_a_SOURCES = binarybuffer.c $(CONFIGFILES) 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
+       interpreter.h time_support.h replacements.h fileio.h