Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Move backend/os/bfd -> sysdeps/bfd; build bfdglue in backend/server.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Baulig committed Jul 31, 2010
1 parent 40676f3 commit 206e296
Show file tree
Hide file tree
Showing 165 changed files with 36 additions and 30 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
@@ -1,4 +1,4 @@
SUBDIRS = interface languages classes backend symbolwriter frontend test build
SUBDIRS = sysdeps interface languages classes backend symbolwriter frontend test build

DIST_SUBDIRS= doc $(SUBDIRS)

Expand Down
15 changes: 0 additions & 15 deletions backend/os/Makefile.am
@@ -1,16 +1 @@
SUBDIRS = bfd

noinst_LTLIBRARIES = libmonodebuggerbfdglue.la

libmonodebuggerbfdglue_la_SOURCES = \
bfdglue.c \
bfdglue.h

libmonodebuggerbfdglue_la_LIBADD = bfd/opcodes/libopcodes.la bfd/libbfd.la @BASE_DEPENDENCIES_LIBS@
libmonodebuggerbfdglue_la_LDFLAGS = -no-undefined -module -export-dynamic -shared

INCLUDES = -I$(srcdir)/bfd -I$(srcdir)/bfd/include -I$(srcdir)/bfd/opcodes @BASE_DEPENDENCIES_CFLAGS@

CLEANFILES = lib*.a lib*.dll

EXTRA_DIST = $(srcdir)/*.cs
26 changes: 21 additions & 5 deletions backend/server/Makefile.am
@@ -1,7 +1,21 @@
INCLUDES = @SERVER_DEPENDENCIES_CFLAGS@ @server_cflags@

lib_LTLIBRARIES = libmonodebuggerserver.la

noinst_LTLIBRARIES = libmonodebuggerbfdglue.la

libmonodebuggerbfdglue_la_SOURCES = \
bfdglue.c \
bfdglue.h

libmonodebuggerbfdglue_la_LIBADD = \
../../sysdeps/bfd/opcodes/libopcodes.la ../../sysdeps/bfd/libbfd.la
libmonodebuggerbfdglue_la_LDFLAGS = \
-no-undefined -module -export-dynamic -shared

libmonodebuggerbfdglue_la_CPPFLAGS = \
-I$(top_srcdir)/sysdeps/bfd \
-I$(top_srcdir)/sysdeps/bfd/include \
-I$(top_srcdir)/sysdeps/bfd/opcodes

EXTRA_libmonodebuggerserver_la_SOURCES = \
i386-arch.c \
i386-arch.h \
Expand All @@ -12,7 +26,6 @@ EXTRA_libmonodebuggerserver_la_SOURCES = \
x86-linux-ptrace.h \
x86-ptrace.c \
x86-ptrace.h

if PLATFORM_POWERPC
platform_sources =
else
Expand All @@ -23,18 +36,21 @@ platform_sources = \
thread-db.h
libmonodebuggerserver_la_LIBADD = \
@SERVER_DEPENDENCIES_LIBS@ \
../os/libmonodebuggerbfdglue.la
../../sysdeps/bfd/libbfd.la
else
platform_sources = \
x86-ptrace.c \
thread-db.c \
thread-db.h
libmonodebuggerserver_la_LIBADD = \
@SERVER_DEPENDENCIES_LIBS@ -lthread_db \
../os/libmonodebuggerbfdglue.la
libmonodebuggerbfdglue.la

endif
endif

libmonodebuggerserver_la_CPPFLAGS = @SERVER_DEPENDENCIES_CFLAGS@ @server_cflags@

libmonodebuggerserver_la_SOURCES = \
server.h \
library.c \
Expand Down
File renamed without changes.
File renamed without changes.
19 changes: 10 additions & 9 deletions configure.in
Expand Up @@ -368,20 +368,21 @@ interface/Makefile
classes/Makefile
build/Makefile
build/Mono.Debugger.dll.config
sysdeps/Makefile
sysdeps/bfd/libiberty/Makefile
sysdeps/bfd/opcodes/Makefile
sysdeps/bfd/Makefile
sysdeps/bfd/hosts/Makefile
sysdeps/bfd/include/Makefile
sysdeps/bfd/include/aout/Makefile
sysdeps/bfd/include/coff/Makefile
sysdeps/bfd/include/elf/Makefile
sysdeps/bfd/include/opcode/Makefile
backend/Makefile
backend/server/Makefile
backend/arch/Makefile
backend/mono/Makefile
backend/os/Makefile
backend/os/bfd/libiberty/Makefile
backend/os/bfd/opcodes/Makefile
backend/os/bfd/Makefile
backend/os/bfd/hosts/Makefile
backend/os/bfd/include/Makefile
backend/os/bfd/include/aout/Makefile
backend/os/bfd/include/coff/Makefile
backend/os/bfd/include/elf/Makefile
backend/os/bfd/include/opcode/Makefile
symbolwriter/Makefile
languages/Makefile
languages/mono/Makefile
Expand Down
2 changes: 2 additions & 0 deletions sysdeps/.gitignore
@@ -0,0 +1,2 @@
/Makefile
/Makefile.in
2 changes: 2 additions & 0 deletions sysdeps/Makefile.am
@@ -0,0 +1,2 @@
SUBDIRS = bfd

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 206e296

Please sign in to comment.