ADD_FILES = ${REGEX} ${ALLOCA} ${GNU_MALLOC} ${XM_ADD_FILES} ${TM_ADD_FILES}
ADD_DEPS = ${REGEX1} ${ALLOCA1} ${GNU_MALLOC} ${XM_ADD_FILES} ${TM_ADD_FILES}
-VERSION = 4.2.2
+VERSION = 4.2.3
DIST=gdb
LINT=/usr/5bin/lint
-LINTFLAGS=
+LINTFLAGS= -I${BFD_DIR}
# Source files in the main directory.
# Files which are included via a tconfig/* or xconfig/* file
remote.c source.c stack.c symmisc.c symtab.c symfile.c \
utils.c valarith.c valops.c valprint.c values.c c-exp.y m2-exp.y \
signame.c cplus-dem.c mem-break.c target.c inftarg.c \
- dbxread.c coffread.c elfread.c dwarfread.c \
+ dbxread.c coffread.c elfread.c dwarfread.c xcoffread.c \
ieee-float.c language.c parse.c buildsym.c
-# xcoffread.c xcoffexec.c \
# Source files in subdirectories (which will be handled separately by
# 'make gdb.tar.Z').
# tdesc-lib cannot be named simply tdesc, because if it were, GNU make
# would try to make it from tdesc.c.
-# tdesc-lib removed from the list due to Motorola copyrights...gnu@cygnus.com
OTHERS = Makefile.in depend alldeps.mak createtags munch configure.in \
ChangeLog ChangeLog-3.x refcard.ps \
README TODO TAGS WHATS.NEW Projects \
.gdbinit COPYING $(YYFILES) \
copying.c Convex.notes copying.awk \
- saber.suppress standalone.c stuff.c kdb-start.c \
+ saber.suppress standalone.c stuff.c tdesc-lib kdb-start.c \
putenv.c
# Subdirectories of gdb, which should be included in their entirety in
copying.o $(DEPFILES) signame.o cplus-dem.o mem-break.o target.o \
inftarg.o ieee-float.o putenv.o parse.o language.o $(YYOBJ) \
buildsym.o \
- dbxread.o coffread.o elfread.o dwarfread.o # mipsread.o
-# xcoffexec.o xcoffread.o \
+ dbxread.o coffread.o elfread.o dwarfread.o xcoffread.o # mipsread.o
RAPP_OBS = rgdb.o rudp.o rserial.o serial.o udp.o $(XDEPFILES)
(cd $(srcdir)/doc; $(MAKE) rdl-apps.texi)
# Make copying.c from COPYING
-copying.c : COPYING copying.awk
- awk -f copying.awk < COPYING > copying.c
+copying.c: ${srcdir}/COPYING ${srcdir}/copying.awk
+ awk -f ${srcdir}/copying.awk < ${srcdir}/COPYING > copying.c
version.c : Makefile.in
echo 'char *version = "$(VERSION)";' >version.c
xcoffread.o: ${srcdir}/xcoffread.c
${CC} -c ${CFLAGS} -I$(BFD_DIR) ${srcdir}/xcoffread.c
+xcoffexec.o: ${srcdir}/xcoffexec.c
+ ${CC} -c ${CFLAGS} -I$(BFD_DIR) ${srcdir}/xcoffexec.c
+
# Drag in the files that are in another directory.
xdr_ld.o: ${srcdir}/vx-share/xdr_ld.c
ttyflush.o: ${srcdir}/nindy-share/ttyflush.c
${CC} -c ${CFLAGS} ${srcdir}/nindy-share/ttyflush.c
-tdesc-lib/libdc.o : force_update
- cd tdesc-lib ; ${MAKE} "SYSV_DEFINE=${SYSV_DEFINE}"
+disasm.o: $(srcdir)/tdesc-lib/disasm.c
+ $(CC) -c $(CFLAGS) $(srcdir)/tdesc-lib/disasm.c
+
+classify.o: $(srcdir)/tdesc-lib/classify.c
+ $(CC) -c $(CFLAGS) $(srcdir)/tdesc-lib/classify.c
+
+fcns.o: $(srcdir)/tdesc-lib/fcns.c
+ $(CC) -c $(CFLAGS) $(srcdir)/tdesc-lib/fcns.c
+
+table.o: $(TABHDRS) $(srcdir)/tdesc-lib/table.c
+ $(CC) -c $(CFLAGS) $(srcdir)/tdesc-lib/table.c
lint: $(LINTFILES)
- $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES)
+ $(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
+ `echo ${DEPFILES} | sed 's/\.o /\.c /g'
gdb.cxref: $(SFILES)
cxref -I. $(SFILES) >gdb.cxref