change #include "register.h" to <target/register.h>
[fw/openocd] / src / server / Makefile.am
index 2f0700757978aa1defecb142938d017e2c3d666f..989a682ce3147cb68e15a6ea58724e12a2a1f770 100644 (file)
@@ -1,4 +1,5 @@
 AM_CPPFLAGS = \
+       -I$(top_srcdir)/src \
        -I$(top_srcdir)/src/helper \
        -I$(top_srcdir)/src/target \
        -I$(top_srcdir)/src/flash \
@@ -12,7 +13,13 @@ libserver_la_SOURCES = server.c telnet_server.c gdb_server.c
 
 if HTTPD
 libserver_la_SOURCES += httpd.c
+else
+libserver_la_SOURCES += httpd_stubs.c
+if !ECOSBOARD
+libserver_la_SOURCES += server_stubs.c
 endif
+endif
+noinst_HEADERS += httpd.h
 
 libserver_la_CFLAGS =
 if IS_MINGW
@@ -34,6 +41,7 @@ nobase_dist_pkgdata_DATA = \
 endif
 
 EXTRA_DIST = \
+       startup.tcl \
        httpd/readme.txt \
        httpd/menu.xml \
        httpd/menu.xsl \