remove tertiary include paths
[openocd.git] / src / server / Makefile.am
1 AM_CPPFLAGS = \
2         -I$(top_srcdir)/src \
3         -DPKGDATADIR=\"$(pkgdatadir)\"
4
5 METASOURCES = AUTO
6 noinst_LTLIBRARIES = libserver.la
7 noinst_HEADERS = server.h telnet_server.h gdb_server.h
8 libserver_la_SOURCES = server.c telnet_server.c gdb_server.c
9
10 if HTTPD
11 libserver_la_SOURCES += httpd.c
12 else
13 libserver_la_SOURCES += httpd_stubs.c
14 if !ECOSBOARD
15 libserver_la_SOURCES += server_stubs.c
16 endif
17 endif
18 noinst_HEADERS += httpd.h
19
20 libserver_la_CFLAGS =
21 if IS_MINGW
22 # FD_* macros are sloppy with their signs on MinGW32 platform
23 libserver_la_CFLAGS += -Wno-sign-compare
24 endif
25
26 # tcl server addons
27 noinst_HEADERS += tcl_server.h
28 libserver_la_SOURCES += tcl_server.c
29
30 if HTTPD
31 nobase_dist_pkgdata_DATA = \
32         $(wildcard \
33                 $(srcdir)/httpd/*.tcl \
34                 $(srcdir)/httpd/*.css \
35                 $(srcdir)/httpd/menu_cuts/*.png \
36         )
37 endif
38
39 EXTRA_DIST = \
40         startup.tcl \
41         httpd/readme.txt \
42         httpd/menu.xml \
43         httpd/menu.xsl \
44         httpd/build.sh \
45         httpd/html2tcl.sh \
46         httpd/Stylizer.java \
47         httpd/Stylizer.class
48
49 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in