docs: J-Link commands added to the manual
[openocd/ntfreak.git] / src / helper / Makefile.am
blob6189b63ab1ab69f58d55fde635ed0d370cca288e
1 include $(top_srcdir)/common.mk
3 METASOURCES = AUTO
4 noinst_LTLIBRARIES = libhelper.la
6 CONFIGFILES = options.c time_support_common.c
8 libhelper_la_SOURCES = \
9         binarybuffer.c \
10         $(CONFIGFILES) \
11         configuration.c \
12         log.c \
13         command.c \
14         time_support.c \
15         replacements.c \
16         fileio.c \
17         util.c \
18         jim-nvp.c
20 if IOUTIL
21 libhelper_la_SOURCES += ioutil.c
22 else
23 libhelper_la_SOURCES += ioutil_stubs.c
24 endif
26 libhelper_la_CFLAGS =
27 if IS_MINGW
28 # FD_* macros are sloppy with their signs on MinGW32 platform
29 libhelper_la_CFLAGS += -Wno-sign-compare
30 endif
32 noinst_HEADERS = \
33         binarybuffer.h \
34         configuration.h \
35         ioutil.h \
36         util.h \
37         types.h \
38         log.h \
39         command.h \
40         time_support.h \
41         replacements.h \
42         fileio.h \
43         system.h \
44         bin2char.c \
45         jim-nvp.h
47 EXTRA_DIST = startup.tcl
49 BIN2C = bin2char$(EXEEXT_FOR_BUILD)
51 BUILT_SOURCES = $(BIN2C)
53 $(BIN2C): bin2char.c
54         ${CC_FOR_BUILD} ${CFLAGS_FOR_BUILD} $(srcdir)/bin2char.c -o $@
56 CLEANFILES = bin2char$(EXEEXT_FOR_BUILD)
58 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in