mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 23:12:24 +00:00
25 lines
560 B
Makefile
25 lines
560 B
Makefile
|
READLINE = readline-6.0
|
||
|
READLINE_DIR = $(REP_DIR)/contrib/$(READLINE)
|
||
|
LIBS += libc
|
||
|
|
||
|
# use our customized 'config.h'
|
||
|
INC_DIR += $(REP_DIR)/include/readline
|
||
|
|
||
|
# add local readline headers to include-search path
|
||
|
INC_DIR += $(READLINE_DIR)
|
||
|
|
||
|
CC_DEF += -DHAVE_CONFIG_H
|
||
|
CC_DEF += -DRL_LIBRARY_VERSION='"6.0"'
|
||
|
|
||
|
# dim build noise for contrib code
|
||
|
CC_WARN = -Wno-unused-but-set-variable
|
||
|
|
||
|
# sources from readline base directory
|
||
|
SRC_C = \
|
||
|
history.c histexpand.c histfile.c histsearch.c shell.c mbutil.c \
|
||
|
xmalloc.c
|
||
|
|
||
|
vpath %.c $(READLINE_DIR)
|
||
|
|
||
|
SHARED_LIB = yes
|