mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
parent
01e9bec5b0
commit
25bda02981
@ -6,13 +6,13 @@ SRC_C = $(filter-out $(FILTER_OUT),$(notdir $(wildcard $(LIGHTTPD_DIR)/src/*.c))
|
||||
vpath %.c $(LIGHTTPD_DIR)/src
|
||||
|
||||
# read version information from configure script
|
||||
LIGHTTPD_VERSION := $(subst ., ,$(shell cat $(LIGHTTPD_DIR)/configure |\
|
||||
LIGHTTPD_VERSION = $(subst ., ,$(shell cat $(LIGHTTPD_DIR)/configure |\
|
||||
grep "PACKAGE_VERSION=" |\
|
||||
sed "s/^.*='//;s/'//"))
|
||||
|
||||
LIGHTTPD_MAIN := $(word 1,$(LIGHTTPD_VERSION))
|
||||
LIGHTTPD_MAJOR := $(word 2,$(LIGHTTPD_VERSION))
|
||||
LIGHTTPD_MINOR := $(word 3,$(LIGHTTPD_VERSION))
|
||||
LIGHTTPD_MAIN = $(word 1,$(LIGHTTPD_VERSION))
|
||||
LIGHTTPD_MAJOR = $(word 2,$(LIGHTTPD_VERSION))
|
||||
LIGHTTPD_MINOR = $(word 3,$(LIGHTTPD_VERSION))
|
||||
|
||||
CC_OPT += -DHAVE_SOCKLEN_T -DHAVE_SYSLOG_H -DHAVE_STDINT_H -DUSE_POLL
|
||||
CC_OPT += -DHAVE_SYS_WAIT_H -DHAVE_SYS_UN_H -DHAVE_MMAP -DHAVE_SYS_MMAN_H -DHAVE_SELECT
|
||||
|
Loading…
x
Reference in New Issue
Block a user