Embedded ICE version is now dumped with debug_level 1
[dnglaze.git] / src / server / Makefile.am
blob2f0700757978aa1defecb142938d017e2c3d666f
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         -DPKGDATADIR=\"$(pkgdatadir)\"
8 METASOURCES = AUTO
9 noinst_LTLIBRARIES = libserver.la
10 noinst_HEADERS = server.h telnet_server.h gdb_server.h
11 libserver_la_SOURCES = server.c telnet_server.c gdb_server.c
13 if HTTPD
14 libserver_la_SOURCES += httpd.c
15 endif
17 libserver_la_CFLAGS =
18 if IS_MINGW
19 # FD_* macros are sloppy with their signs on MinGW32 platform
20 libserver_la_CFLAGS += -Wno-sign-compare
21 endif
23 # tcl server addons
24 noinst_HEADERS += tcl_server.h
25 libserver_la_SOURCES += tcl_server.c
27 if HTTPD
28 nobase_dist_pkgdata_DATA = \
29         $(wildcard \
30                 $(srcdir)/httpd/*.tcl \
31                 $(srcdir)/httpd/*.css \
32                 $(srcdir)/httpd/menu_cuts/*.png \
33         )
34 endif
36 EXTRA_DIST = \
37         httpd/readme.txt \
38         httpd/menu.xml \
39         httpd/menu.xsl \
40         httpd/build.sh \
41         httpd/html2tcl.sh \
42         httpd/Stylizer.java \
43         httpd/Stylizer.class
45 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in