# 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$(READLINE_DIR) -I${srcdir}/vx-share
+INCLUDE_CFLAGS = -I. -I${srcdir} -I$(INCLUDE_DIR) -I$(READLINE_DIR) -I${srcdir}/vx-share -I${srcdir}/29k-share/include -I${srcdir}/29k-share/udi
# {X,T}M_CFLAGS, if defined, has system-dependent CFLAGS.
# CFLAGS for GDB
${srcdir}/nindy-share/demux.h \
${srcdir}/nindy-share/env.h \
${srcdir}/nindy-share/stop.h \
- ${srcdir}/nindy-share/ttycntl.h
+ ${srcdir}/nindy-share/ttycntl.h \
+ ${srcdir}/29k-share/include/coff.h \
+ ${srcdir}/29k-share/include/error.h \
+ ${srcdir}/29k-share/include/macros.h \
+ ${srcdir}/29k-share/include/main.h \
+ ${srcdir}/29k-share/include/memspcs.h \
+ ${srcdir}/29k-share/include/miniint.h \
+ ${srcdir}/29k-share/udi/udiphcfg.h \
+ ${srcdir}/29k-share/udi/udiphsun.h \
+ ${srcdir}/29k-share/udi/udiproc.h \
+ ${srcdir}/29k-share/udi/udipt29k.h \
+ ${srcdir}/29k-share/udi/udiptcfg.h \
+ ${srcdir}/29k-share/udi/udisoc.h
# Non-source files in subdirs, that should go into gdb.tar.Z.
NONSRC_SUBDIR = \
-e 's!xdr_ptrace.o!vx-share/xdr_ptrace.c!' \
-e 's!xdr_rdb.o!vx-share/xdr_rdb.c!' \
-e 's!xdr_regs.o!vx-share/xdr_regs.c!' \
+ -e 's!udr.o!29k-share/udi/udr.c!' \
+ -e 's!yank.o!29k-share/dfe/yank.c!' \
+ -e 's!udip2soc.o!29k-share/udi/udip2soc.c!' \
+ -e 's!mini2udi.o!29k-share/dfe/mini2udi.c!' \
-e 's/\.o/.c/' \
>alldeps2.tmp
echo '# Start of "alldeps.mak" definitions' \
depend: $(SOURCES) Makefile.in
@echo Ignore errors about non-existent system-supplied include files
@echo for systems other than the one you are using.
- @echo "If xm.h and tm.h don't exist, the error messages saying so"
- @echo can safely be ignored.
@echo Also ignore parse errors in valops.c, and any errors in
@echo arm-convert.s.
+ touch xm.h tm.h
-$(GCC) -MM -nostdinc -I/usr/include $(CFLAGS) -I$(BFD_DIR) \
- `ls $(SOURCES) | grep -v '\.[hy]$$' |sort -u` >depend.tmp
+ $(INCLUDE_CFLAGS) `ls $(SOURCES) | grep -v '\.[hy]$$' | \
+ sort -u` >depend.tmp
# If running in srcdir, translate "./foo.c" into "$srcdir/foo.c" except
# for xm.h and tm.h. This allows the same "depend" file to be used
# by the various subdirectories.
-e 's; \./; $${srcdir}/;g' \
-e 's; vx-share/; $${srcdir}/vx-share/;g' \
-e 's; nindy-share/; $${srcdir}/nindy-share/;g' \
+ -e 's; 29k-share/; $${srcdir}/29k-share/;g' \
>depend.tm2; \
rm depend.tmp; \
mv depend.tm2 depend.tmp; \
mkdir proto-gdb.dir/config
cd proto-gdb.dir/config ; \
for i in $(ALLCONFIG) ; do ln -s ../../$$i ../$$i ; done
- mkdir proto-gdb.dir/vx-share proto-gdb.dir/nindy-share
+ mkdir proto-gdb.dir/vx-share proto-gdb.dir/nindy-share \
+ proto-gdb.dir/29k-share
cd proto-gdb.dir/config ; \
for i in $(SFILES_SUBDIR) $(NONSRC_SUBDIR) $(ALLDEPFILES_SUBDIR); \
do ln -s ../../$$i ../$$i ; done
ttyflush.o: ${srcdir}/nindy-share/ttyflush.c
${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/nindy-share/ttyflush.c
+udr.o: ${srcdir}/29k-share/udi/udr.c
+ ${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/29k-share/udi/udr.c
+
+udip2soc.o: ${srcdir}/29k-share/udi/udip2soc.c
+ ${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/29k-share/udi/udip2soc.c
+
+mini2udi.o: ${srcdir}/29k-share/dfe/mini2udi.c
+ ${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/29k-share/dfe/mini2udi.c
+
+yank.o: ${srcdir}/29k-share/dfe/yank.c
+ ${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/29k-share/dfe/yank.c
+
lint: $(LINTFILES)
$(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
`echo ${DEPFILES} | sed 's/\.o /\.c /g'
+mini2udi.o : ${srcdir}/29k-share/dfe/mini2udi.c ${srcdir}/29k-share/include/main.h ${srcdir}/29k-share/include/types.h \
+ ${srcdir}/29k-share/include/memspcs.h ${srcdir}/29k-share/include/macros.h ${srcdir}/29k-share/include/miniint.h \
+ ${srcdir}/29k-share/udi/udiproc.h ${srcdir}/29k-share/udi/udiphcfg.h ${srcdir}/29k-share/udi/udiphsun.h \
+ ${srcdir}/29k-share/udi/udiptcfg.h ${srcdir}/29k-share/udi/udipt29k.h ${srcdir}/29k-share/udi/udiids.h \
+ ${srcdir}/29k-share/include/udiext.h ${srcdir}/29k-share/include/versions.h
+yank.o : ${srcdir}/29k-share/dfe/yank.c ${srcdir}/29k-share/include/coff.h ${srcdir}/29k-share/include/memspcs.h \
+ ${srcdir}/29k-share/include/main.h ${srcdir}/29k-share/include/types.h ${srcdir}/29k-share/include/miniint.h \
+ ${srcdir}/29k-share/include/macros.h ${srcdir}/29k-share/include/error.h
+udip2soc.o : ${srcdir}/29k-share/udi/udip2soc.c ${srcdir}/29k-share/udi/udiproc.h ${srcdir}/29k-share/udi/udiphcfg.h \
+ ${srcdir}/29k-share/udi/udiphsun.h ${srcdir}/29k-share/udi/udiptcfg.h ${srcdir}/29k-share/udi/udipt29k.h ${srcdir}/29k-share/udi/udisoc.h
+udr.o : ${srcdir}/29k-share/udi/udr.c ${srcdir}/29k-share/udi/udiproc.h ${srcdir}/29k-share/udi/udiphcfg.h \
+ ${srcdir}/29k-share/udi/udiphsun.h ${srcdir}/29k-share/udi/udiptcfg.h ${srcdir}/29k-share/udi/udipt29k.h ${srcdir}/29k-share/udi/udisoc.h
a68v-xdep.o : a68v-xdep.c defs.h ${srcdir}/../include/ansidecl.h xm.h config.status tm.h config.status inferior.h \
symtab.h ${srcdir}/../include/obstack.h breakpoint.h frame.h value.h gdbtypes.h expression.h \
gdbcore.h ${srcdir}/../include/bfd.h
mipsread.o : mipsread.c defs.h ${srcdir}/../include/ansidecl.h xm.h config.status tm-mips.h ${srcdir}/../include/coff/sym.h \
${srcdir}/../include/coff/symconst.h symtab.h ${srcdir}/../include/obstack.h gdbtypes.h gdbcore.h \
${srcdir}/../include/bfd.h symfile.h objfiles.h buildsym.h ${srcdir}/../include/coff/mips.h \
- ${srcdir}/../bfd/libaout.h ${srcdir}/../include/aout/aout64.h ${srcdir}/../include/aout/stab_gnu.h ${srcdir}/../include/aout/stab.def \
- ${srcdir}/../include/coff/ecoff-ext.h partial-stab.h
+ ${srcdir}/../include/coff/ecoff-ext.h ${srcdir}/../bfd/libaout.h ${srcdir}/../include/aout/aout64.h \
+ ${srcdir}/../include/aout/stab_gnu.h ${srcdir}/../include/aout/stab.def partial-stab.h
news-xdep.o : news-xdep.c
Onindy.o : ${srcdir}/nindy-share/Onindy.c ${srcdir}/nindy-share/ttycntl.h ${srcdir}/nindy-share/block_io.h \
${srcdir}/../include/wait.h ${srcdir}/nindy-share/env.h /usr/include/string.h
inferior.h symtab.h ${srcdir}/../include/obstack.h breakpoint.h value.h gdbtypes.h expression.h \
target.h ${srcdir}/../include/bfd.h gdbcore.h command.h ieee-float.h ${srcdir}/../include/wait.h \
${srcdir}/nindy-share/ttycntl.h ${srcdir}/nindy-share/demux.h ${srcdir}/nindy-share/env.h ${srcdir}/nindy-share/stop.h
+remote-udi.o : remote-udi.c defs.h ${srcdir}/../include/ansidecl.h xm.h config.status tm.h config.status inferior.h \
+ symtab.h ${srcdir}/../include/obstack.h breakpoint.h frame.h value.h gdbtypes.h expression.h \
+ ${srcdir}/../include/wait.h terminal.h target.h ${srcdir}/../include/bfd.h ${srcdir}/29k-share/udi/udiproc.h \
+ ${srcdir}/29k-share/udi/udiphcfg.h ${srcdir}/29k-share/udi/udiphsun.h ${srcdir}/29k-share/udi/udiptcfg.h \
+ ${srcdir}/29k-share/udi/udipt29k.h
remote-vx.o : remote-vx.c defs.h ${srcdir}/../include/ansidecl.h xm.h config.status tm.h config.status frame.h inferior.h \
symtab.h ${srcdir}/../include/obstack.h breakpoint.h value.h gdbtypes.h expression.h \
${srcdir}/../include/wait.h target.h ${srcdir}/../include/bfd.h gdbcore.h command.h symfile.h \
- ${srcdir}/vx-share/xdr_ptrace.h ${srcdir}/vx-share/xdr_regs.h ${srcdir}/vx-share/reg.h ${srcdir}/vx-share/xdr_ld.h \
- ${srcdir}/vx-share/xdr_rdb.h ${srcdir}/vx-share/dbgRpcLib.h
+ ${srcdir}/vx-share/xdr_ptrace.h ${srcdir}/vx-share/xdr_ld.h ${srcdir}/vx-share/xdr_rdb.h ${srcdir}/vx-share/dbgRpcLib.h
remote.o : remote.c defs.h ${srcdir}/../include/ansidecl.h xm.h config.status tm.h config.status frame.h inferior.h \
symtab.h ${srcdir}/../include/obstack.h breakpoint.h value.h gdbtypes.h expression.h \
target.h ${srcdir}/../include/bfd.h ${srcdir}/../include/wait.h terminal.h