summaryrefslogtreecommitdiffstats
path: root/c/src/librdbg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-11 15:39:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-11 15:39:24 +0000
commit87fad5c200fafbf64b8a4a469581878aaa0b6af1 (patch)
tree6a5818c2e384e939ae3fe61098d756d26e5d7ff4 /c/src/librdbg
parentPatch from Ralf Corsepius <corsepiu@faw.uni-ulm.de> to move librdbg (diff)
downloadrtems-87fad5c200fafbf64b8a4a469581878aaa0b6af1.tar.bz2
Added as part of moving librdbg to its own top level package. This was
done as part of a patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
Diffstat (limited to 'c/src/librdbg')
-rw-r--r--c/src/librdbg/Makefile.am11
-rw-r--r--c/src/librdbg/configure.in65
-rw-r--r--c/src/librdbg/include/Makefile.am11
-rw-r--r--c/src/librdbg/src/Makefile.am25
-rw-r--r--c/src/librdbg/src/i386/Makefile.am15
-rw-r--r--c/src/librdbg/src/powerpc/Makefile.am14
6 files changed, 141 insertions, 0 deletions
diff --git a/c/src/librdbg/Makefile.am b/c/src/librdbg/Makefile.am
new file mode 100644
index 0000000000..e74c9e748c
--- /dev/null
+++ b/c/src/librdbg/Makefile.am
@@ -0,0 +1,11 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.4
+ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
+
+SUBDIRS = include src
+
+include $(top_srcdir)/../../../automake/subdirs.am
+include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/librdbg/configure.in b/c/src/librdbg/configure.in
new file mode 100644
index 0000000000..6c7a0f419a
--- /dev/null
+++ b/c/src/librdbg/configure.in
@@ -0,0 +1,65 @@
+dnl Process this file with autoconf to produce a configure script.
+dnl
+dnl $Id$
+
+AC_PREREQ(2.13)
+AC_INIT(src/awk.svc)
+RTEMS_TOP(../../..)
+AC_CONFIG_AUX_DIR(../../..)
+
+RTEMS_CANONICAL_TARGET_CPU
+
+AM_INIT_AUTOMAKE(rtems-c-src-librdbg,$RTEMS_VERSION,no)
+AM_MAINTAINER_MODE
+
+RTEMS_ENABLE_NETWORKING
+RTEMS_ENABLE_RDBG
+RTEMS_ENABLE_LIBCDIR
+RTEMS_ENABLE_BARE
+
+RTEMS_ENV_RTEMSBSP
+
+RTEMS_CHECK_CPU
+RTEMS_CANONICAL_HOST
+
+RTEMS_PROJECT_ROOT
+
+dnl check target cc
+RTEMS_PROG_CC_FOR_TARGET
+RTEMS_CANONICALIZE_TOOLS
+
+AC_CHECK_PROG(RPCGEN,rpcgen,rpcgen)
+AC_PROG_AWK
+
+if test "$RPCGEN" = "no"; then
+ AC_MSG_ERROR([missing rpcgen, required to build librdbg])
+fi
+if test "$AWK" = "no"; then
+ AC_MSG_ERROR([missing awk, required to build librdbg])
+fi
+
+RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
+RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
+RTEMS_CHECK_NETWORKING(RTEMS_BSP)
+RTEMS_CHECK_RDBG(bspdir)
+
+AM_CONDITIONAL(HAS_RDBG,test "$HAS_RDBG" = "yes")
+
+PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
+AC_SUBST(PROJECT_INCLUDE)
+
+RTEMS_PROJECT_ROOT
+
+# Try to explicitly list a Makefile here
+AC_OUTPUT(
+Makefile
+include/Makefile
+include/rdbg/Makefile
+include/rdbg/i386/Makefile
+include/rdbg/powerpc/Makefile
+src/Makefile
+src/i386/Makefile
+src/i386/pc386/Makefile
+src/powerpc/Makefile
+src/powerpc/mcp750/Makefile
+)
diff --git a/c/src/librdbg/include/Makefile.am b/c/src/librdbg/include/Makefile.am
new file mode 100644
index 0000000000..1f56857d20
--- /dev/null
+++ b/c/src/librdbg/include/Makefile.am
@@ -0,0 +1,11 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.4
+ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
+
+SUBDIRS = rdbg
+
+include $(top_srcdir)/../../../automake/subdirs.am
+include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/librdbg/src/Makefile.am b/c/src/librdbg/src/Makefile.am
new file mode 100644
index 0000000000..1b0435f479
--- /dev/null
+++ b/c/src/librdbg/src/Makefile.am
@@ -0,0 +1,25 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.4
+ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
+
+SUBDIRS = $(RTEMS_CPU)
+
+EXTRA_DIST = \
+_servtgt.c \
+awk.svc \
+excep.c \
+ptrace.c \
+rdbg.c \
+remdeb.x \
+servbkpt.c \
+servcon.c \
+servrpc.c \
+servtgt.c \
+servtsp.c \
+servutil.c
+
+include $(top_srcdir)/../../../automake/subdirs.am
+include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/librdbg/src/i386/Makefile.am b/c/src/librdbg/src/i386/Makefile.am
new file mode 100644
index 0000000000..0d44f9e427
--- /dev/null
+++ b/c/src/librdbg/src/i386/Makefile.am
@@ -0,0 +1,15 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.4
+ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
+
+SUBDIRS = pc386
+
+EXTRA_DIST = \
+excep_f.c rdbg_cpu_asm.S \
+excep.c rdbg_f.c
+
+include $(top_srcdir)/../../../automake/subdirs.am
+include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/librdbg/src/powerpc/Makefile.am b/c/src/librdbg/src/powerpc/Makefile.am
new file mode 100644
index 0000000000..14f0f46763
--- /dev/null
+++ b/c/src/librdbg/src/powerpc/Makefile.am
@@ -0,0 +1,14 @@
+##
+## $Id$
+##
+
+AUTOMAKE_OPTIONS = foreign 1.4
+ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
+
+SUBDIRS = mcp750
+
+EXTRA_DIST = \
+excep_f.c rdbg_cpu_asm.S rdbg_f.c
+
+include $(top_srcdir)/../../../automake/subdirs.am
+include $(top_srcdir)/../../../automake/local.am