forked from Imagelibrary/rtems
Formerly, mghttpd was conditional only on networking being enabled. It uses on pthread and must also be conditional on POSIX threads support being enabled.
19 lines
456 B
Makefile
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
|