a7c318ce696b3016dbbe90a5486de0fc64f98d1d
[openocd.git] / src / server / Makefile.am
1 include $(top_srcdir)/common.mk
2
3 METASOURCES = AUTO
4 noinst_LTLIBRARIES = libserver.la
5 noinst_HEADERS = server.h telnet_server.h gdb_server.h
6 libserver_la_SOURCES = server.c telnet_server.c gdb_server.c
7
8 if !ECOSBOARD
9 libserver_la_SOURCES += server_stubs.c
10 endif
11
12 libserver_la_CFLAGS =
13 if IS_MINGW
14 # FD_* macros are sloppy with their signs on MinGW32 platform
15 libserver_la_CFLAGS += -Wno-sign-compare
16 endif
17
18 # tcl server addons
19 noinst_HEADERS += tcl_server.h
20 libserver_la_SOURCES += tcl_server.c
21
22 EXTRA_DIST = \
23         startup.tcl
24
25 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in