aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.am
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-08-05 16:03:56 +0000
committerIan Lance Taylor <ian@airs.com>1999-08-05 16:03:56 +0000
commita7e78dae7988898f4fa1accb446d3b73c395ee37 (patch)
treef734f58ee676590eeeacad2eb2e1044941029e70 /ld/Makefile.am
parent9750fcc50285f800fb0544098e1af2f11653828a (diff)
downloadgdb-a7e78dae7988898f4fa1accb446d3b73c395ee37.zip
gdb-a7e78dae7988898f4fa1accb446d3b73c395ee37.tar.gz
gdb-a7e78dae7988898f4fa1accb446d3b73c395ee37.tar.bz2
1999-08-05 Donn Terry <donn@interix.com>
* emulparams/i386pe.sh: Define ENTRY, SUBSYSTEM, and INITIAL_SYMBOL_CHAQR. * emulparams/i386pe_posix.sh: New file. * Makefile.am (YACC): If bison is not in the source tree, use @YACC@ rather than bison -y. (LEX): If flex is not in the source tree, use @LEX@ rather than flex. (ALL_EMULATIONS): Add ei386pe_posix.o. (ei386pe_posix.c): New target. * configure.tgt (i[3456]86-*-interix*): New target. * configure.host (i[3456]86-pc-interix*): New host. * Makefile.in: Rebuild.
Diffstat (limited to 'ld/Makefile.am')
-rw-r--r--ld/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am
index 788e9ec..3e7f23b 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -9,9 +9,9 @@ SUBDIRS = po
tooldir = $(exec_prefix)/$(target_alias)
-YACC = `if [ -f ../bison/bison ] ; then echo ../bison/bison -y -L$(srcdir)/../bison/ ; else echo bison -y ; fi`
+YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
YFLAGS = -d
-LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi`
+LEX = `if [ -f ../flex/flex ]; then echo ../flex/flex; else echo @LEX@; fi`
# We put the scripts in the directory $(scriptdir)/ldscripts.
# We can't put the scripts in $(datadir) because the SEARCH_DIR
@@ -158,6 +158,7 @@ ALL_EMULATIONS = \
ei386nbsd.o \
ei386nw.o \
ei386pe.o \
+ ei386pe_posix.o \
elnk960.o \
em68k4knbsd.o \
em68kaout.o \
@@ -469,6 +470,9 @@ ei386nw.c: $(srcdir)/emulparams/i386nw.sh \
ei386pe.c: $(srcdir)/emulparams/i386pe.sh \
$(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
${GENSCRIPTS} i386pe "$(tdir_i386pe)"
+ei386pe_posix.c: $(srcdir)/emulparams/i386pe_posix.sh \
+ $(srcdir)/emultempl/pe.em $(srcdir)/scripttempl/pe.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} i386pe_posix "$(tdir_i386pe_posix)"
elnk960.c: $(srcdir)/emulparams/lnk960.sh \
$(srcdir)/emultempl/lnk960.em $(srcdir)/scripttempl/i960.sc ${GEN_DEPENDS}
${GENSCRIPTS} lnk960 "$(tdir_lnk960)"