Cortex-A8: mode support
[openocd/ztw.git] / src / helper / Makefile.am
blob22b3c330e8ce5492ee02e71003691951f94f1822
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src/server \
3         -I$(top_srcdir)/src/target \
4         -DPKGDATADIR=\"$(pkgdatadir)\"
6 METASOURCES = AUTO
7 noinst_LTLIBRARIES = libhelper.la
9 if ECOSBOARD
10 CONFIGFILES =
11 else
12 CONFIGFILES = options.c jim.c jim-eventloop.c
13 endif
17 libhelper_la_SOURCES = \
18         binarybuffer.c \
19         $(CONFIGFILES) \
20         configuration.c \
21         log.c \
22         command.c \
23         time_support.c \
24         replacements.c \
25         fileio.c \
26         membuf.c
28 if IOUTIL
29 libhelper_la_SOURCES += ioutil.c
30 endif
32 libhelper_la_CFLAGS =
33 if IS_MINGW
34 # FD_* macros are sloppy with their signs on MinGW32 platform
35 libhelper_la_CFLAGS += -Wno-sign-compare
36 endif
38 noinst_HEADERS = \
39         binarybuffer.h \
40         configuration.h \
41         types.h \
42         log.h \
43         command.h \
44         membuf.h \
45         time_support.h \
46         replacements.h \
47         fileio.h \
48         jim.h \
49         jim-eventloop.h \
50         system.h \
51         bin2char.c
53 EXTRA_DIST = startup.tcl
55 BIN2C = bin2char$(EXEEXT_FOR_BUILD)
57 BUILT_SOURCES = $(BIN2C)
59 $(BIN2C): bin2char.c
60         ${CC_FOR_BUILD} ${CFLAGS_FOR_BUILD} $(srcdir)/bin2char.c -o $@
62 CLEANFILES = bin2char$(EXEEXT_FOR_BUILD)
64 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in