MIPS: remove unused arg from mips_ejtag_set_instr
[openocd/jflash.git] / src / helper / Makefile.am
blob3ec4f31a0672ca0ae6a7f7c3e7fba48db33e6267
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src \
3         -I$(top_builddir)/src \
4         -DPKGDATADIR=\"$(pkgdatadir)\"
6 METASOURCES = AUTO
7 noinst_LTLIBRARIES = libhelper.la
9 if ECOSBOARD
10 CONFIGFILES = time_support_ecos.c
11 else
12 CONFIGFILES = options.c jim.c jim-eventloop.c time_support_common.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 else
31 libhelper_la_SOURCES += ioutil_stubs.c
32 endif
34 libhelper_la_CFLAGS =
35 if IS_MINGW
36 # FD_* macros are sloppy with their signs on MinGW32 platform
37 libhelper_la_CFLAGS += -Wno-sign-compare
38 endif
40 noinst_HEADERS = \
41         binarybuffer.h \
42         configuration.h \
43         ioutil.h \
44         types.h \
45         log.h \
46         command.h \
47         membuf.h \
48         time_support.h \
49         replacements.h \
50         fileio.h \
51         jim.h \
52         jim-eventloop.h \
53         system.h \
54         bin2char.c
56 EXTRA_DIST = startup.tcl
58 BIN2C = bin2char$(EXEEXT_FOR_BUILD)
60 BUILT_SOURCES = $(BIN2C)
62 $(BIN2C): bin2char.c
63         ${CC_FOR_BUILD} ${CFLAGS_FOR_BUILD} $(srcdir)/bin2char.c -o $@
65 CLEANFILES = bin2char$(EXEEXT_FOR_BUILD)
67 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in