mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-16 13:10:55 +08:00
* Makefile.in (install): Do the sed for program_transform_name
ourselves instead of worrying about INSTALL_XFORM. This enables users to override INSTALL_PROGRAM in the standard way. * Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't depend on Makefile.in.
This commit is contained in:
@ -1,5 +1,12 @@
|
|||||||
Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
|
* Makefile.in (install): Do the sed for program_transform_name
|
||||||
|
ourselves instead of worrying about INSTALL_XFORM. This enables
|
||||||
|
users to override INSTALL_PROGRAM in the standard way.
|
||||||
|
|
||||||
|
* Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't
|
||||||
|
depend on Makefile.in.
|
||||||
|
|
||||||
* defs.h, valprint.c: Make longest_to_int a function not a macro.
|
* defs.h, valprint.c: Make longest_to_int a function not a macro.
|
||||||
Only test against INT_MIN if a LONGEST is bigger than an int.
|
Only test against INT_MIN if a LONGEST is bigger than an int.
|
||||||
|
|
||||||
|
@ -44,8 +44,6 @@ SHELL = /bin/sh
|
|||||||
INSTALL = `cd $(srcdir)/..;pwd`/install.sh -c
|
INSTALL = `cd $(srcdir)/..;pwd`/install.sh -c
|
||||||
INSTALL_PROGRAM = $(INSTALL)
|
INSTALL_PROGRAM = $(INSTALL)
|
||||||
INSTALL_DATA = $(INSTALL)
|
INSTALL_DATA = $(INSTALL)
|
||||||
INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
|
|
||||||
INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1
|
|
||||||
|
|
||||||
AR = ar
|
AR = ar
|
||||||
AR_FLAGS = qv
|
AR_FLAGS = qv
|
||||||
@ -494,8 +492,14 @@ gdb.z:gdb.1
|
|||||||
# install-only is intended to address that need.
|
# install-only is intended to address that need.
|
||||||
install: all install-only
|
install: all install-only
|
||||||
install-only:
|
install-only:
|
||||||
$(INSTALL_XFORM) gdb $(bindir)/gdb
|
transformed_name=`echo gdb | sed '$(program_transform_name)'` ; \
|
||||||
$(INSTALL_XFORM1) $(srcdir)/gdb.1 $(man1dir)/gdb.1
|
if test "x$$transformed_name" = x; then \
|
||||||
|
transformed_name=gdb ; \
|
||||||
|
else \
|
||||||
|
true ; \
|
||||||
|
fi ; \
|
||||||
|
$(INSTALL_PROGRAM) gdb $(bindir)/$$transformed_name ; \
|
||||||
|
$(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$transformed_name.1
|
||||||
@$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
|
@$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
|
||||||
|
|
||||||
uninstall: force
|
uninstall: force
|
||||||
@ -777,9 +781,10 @@ version.c: Makefile
|
|||||||
# would sometimes re-write it into $(srcdir)/c-exp.tab.c.
|
# would sometimes re-write it into $(srcdir)/c-exp.tab.c.
|
||||||
|
|
||||||
# Remove bogus decls for malloc/realloc/free which conflict with everything
|
# Remove bogus decls for malloc/realloc/free which conflict with everything
|
||||||
# else.
|
# else. Strictly speaking c-exp.tab.c should therefore depend on
|
||||||
|
# Makefile.in, but that was a pretty big annoyance.
|
||||||
c-exp.tab.o: c-exp.tab.c
|
c-exp.tab.o: c-exp.tab.c
|
||||||
c-exp.tab.c: c-exp.y Makefile.in
|
c-exp.tab.c: c-exp.y
|
||||||
$(YACC) $(YFLAGS) $(srcdir)/c-exp.y
|
$(YACC) $(YFLAGS) $(srcdir)/c-exp.y
|
||||||
-sed -e '/extern.*malloc/d' \
|
-sed -e '/extern.*malloc/d' \
|
||||||
-e '/extern.*realloc/d' \
|
-e '/extern.*realloc/d' \
|
||||||
@ -799,7 +804,7 @@ ch-exp.tab.o: ch-exp.tab.c
|
|||||||
# the dependency here on c-exp.tab.c is artificial. Without this
|
# the dependency here on c-exp.tab.c is artificial. Without this
|
||||||
# dependency, a parallel make will attempt to build both at the same
|
# dependency, a parallel make will attempt to build both at the same
|
||||||
# time and the second yacc will pollute the first y.tab.c file.
|
# time and the second yacc will pollute the first y.tab.c file.
|
||||||
ch-exp.tab.c: ch-exp.y Makefile.in c-exp.tab.c
|
ch-exp.tab.c: ch-exp.y c-exp.tab.c
|
||||||
$(YACC) $(YFLAGS) $(srcdir)/ch-exp.y
|
$(YACC) $(YFLAGS) $(srcdir)/ch-exp.y
|
||||||
-sed -e '/extern.*malloc/d' \
|
-sed -e '/extern.*malloc/d' \
|
||||||
-e '/extern.*realloc/d' \
|
-e '/extern.*realloc/d' \
|
||||||
@ -819,7 +824,7 @@ m2-exp.tab.o: m2-exp.tab.c
|
|||||||
# the dependency here on ch-exp.tab.c is artificial. Without this
|
# the dependency here on ch-exp.tab.c is artificial. Without this
|
||||||
# dependency, a parallel make will attempt to build both at the same
|
# dependency, a parallel make will attempt to build both at the same
|
||||||
# time and the second yacc will pollute the first y.tab.c file.
|
# time and the second yacc will pollute the first y.tab.c file.
|
||||||
m2-exp.tab.c: m2-exp.y Makefile.in ch-exp.tab.c
|
m2-exp.tab.c: m2-exp.y ch-exp.tab.c
|
||||||
$(YACC) $(YFLAGS) $(srcdir)/m2-exp.y
|
$(YACC) $(YFLAGS) $(srcdir)/m2-exp.y
|
||||||
-sed -e '/extern.*malloc/d' \
|
-sed -e '/extern.*malloc/d' \
|
||||||
-e '/extern.*realloc/d' \
|
-e '/extern.*realloc/d' \
|
||||||
|
Reference in New Issue
Block a user