diff options
author | Yao Qi <yao@codesourcery.com> | 2011-03-09 06:10:40 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2011-03-09 06:10:40 +0000 |
commit | e637a4f593b43a9acde23545c162e708b52a342f (patch) | |
tree | 1096ae146166084ee62c2e196c370614ecbbd4ca /gdb/gdbserver/Makefile.in | |
parent | f976a05dc4248be8f62c220c490b22eb5798f63b (diff) | |
download | gdb-e637a4f593b43a9acde23545c162e708b52a342f.zip gdb-e637a4f593b43a9acde23545c162e708b52a342f.tar.gz gdb-e637a4f593b43a9acde23545c162e708b52a342f.tar.bz2 |
gdb/
2011-03-09 Yao Qi <yao@codesourcery.com>
Revert:
2011-02-11 Yao Qi <yao@codesourcery.com>
* common/Makefile.in: Add copyright header.
2011-02-11 Yao Qi <yao@codesourcery.com>
* Makefile.in: Remove signals.o from COMMON_OBS. Link
libcommon.a.
* configure.ac: Add common to sub dir.
* configure: Regenerate.
gdb/gdbserver/
2011-03-09 Yao Qi <yao@codesourcery.com>
Revert:
2011-03-04 Yao Qi <yao@codesourcery.com>
* Makefile.in: Remove GNU make feature --directory.
2011-03-05 Yao Qi <yao@codesourcery.com>
* Makefile.in (CLEANDIRS, REQUIRED_SUBDIRS): New variable.
(subdir_do): New make target. Copied from gdb/Makefile.
(maintainer-clean, realclean, distclean, clean): Call corresponding
make targets in common/Makefile.
2011-02-11 Yao Qi <yao@codesourcery.com>
* configure.ac: Call AC_PROG_RANLIB.
* Makefile.in: Remove signals.o from OBS. Link libcommon.a.
* configure: Regenerate.
Diffstat (limited to 'gdb/gdbserver/Makefile.in')
-rw-r--r-- | gdb/gdbserver/Makefile.in | 61 |
1 files changed, 6 insertions, 55 deletions
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index 81cf25a..c2da867 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in @@ -45,8 +45,6 @@ includedir = @includedir@ SHELL = /bin/sh EXEEXT = @EXEEXT@ -PWD_COMMAND = $${PWDCMD-pwd} -RANLIB = @RANLIB@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ @@ -132,17 +130,10 @@ DEPFILES = @GDBSERVER_DEPFILES@ LIBOBJS = @LIBOBJS@ -LIBCOMMON_DIR = common -LIBCOMMON = $(LIBCOMMON_DIR)/libcommon.a -LIBCOMMON_SRC = $(srcdir)/$(LIBCOMMON_DIR) - -CLEANDIRS = $(LIBCOMMON_DIR) -REQUIRED_SUBDIRS = no-required-subdir-yet - SOURCES = $(SFILES) TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS} -OBS = inferiors.o regcache.o remote-utils.o server.o target.o \ +OBS = inferiors.o regcache.o remote-utils.o server.o signals.o target.o \ utils.o version.o \ mem-break.o hostio.o event-loop.o tracepoint.o \ $(XML_BUILTIN) \ @@ -199,32 +190,6 @@ FLAGS_TO_PASS = \ all: gdbserver$(EXEEXT) gdbreplay$(EXEEXT) $(extra_libraries) -$(LIBCOMMON): $(LIBCOMMON_DIR)/Makefile - @$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=common subdir_do - -common/Makefile: configure-common config.status - CONFIG_FILES="common/Makefile" \ - CONFIG_COMMANDS="depfiles" \ - CONFIG_HEADERS= \ - CONFIG_LINKS= \ - $(SHELL) config.status - -configure-common: - @: $(MAKE); $(unstage) - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - test ! -f common/Makefile || exit 0; \ - $(SHELL) $(srcdir)/../../mkinstalldirs common ; \ - $(HOST_EXPORTS) \ - echo Configuring in common; \ - cd "common" || exit 1; \ - commondir="$$s/../common"; \ - srcdiroption="--srcdir=$${commondir}"; \ - $(SHELL) $${commondir}/configure --enable-gdbserver=yes \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} $${srcdiroption} \ - || exit 1 - # Traditionally "install" depends on "all". But it may be useful # not to; for example, if the user has made some trivial change to a # source file and doesn't care about rebuilding or just wants to save the @@ -259,10 +224,10 @@ html: install-html: clean-info: -gdbserver$(EXEEXT): $(OBS) ${ADD_DEPS} ${CDEPS} $(LIBCOMMON) +gdbserver$(EXEEXT): $(OBS) ${ADD_DEPS} ${CDEPS} rm -f gdbserver$(EXEEXT) ${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbserver$(EXEEXT) $(OBS) \ - $(LIBCOMMON) $(GDBSERVER_LIBS) $(XM_CLIBS) + $(GDBSERVER_LIBS) $(XM_CLIBS) gdbreplay$(EXEEXT): $(GDBREPLAY_OBS) rm -f gdbreplay$(EXEEXT) @@ -294,7 +259,6 @@ TAGS: ${TAGFILES} tags: TAGS clean: - @$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(CLEANDIRS)" subdir_do rm -f *.o ${ADD_FILES} *~ rm -f version.c rm -f gdbserver$(EXEEXT) gdbreplay$(EXEEXT) core make.log @@ -326,22 +290,6 @@ config.h: stamp-h ; @true stamp-h: config.in config.status CONFIG_FILES="" CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status -subdir_do: force - @for i in $(DODIRS); do \ - case $$i in \ - $(REQUIRED_SUBDIRS)) \ - if [ ! -f ./$$i/Makefile ] ; then \ - echo "Missing $$i/Makefile" >&2 ; \ - exit 1 ; \ - fi ;; \ - esac ; \ - if [ -f ./$$i/Makefile ] ; then \ - if (cd ./$$i; \ - $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \ - else exit 1 ; fi ; \ - else true ; fi ; \ - done - Makefile: Makefile.in config.status CONFIG_HEADERS="" $(SHELL) ./config.status @@ -435,6 +383,9 @@ tracepoint.o: tracepoint.c $(server_h) $(srcdir)/../common/ax.def utils.o: utils.c $(server_h) gdbreplay.o: gdbreplay.c config.h +signals.o: ../common/signals.c $(server_h) $(signals_def) + $(CC) -c $(CPPFLAGS) $(INTERNAL_CFLAGS) $< -DGDBSERVER + # We build memmem.c without -Werror because this file is not under # our control. On LynxOS, the compiler generates some warnings # because str-two-way.h uses a constant (MAX_SIZE) whose definition |