Update autotools scripts to require automake 1.6. The configure.in script
[fw/openocd] / src / server / Makefile.am
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src/helper \
3         -I$(top_srcdir)/src/target \
4         -I$(top_srcdir)/src/flash \
5         -I$(top_srcdir)/src/jtag  \
6         -DPKGLIBDIR=\"$(pkglibdir)\"
7
8 METASOURCES = AUTO
9 noinst_LIBRARIES = libserver.a
10 noinst_HEADERS = server.h telnet_server.h gdb_server.h
11 libserver_a_SOURCES = server.c telnet_server.c gdb_server.c
12
13 if HTTPD
14 libserver_a_SOURCES += httpd.c
15 endif
16
17 libserver_a_CFLAGS =
18 if IS_MINGW
19 # FD_* macros are sloppy with their signs on MinGW32 platform
20 libserver_a_CFLAGS += -Wno-sign-compare
21 endif
22
23 # tcl server addons
24 noinst_HEADERS += tcl_server.h
25 libserver_a_SOURCES += tcl_server.c
26
27 if HTTPD
28 nobase_dist_pkglib_DATA = $(wildcard $(srcdir)/httpd/*.tcl $(srcdir)/httpd/*.css $(srcdir)/httpd/menu_cuts/*.png)
29 endif
30
31 MAINTAINERCLEANFILES = Makefile.in