Files
rtems/cpukit/mghttpd/Makefile.am
Joel Sherrill cb7b57e174 mghttpd: Requires POSIX to build server and tests
Formerly, mghttpd was conditional only on networking being
enabled. It uses on pthread and must also be conditional
on POSIX threads support being enabled.
2012-10-03 11:09:32 -05:00

19 lines
456 B
Makefile

include $(top_srcdir)/automake/compile.am
if LIBNETWORKING
if HAS_PTHREADS
include_mghttpddir = $(includedir)/mghttpd
project_lib_LIBRARIES = libmghttpd.a
libmghttpd_a_CPPFLAGS = $(AM_CPPFLAGS)
# libmghttpd_a_CPPFLAGS += -DHAVE_MD5
libmghttpd_a_CPPFLAGS += -DNO_SSL -DNO_POPEN -DNO_CGI
libmghttpd_a_SOURCES = mongoose.c mongoose.h
include_mghttpd_HEADERS = mongoose.h
endif
endif
include $(srcdir)/preinstall.am
include $(top_srcdir)/automake/local.am