2009-05-02 17:35:02 -05:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir)/src/helper \
|
|
|
|
-I$(top_srcdir)/src/target \
|
|
|
|
-I$(top_srcdir)/src/flash \
|
|
|
|
-I$(top_srcdir)/src/jtag \
|
|
|
|
-DPKGLIBDIR=\"$(pkglibdir)\"
|
|
|
|
|
2006-06-02 05:36:31 -05:00
|
|
|
METASOURCES = AUTO
|
|
|
|
noinst_LIBRARIES = libserver.a
|
|
|
|
noinst_HEADERS = server.h telnet_server.h gdb_server.h
|
|
|
|
libserver_a_SOURCES = server.c telnet_server.c gdb_server.c
|
2008-07-06 14:33:05 -05:00
|
|
|
|
2008-12-16 16:20:10 -06:00
|
|
|
if HTTPD
|
|
|
|
libserver_a_SOURCES += httpd.c
|
|
|
|
endif
|
|
|
|
|
2009-04-21 04:02:42 -05:00
|
|
|
libserver_a_CFLAGS =
|
|
|
|
if IS_MINGW
|
|
|
|
# FD_* macros are sloppy with their signs on MinGW32 platform
|
|
|
|
libserver_a_CFLAGS += -Wno-sign-compare
|
|
|
|
endif
|
2008-12-16 16:20:10 -06:00
|
|
|
|
2008-07-06 14:33:05 -05:00
|
|
|
# tcl server addons
|
|
|
|
noinst_HEADERS += tcl_server.h
|
|
|
|
libserver_a_SOURCES += tcl_server.c
|
2008-12-22 09:02:09 -06:00
|
|
|
|
|
|
|
if HTTPD
|
2009-01-16 01:31:55 -06:00
|
|
|
nobase_dist_pkglib_DATA = $(wildcard $(srcdir)/httpd/*.tcl $(srcdir)/httpd/*.css $(srcdir)/httpd/menu_cuts/*.png)
|
2008-12-22 09:02:09 -06:00
|
|
|
endif
|
2009-01-19 21:55:38 -06:00
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|