build: Merge libdebugger/Makefile.am

This commit is contained in:
Sebastian Huber
2018-09-14 06:16:36 +02:00
parent 2532817c28
commit bab7a688fd
3 changed files with 20 additions and 24 deletions

View File

@@ -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-@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

View File

@@ -509,7 +509,6 @@ libi2c/Makefile
libmd/Makefile
libdl/Makefile
libstdthreads/Makefile
libdebugger/Makefile
zlib/Makefile
telnetd/Makefile
pppd/Makefile

View File

@@ -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-@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