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:
Ingo Weinhold
2005-03-26 23:35:57 +00:00
parent f0d5a638b1
commit 61b60efc91
2 changed files with 75 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
SubDir OBOS_TOP src bin gdb ;
SubInclude OBOS_TOP src bin gdb libiberty ;
SubInclude OBOS_TOP src bin gdb readline ;
+74
View File
@@ -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) ;