diff options
author | K. Richard Pixley <rich@cygnus> | 1991-05-19 07:27:02 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-05-19 07:27:02 +0000 |
commit | beff312ea7d0f3aec7bb7c5bc83cc4cacc18823b (patch) | |
tree | 5f4380926c837fcac6c4d094fa9c8401752205db /gdb/Makefile.dist | |
parent | 3c81fef579137cf5c8f0d06b8b5a187465358cf6 (diff) | |
download | gdb-beff312ea7d0f3aec7bb7c5bc83cc4cacc18823b.zip gdb-beff312ea7d0f3aec7bb7c5bc83cc4cacc18823b.tar.gz gdb-beff312ea7d0f3aec7bb7c5bc83cc4cacc18823b.tar.bz2 |
configure changes and -opcode.h movement.
Diffstat (limited to 'gdb/Makefile.dist')
-rwxr-xr-x | gdb/Makefile.dist | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/gdb/Makefile.dist b/gdb/Makefile.dist index fffccd2..4771214 100755 --- a/gdb/Makefile.dist +++ b/gdb/Makefile.dist @@ -75,10 +75,14 @@ INCLUDE_DEP = $$(INCLUDE_DIR) BFD_DIR = ${srcdir}/../bfd BFD_DEP = $$(BFD_DIR) +# the parent of the directory in which live the readline headers. +READLINE_DIR = ${srcdir}/.. +READLINE_DEP = $$(READLINE_DIR) + # All the includes used for CFLAGS and for lint. # -I. for config files. # -I${srcdir} possibly for regex.h also. -INCLUDE_CFLAGS = -I. -I${srcdir} -I$(INCLUDE_DIR) -I${srcdir}/vx-share +INCLUDE_CFLAGS = -I. -I${srcdir} -I$(INCLUDE_DIR) -I$(READLINE_DIR) -I${srcdir}/vx-share # {X,T}M_CFLAGS, if defined, has system-dependent CFLAGS. # CFLAGS for both GDB and readline. @@ -106,9 +110,9 @@ TERMCAP = -ltermcap # For example, -lPW for System V to get alloca(). # FIXME STOPGAP FOR BFD LIBRARY: BFD stuff CLIBS = ${TERMCAP} $(XM_CLIBS) ${TM_CLIBS} ${BFD_DIR}${subdir}/libbfd.a \ - ${LIBIBERTY} -CDEPS = ${XM_CDEPS} ${TM_CDEPS} ${BFD_DIR}/libbfd.a \ - ${LIBIBERTY} + ${LIBIBERTY} ${READLINE_DIR}/readline${subdir}/libreadline.a +CDEPS = ${XM_CDEPS} ${TM_CDEPS} ${BFD_DIR}${subdir}/libbfd.a \ + ${LIBIBERTY} ${READLINE_DIR}/readline${subdir}/libreadline.a ADD_FILES = ${REGEX} ${ALLOCA} ${GNU_MALLOC} ADD_DEPS = ${REGEX1} ${ALLOCA1} ${GNU_MALLOC} @@ -176,9 +180,11 @@ HFILES= breakpoint.h command.h defs.h environ.h \ target.h tdesc.h terminal.h tm-68k.h tm-i960.h tm-sunos.h \ value.h -OPCODES = pn-opcode.h np1-opcode.h sparc-opcode.h vax-opcode.h m68k-opcode.h \ - ns32k-opcode.h convx-opcode.h pyr-opcode.h mips-opcode.h \ - am29k-opcode.h +OPCODES = $(INCLUDE_DIR)/pn-opcode.h $(INCLUDE_DIR)/np1-opcode.h \ + $(INCLUDE_DIR)/sparc-opcode.h $(INCLUDE_DIR)/vax-opcode.h \ + $(INCLUDE_DIR)/m68k-opcode.h $(INCLUDE_DIR)/ns32k-opcode.h \ + $(INCLUDE_DIR)/convx-opcode.h $(INCLUDE_DIR)/pyr-opcode.h \ + $(INCLUDE_DIR)/mips-opcode.h $(INCLUDE_DIR)/am29k-opcode.h REMOTE_EXAMPLES = rem-m68k.shar rem-multi.shar @@ -229,7 +235,7 @@ TSSTART = /lib/crt0.o NTSSTART = kdb-start.o -RL_LIB = readline/libreadline.a +RL_LIB = ../readline/libreadline.a RL_LIB_DEP = $(RL_LIB) # Prevent Sun make from putting in the machine type. Setting @@ -357,7 +363,7 @@ depend: $(SOURCES) Makefile.dist @echo can safely be ignored. @echo Also ignore parse errors in valops.c, and any errors in @echo arm-convert.s. - -$(GCC) -MM $(CFLAGS) -I$(BFD_DIR) \ + -$(GCC) -MM $(CFLAGS) -I$(READLINE_DIR) -I$(BFD_DIR) \ `ls $(SOURCES) | sort -u` >depend.tmp <depend.tmp sed -e 's/ [xt]m.h/& config.status/g' \ -e 's; vx-share/; $${srcdir}/vx-share/;g' \ |