AM_CPPFLAGS = \
- -I$(top_srcdir)/src/helper \
- -I$(top_srcdir)/src/target \
- -I$(top_srcdir)/src/flash \
- -I$(top_srcdir)/src/jtag \
+ -I$(top_srcdir)/src \
+ -I$(top_builddir)/src \
-DPKGDATADIR=\"$(pkgdatadir)\"
METASOURCES = AUTO
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
endif
EXTRA_DIST = \
+ startup.tcl \
httpd/readme.txt \
httpd/menu.xml \
httpd/menu.xsl \
httpd/Stylizer.java \
httpd/Stylizer.class
-MAINTAINERCLEANFILES = Makefile.in
+MAINTAINERCLEANFILES = $(srcdir)/Makefile.in