gdb/
2011-03-09 Yao Qi <yao@codesourcery.com> * common/Makefile.in: Remove. * common/configure: Remove. * common/configure.ac: Remove.
This commit is contained in:
parent
e637a4f593
commit
d9837b00fd
4 changed files with 6 additions and 4304 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2011-03-09 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
|
* common/Makefile.in: Remove.
|
||||||
|
* common/configure: Remove.
|
||||||
|
* common/configure.ac: Remove.
|
||||||
|
|
||||||
2011-03-09 Yao Qi <yao@codesourcery.com>
|
2011-03-09 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
Revert:
|
Revert:
|
||||||
|
|
|
@ -1,115 +0,0 @@
|
||||||
# Copyright (C) 2011
|
|
||||||
# Free Software Foundation, Inc.
|
|
||||||
#
|
|
||||||
# This file is part of GDB.
|
|
||||||
#
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
srcdir = @srcdir@
|
|
||||||
ACLOCAL = @ACLOCAL@
|
|
||||||
AUTOCONF = @AUTOCONF@
|
|
||||||
AUTOHEADER = @AUTOHEADER@
|
|
||||||
RANLIB = @RANLIB@
|
|
||||||
COMMON_CPU_OBJ = @COMMON_CPU_OBJ@
|
|
||||||
|
|
||||||
# CFLAGS is specifically reserved for setting from the command line
|
|
||||||
# when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
|
|
||||||
CFLAGS = @CFLAGS@
|
|
||||||
|
|
||||||
BFD_DIR = ../../bfd
|
|
||||||
BFD_SRC = $(srcdir)/$(BFD_DIR)
|
|
||||||
BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
|
|
||||||
|
|
||||||
INCLUDES = -I. -I../ -I$(srcdir) -I$(srcdir)/../../include @GDB_INCLUDE@
|
|
||||||
|
|
||||||
libcommon_a_OBJS = signals.o $(COMMON_CPU_OBJ)
|
|
||||||
libcommon_a_SOURCES = signals.c $(COMMON_CPU_SRC)
|
|
||||||
|
|
||||||
all: libcommon.a
|
|
||||||
|
|
||||||
signals.o: $(srcdir)/signals.c
|
|
||||||
$(COMPILE) $(srcdir)/signals.c
|
|
||||||
|
|
||||||
COMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) \
|
|
||||||
@GDB_FLAGS@ $(CPPFLAGS) $(ALL_CFLAGS) $(CFLAGS) -c
|
|
||||||
|
|
||||||
# Implicit rules
|
|
||||||
|
|
||||||
.c.o:
|
|
||||||
$(COMPILE) $(srcdir)/$<
|
|
||||||
|
|
||||||
|
|
||||||
.SUFFIXES:
|
|
||||||
.SUFFIXES: .c .o .obj
|
|
||||||
|
|
||||||
libcommon.a: $(libcommon_a_OBJS)
|
|
||||||
-rm -f $@
|
|
||||||
$(AR) $(ARFLAGS) $@ $(libcommon_a_OBJS)
|
|
||||||
$(RANLIB) $@
|
|
||||||
|
|
||||||
# Rules to rebuild the configuration
|
|
||||||
|
|
||||||
Makefile: $(srcdir)/Makefile.in config.status
|
|
||||||
$(SHELL) ./config.status Makefile
|
|
||||||
|
|
||||||
config.status: $(srcdir)/configure
|
|
||||||
$(SHELL) ./config.status --recheck
|
|
||||||
|
|
||||||
$(srcdir)/configure: $(srcdir)/aclocal.m4
|
|
||||||
cd $(srcdir) && $(AUTOCONF)
|
|
||||||
|
|
||||||
aclocal_deps = \
|
|
||||||
$(srcdir)/../../config/stdint.m4 \
|
|
||||||
$(srcdir)/../../config/warnings.m4 \
|
|
||||||
$(srcdir)/../../config/override.m4 \
|
|
||||||
$(srcdir)/configure.ac
|
|
||||||
|
|
||||||
$(srcdir)/aclocal.m4: $(aclocal_deps)
|
|
||||||
cd $(srcdir) && $(ACLOCAL) -I ../config
|
|
||||||
|
|
||||||
config.h: stamp-h1
|
|
||||||
test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1)
|
|
||||||
|
|
||||||
stamp-h1: $(srcdir)/config.in config.status
|
|
||||||
-rm -f stamp-h1
|
|
||||||
$(SHELL) ./config.status config.h
|
|
||||||
|
|
||||||
$(srcdir)/config.in: $(srcdir)/configure
|
|
||||||
cd $(srcdir) && $(AUTOHEADER)
|
|
||||||
-rm -f stamp-h1
|
|
||||||
|
|
||||||
clean mostlyclean:
|
|
||||||
-rm -f *~ *.o a.out
|
|
||||||
-rm libcommon.a
|
|
||||||
|
|
||||||
distclean maintainer-clean realclean: clean
|
|
||||||
-rm -f *~
|
|
||||||
-rm -f Makefile config.status config.log
|
|
||||||
|
|
||||||
.PHONY: install
|
|
||||||
install: all
|
|
||||||
|
|
||||||
.PHONY: install-only
|
|
||||||
install-only:
|
|
||||||
|
|
||||||
.PHONY: uninstall
|
|
||||||
uninstall:
|
|
||||||
|
|
||||||
.PHONY: check installcheck info dvi pdf html
|
|
||||||
.PHONY: install-info install-pdf install-html clean-info
|
|
||||||
check installcheck:
|
|
||||||
info dvi pdf html:
|
|
||||||
install-info install-pdf install-html:
|
|
||||||
clean-info:
|
|
||||||
|
|
4115
gdb/common/configure
vendored
4115
gdb/common/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -1,74 +0,0 @@
|
||||||
# -*- Autoconf -*-
|
|
||||||
# Process this file with autoconf to produce a configure script.
|
|
||||||
|
|
||||||
# Copyright 2011
|
|
||||||
# Free Software Foundation, Inc.
|
|
||||||
#
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# This program is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
AC_PREREQ(2.59)
|
|
||||||
AC_INIT(.)
|
|
||||||
|
|
||||||
AC_CANONICAL_BUILD
|
|
||||||
AC_CANONICAL_HOST
|
|
||||||
AC_CANONICAL_TARGET
|
|
||||||
|
|
||||||
AC_PROG_CC
|
|
||||||
AC_PROG_RANLIB
|
|
||||||
|
|
||||||
AC_CHECK_PROGS([ACLOCAL], [aclocal], [$MISSING aclocal])
|
|
||||||
AC_CHECK_PROGS([AUTOCONF], [autoconf], [$MISSING autoconf])
|
|
||||||
AC_CHECK_PROGS([AUTOHEADER], [autoheader], [$MISSING autoheader])
|
|
||||||
|
|
||||||
# Check for the 'make' the user wants to use.
|
|
||||||
AC_CHECK_PROGS(MAKE, make)
|
|
||||||
MAKE_IS_GNU=
|
|
||||||
case "`$MAKE --version 2>&1 | sed 1q`" in
|
|
||||||
*GNU*)
|
|
||||||
MAKE_IS_GNU=yes
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
AM_CONDITIONAL(GMAKE, test "$MAKE_IS_GNU" = yes)
|
|
||||||
AC_PROG_MAKE_SET
|
|
||||||
|
|
||||||
AC_SUBST(COMMON_CPU_OBJ)
|
|
||||||
AC_SUBST(COMMON_CPU_SRC)
|
|
||||||
|
|
||||||
# Add different object files to libcommon.a according to different host_cpu.
|
|
||||||
case "$host_cpu" in
|
|
||||||
*)
|
|
||||||
COMMON_CPU_OBJ=""
|
|
||||||
COMMON_CPU_SRC=""
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Determine whether or not build libcommon.a for gdbserver
|
|
||||||
AC_ARG_ENABLE(gdbserver,
|
|
||||||
[ --enable-gdbserver build libcommon.a for gdbserver],
|
|
||||||
[], [enable_gdbserver=no])
|
|
||||||
|
|
||||||
if test x"$enable_gdbserver" = xyes; then
|
|
||||||
GDB_FLAGS="-DGDBSERVER"
|
|
||||||
GDB_INCLUDE="-I\$(srcdir)/../gdbserver/"
|
|
||||||
else
|
|
||||||
GDB_FLAGS=""
|
|
||||||
GDB_INCLUDE="-I\$(srcdir)/../ -I\$(BFD_DIR)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(GDB_FLAGS)
|
|
||||||
AC_SUBST(GDB_INCLUDE)
|
|
||||||
|
|
||||||
AC_EXEEXT
|
|
||||||
|
|
||||||
AC_OUTPUT([Makefile])
|
|
Loading…
Add table
Reference in a new issue