Added gdb's libiberty to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12060 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
SubDir OBOS_TOP src bin gdb ;
|
SubDir OBOS_TOP src bin gdb ;
|
||||||
|
|
||||||
|
SubInclude OBOS_TOP src bin gdb libiberty ;
|
||||||
SubInclude OBOS_TOP src bin gdb readline ;
|
SubInclude OBOS_TOP src bin gdb readline ;
|
||||||
|
|||||||
@@ -0,0 +1,74 @@
|
|||||||
|
SubDir OBOS_TOP src bin gdb libiberty ;
|
||||||
|
|
||||||
|
# filter warnings we don't want here
|
||||||
|
local originalCCFlags = $(CCFLAGS) ;
|
||||||
|
CCFLAGS = [ Filter $(CCFLAGS) : -Wmissing-prototypes -Wsign-compare ] ;
|
||||||
|
|
||||||
|
SubDirCcFlags -DHAVE_CONFIG_H ;
|
||||||
|
|
||||||
|
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) include ] ; # for <libiberty.h>
|
||||||
|
|
||||||
|
StaticLibrary <gdb>iberty :
|
||||||
|
# mandatory source
|
||||||
|
alloca.c
|
||||||
|
argv.c
|
||||||
|
choose-temp.c
|
||||||
|
concat.c cp-demint.c
|
||||||
|
cp-demangle.c
|
||||||
|
cplus-dem.c
|
||||||
|
dyn-string.c
|
||||||
|
fdmatch.c
|
||||||
|
fibheap.c
|
||||||
|
floatformat.c
|
||||||
|
fnmatch.c
|
||||||
|
getopt.c
|
||||||
|
getopt1.c
|
||||||
|
getpwd.c
|
||||||
|
getruntime.c
|
||||||
|
hashtab.c
|
||||||
|
hex.c
|
||||||
|
lbasename.c
|
||||||
|
lrealpath.c
|
||||||
|
make-relative-prefix.c
|
||||||
|
make-temp-file.c
|
||||||
|
md5.c
|
||||||
|
objalloc.c
|
||||||
|
obstack.c
|
||||||
|
partition.c
|
||||||
|
pex-unix.c
|
||||||
|
physmem.c
|
||||||
|
regex.c
|
||||||
|
safe-ctype.c
|
||||||
|
sort.c
|
||||||
|
spaces.c
|
||||||
|
splay-tree.c
|
||||||
|
strerror.c
|
||||||
|
strsignal.c
|
||||||
|
ternary.c
|
||||||
|
xatexit.c
|
||||||
|
xexit.c
|
||||||
|
xmalloc.c
|
||||||
|
xmemdup.c
|
||||||
|
xstrdup.c
|
||||||
|
xstrerror.c
|
||||||
|
|
||||||
|
# optional sources, depending on missing capabilities of the OS
|
||||||
|
# TODO: We should check what is really needed! This is what configure gave
|
||||||
|
# me, but some of those should be provided by Haiku.
|
||||||
|
basename.c
|
||||||
|
clock.c
|
||||||
|
getpagesize.c
|
||||||
|
index.c
|
||||||
|
insque.c
|
||||||
|
mempcpy.c
|
||||||
|
mkstemps.c
|
||||||
|
rindex.c
|
||||||
|
sigsetmask.c
|
||||||
|
stpncpy.c
|
||||||
|
strncmp.c
|
||||||
|
vfork.c
|
||||||
|
: [ FCurrentObjectsDir ]
|
||||||
|
;
|
||||||
|
|
||||||
|
# restore CCFLAGS
|
||||||
|
CCFLAGS = $(originalCCFlags) ;
|
||||||
Reference in New Issue
Block a user