ioutil: make the file compile on MacOS
[fw/openocd] / 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 libserver_la_SOURCES += server_stubs.c
9
10 libserver_la_CFLAGS =
11 if IS_MINGW
12 # FD_* macros are sloppy with their signs on MinGW32 platform
13 libserver_la_CFLAGS += -Wno-sign-compare
14 endif
15
16 # tcl server addons
17 noinst_HEADERS += tcl_server.h
18 libserver_la_SOURCES += tcl_server.c
19
20 EXTRA_DIST = \
21         startup.tcl
22
23 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in