[rtems commit] build: Merge libdebugger/Makefile.am
Sebastian Huber
sebh at rtems.org
Wed Oct 10 12:01:00 UTC 2018
Module: rtems
Branch: master
Commit: bab7a688fd595a7820132bb97ba58e4c3f0b9a18
Changeset: http://git.rtems.org/rtems/commit/?id=bab7a688fd595a7820132bb97ba58e4c3f0b9a18
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Sep 14 06:16:36 2018 +0200
build: Merge libdebugger/Makefile.am
---
cpukit/Makefile.am | 21 ++++++++++++++++++++-
cpukit/configure.ac | 1 -
cpukit/libdebugger/Makefile.am | 22 ----------------------
3 files changed, 20 insertions(+), 24 deletions(-)
diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am
index bf8b2c2..35b47e4 100644
--- a/cpukit/Makefile.am
+++ b/cpukit/Makefile.am
@@ -343,7 +343,6 @@ _SUBDIRS += libmd
_SUBDIRS += libgnat
_SUBDIRS += libdl
_SUBDIRS += libstdthreads
-_SUBDIRS += libdebugger
_SUBDIRS += wrapup
# other libraries
@@ -362,6 +361,26 @@ libftpd_a_SOURCES =
libftpd_a_SOURCES += ftpd/ftpd.c
libftpd_a_SOURCES += ftpd/ftpd-init.c
+if LIBDEBUGGER
+
+project_lib_LIBRARIES += libdebugger.a
+
+$(PROJECT_LIB)/libdebugger.a: libdebugger.a
+ $(INSTALL_DATA) $< $(PROJECT_LIB)/libdebugger.a
+TMPINSTALL_FILES += $(PROJECT_LIB)/libdebugger.a
+
+libdebugger_a_SOURCES =
+libdebugger_a_SOURCES += libdebugger/rtems-debugger-block.c
+libdebugger_a_SOURCES += libdebugger/rtems-debugger-cmd.c
+libdebugger_a_SOURCES += libdebugger/rtems-debugger-remote.c
+libdebugger_a_SOURCES += libdebugger/rtems-debugger-remote-tcp.c
+libdebugger_a_SOURCES += libdebugger/rtems-debugger- at RTEMS_CPU@.c
+libdebugger_a_SOURCES += libdebugger/rtems-debugger-server.c
+libdebugger_a_SOURCES += libdebugger/rtems-debugger-target.c
+libdebugger_a_SOURCES += libdebugger/rtems-debugger-threads.c
+
+endif
+
include $(top_srcdir)/automake/subdirs.am
include $(top_srcdir)/automake/local.am
include $(srcdir)/headers.am
diff --git a/cpukit/configure.ac b/cpukit/configure.ac
index 5c1efa0..6b7c719 100644
--- a/cpukit/configure.ac
+++ b/cpukit/configure.ac
@@ -509,7 +509,6 @@ libi2c/Makefile
libmd/Makefile
libdl/Makefile
libstdthreads/Makefile
-libdebugger/Makefile
zlib/Makefile
telnetd/Makefile
pppd/Makefile
diff --git a/cpukit/libdebugger/Makefile.am b/cpukit/libdebugger/Makefile.am
deleted file mode 100644
index 6ff35d1..0000000
--- a/cpukit/libdebugger/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-include $(top_srcdir)/automake/compile.am
-
-if LIBDEBUGGER
-
-project_lib_LIBRARIES = libdebugger.a
-libdebugger_a_SOURCES = \
- rtems-debugger-block.c \
- rtems-debugger-cmd.c \
- rtems-debugger-remote.c \
- rtems-debugger-server.c \
- rtems-debugger-target.c \
- rtems-debugger-remote-tcp.c \
- rtems-debugger-threads.c \
- rtems-debugger- at RTEMS_CPU@.c
-
-$(PROJECT_LIB)/libdebugger.a: libdebugger.a
- $(INSTALL_DATA) $< $(PROJECT_LIB)/libdebugger.a
-TMPINSTALL_FILES = $(PROJECT_LIB)/libdebugger.a
-
-endif
-
-include $(top_srcdir)/automake/local.am
More information about the vc
mailing list