mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 07:08:01 +08:00
2012-04-19 Pedro Alves <palves@redhat.com>
* Makefile.in (GNULIB_INCLUDE_DIR): Rename to ... (INCGNU): ... this, and spell out -I here. (GNULIB_LIB): Rename to ... (LIBGNU): ... this. (INCLUDE_CFLAGS, gdbserver$(EXEEXT), $(GNULIB_LIB) rule): Adjust.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
2012-04-19 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* Makefile.in (GNULIB_INCLUDE_DIR): Rename to ...
|
||||||
|
(INCGNU): ... this, and spell out -I here.
|
||||||
|
(GNULIB_LIB): Rename to ...
|
||||||
|
(LIBGNU): ... this.
|
||||||
|
(INCLUDE_CFLAGS, gdbserver$(EXEEXT), $(GNULIB_LIB) rule): Adjust.
|
||||||
|
|
||||||
2012-04-19 Pedro Alves <palves@redhat.com>
|
2012-04-19 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* config.in: Regenerate.
|
* config.in: Regenerate.
|
||||||
|
@ -76,8 +76,8 @@ ustlibs = @ustlibs@
|
|||||||
ustinc = @ustinc@
|
ustinc = @ustinc@
|
||||||
|
|
||||||
# gnulib
|
# gnulib
|
||||||
GNULIB_INCLUDE_DIR = $(srcdir)/../gnulib
|
LIBGNU = gnulib/libgnu.a
|
||||||
GNULIB_LIB = gnulib/libgnu.a
|
INCGNU = -I$(srcdir)/../gnulib
|
||||||
|
|
||||||
# We build gnulib directly under the gdbserver build directory, but
|
# We build gnulib directly under the gdbserver build directory, but
|
||||||
# its sources don't live directly under gdbserver's source directory.
|
# its sources don't live directly under gdbserver's source directory.
|
||||||
@ -97,7 +97,7 @@ GNULIB_H = gnulib/string.h @GNULIB_STDINT_H@
|
|||||||
# -I$(srcdir)/../regformats for regdef.h.
|
# -I$(srcdir)/../regformats for regdef.h.
|
||||||
INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../common \
|
INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../common \
|
||||||
-I$(srcdir)/../regformats -I$(INCLUDE_DIR) \
|
-I$(srcdir)/../regformats -I$(INCLUDE_DIR) \
|
||||||
-I$(GNULIB_INCLUDE_DIR)
|
$(INCGNU)
|
||||||
|
|
||||||
# M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS
|
# M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS
|
||||||
# from the config/ directory.
|
# from the config/ directory.
|
||||||
@ -252,12 +252,12 @@ install-html:
|
|||||||
clean-info: force
|
clean-info: force
|
||||||
@cd gnulib; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) $@
|
@cd gnulib; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) $@
|
||||||
|
|
||||||
gdbserver$(EXEEXT): $(OBS) ${ADD_DEPS} ${CDEPS} $(GNULIB_LIB)
|
gdbserver$(EXEEXT): $(OBS) ${ADD_DEPS} ${CDEPS} $(LIBGNU)
|
||||||
rm -f gdbserver$(EXEEXT)
|
rm -f gdbserver$(EXEEXT)
|
||||||
${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbserver$(EXEEXT) $(OBS) \
|
${CC-LD} $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) -o gdbserver$(EXEEXT) $(OBS) \
|
||||||
$(GNULIB_LIB) $(GDBSERVER_LIBS) $(XM_CLIBS)
|
$(LIBGNU) $(GDBSERVER_LIBS) $(XM_CLIBS)
|
||||||
|
|
||||||
$(GNULIB_LIB) $(GNULIB_H): all-lib
|
$(LIBGNU) $(GNULIB_H): all-lib
|
||||||
all-lib: gnulib/Makefile
|
all-lib: gnulib/Makefile
|
||||||
@cd gnulib; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) all
|
@cd gnulib; $(MAKE) $(FLAGS_TO_PASS) $(GNULIB_FLAGS_TO_PASS) all
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user