Added gdb's readline to the build. Some day we should put a readline in

src/libs and build a shared library to be used by all programs that
need it (bash, gdb) instead of letting each have its own copy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12036 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-03-26 15:29:43 +00:00
parent bc5b3d1208
commit 0185b89c0d
3 changed files with 60 additions and 0 deletions

View File

@ -108,6 +108,7 @@ SubInclude OBOS_TOP src bin diffutils ;
SubInclude OBOS_TOP src bin findutils ;
SubInclude OBOS_TOP src bin flex ;
SubInclude OBOS_TOP src bin gawk ;
SubInclude OBOS_TOP src bin gdb ;
SubInclude OBOS_TOP src bin grep ;
SubInclude OBOS_TOP src bin keymap ;
SubInclude OBOS_TOP src bin less ;

3
src/bin/gdb/Jamfile Normal file
View File

@ -0,0 +1,3 @@
SubDir OBOS_TOP src bin gdb ;
SubInclude OBOS_TOP src bin gdb readline ;

View File

@ -0,0 +1,56 @@
SubDir OBOS_TOP src bin gdb readline ;
# filter warnings we don't want here
local originalCCFlags = $(CCFLAGS) ;
CCFLAGS = [ Filter $(CCFLAGS) : -Wall -Wmissing-prototypes -Wsign-compare ] ;
local RL_LIBRARY_VERSION = 4.3 ;
SubDirCcFlags -DHAVE_CONFIG_H -DRL_LIBRARY_VERSION=\\\"$(RL_LIBRARY_VERSION)\\\" ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ; # for <readline/*.h> includes
SEARCH_SOURCE += [ FDirName $(SUBDIR) support ] ;
StaticLibrary <gdb>readline :
bind.c
callback.c
compat.c
complete.c
display.c
funmap.c
histexpand.c
histfile.c
history.c
histsearch.c
isearch.c
keymaps.c
kill.c
input.c
macro.c
mbutil.c
misc.c
nls.c
parens.c
readline.c
rltty.c
search.c
shell.c
#savestring.c
signals.c
terminal.c
text.c
tilde.c
undo.c
util.c
vi_mode.c
xmalloc.c
# in support
wcwidth.c
: [ FCurrentObjectsDir ]
;
# restore CCFLAGS
CCFLAGS = $(originalCCFlags) ;