X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fserver%2FMakefile.am;h=04d3035f452870fda945cd3721f88a6a6bc5cd1f;hb=ca8f8e7e77ec2263044288e540c7276155155a48;hp=2397a7f07c41b246ddf8d2217502c4594a2e678a;hpb=8b4e882a1630d63bbc9840fa3f968e36b6ac3702;p=fw%2Fopenocd diff --git a/src/server/Makefile.am b/src/server/Makefile.am index 2397a7f07..04d3035f4 100644 --- a/src/server/Makefile.am +++ b/src/server/Makefile.am @@ -1,5 +1,23 @@ -INCLUDES = -I$(top_srcdir)/src/helper -I$(top_srcdir)/src/target $(all_includes) +include $(top_srcdir)/common.mk + METASOURCES = AUTO -noinst_LIBRARIES = libserver.a +noinst_LTLIBRARIES = libserver.la noinst_HEADERS = server.h telnet_server.h gdb_server.h -libserver_a_SOURCES = server.c telnet_server.c gdb_server.c +libserver_la_SOURCES = server.c telnet_server.c gdb_server.c + +libserver_la_SOURCES += server_stubs.c + +libserver_la_CFLAGS = +if IS_MINGW +# FD_* macros are sloppy with their signs on MinGW32 platform +libserver_la_CFLAGS += -Wno-sign-compare +endif + +# tcl server addons +noinst_HEADERS += tcl_server.h +libserver_la_SOURCES += tcl_server.c + +EXTRA_DIST = \ + startup.tcl + +MAINTAINERCLEANFILES = $(srcdir)/Makefile.in