3 L4DIR ?= $(PKGDIR)/../..
5 TARGET = libhistory.a libreadline.a
7 CONTRIB_INCDIR = readline
9 PRIVATE_INCDIR = $(PKGDIR)/lib/readline \
11 $(PKGDIR)/lib/contrib/libreadline \
12 # this - is kind of crazy: expands to -I- which
13 # means not to search for include files within
14 # the file`s directory even if the file made some
17 WARNINGS = -Wno-missing-prototypes
19 DEFINES = -DHAVE_CONFIG_H -D__L4
23 vpath % $(PKGDIR)/lib/readline \
24 $(PKGDIR)/lib/contrib/libreadline
26 HISTFILES = history.c histfile.c histexpand.c histsearch.c xmalloc.c \
29 SRC_C_libhistory.a = $(HISTFILES)
30 SRC_C_libreadline.a = readline.c funmap.c keymaps.c \
31 vi_mode.c parens.c bind.c\
32 isearch.c display.c emacs_keymap.c\
33 vi_keymap.c util.c kill.c\
34 undo.c macro.c input.c\
35 callback.c nls.c savestring.c\
36 tilde.c complete.c $(HISTFILES)\
37 rltty.c terminal.c signals.c \
38 search.c replacements.c
40 include $(L4DIR)/mk/lib.mk