diff --git a/src/bin/Jamfile b/src/bin/Jamfile index 0a9a3e7ccc..35922f3e91 100644 --- a/src/bin/Jamfile +++ b/src/bin/Jamfile @@ -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 ; diff --git a/src/bin/gdb/Jamfile b/src/bin/gdb/Jamfile new file mode 100644 index 0000000000..48cc1f60af --- /dev/null +++ b/src/bin/gdb/Jamfile @@ -0,0 +1,3 @@ +SubDir OBOS_TOP src bin gdb ; + +SubInclude OBOS_TOP src bin gdb readline ; diff --git a/src/bin/gdb/readline/Jamfile b/src/bin/gdb/readline/Jamfile new file mode 100644 index 0000000000..6d61271ab4 --- /dev/null +++ b/src/bin/gdb/readline/Jamfile @@ -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 includes + +SEARCH_SOURCE += [ FDirName $(SUBDIR) support ] ; + +StaticLibrary 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) ;