diff options
author | bde <bde@FreeBSD.org> | 1998-05-04 17:56:22 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-05-04 17:56:22 +0000 |
commit | 2fe6b18abad7dd8f31c852eb5e2e7b938c6e3bd6 (patch) | |
tree | a98e0956e18042da26eb6d922f7322f1e88f2048 /gnu/usr.bin/gdb | |
parent | 7f7985f11a3eb31a76e1ff81a11a7b9c324c4e12 (diff) | |
download | FreeBSD-src-2fe6b18abad7dd8f31c852eb5e2e7b938c6e3bd6.zip FreeBSD-src-2fe6b18abad7dd8f31c852eb5e2e7b938c6e3bd6.tar.gz |
Simplified using new yacc rules. This is cosmetic - the old rules
worked because .ORDER prevented problems from concurrent generation
of multiple parsers (and their headers), and there were no missing
dependencies because the generated headers were not actually used.
Diffstat (limited to 'gnu/usr.bin/gdb')
-rw-r--r-- | gnu/usr.bin/gdb/gdb/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/usr.bin/gdb/gdb/Makefile b/gnu/usr.bin/gdb/gdb/Makefile index 5e0b755..9a90c02 100644 --- a/gnu/usr.bin/gdb/gdb/Makefile +++ b/gnu/usr.bin/gdb/gdb/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.32 1998/04/30 08:03:49 dfr Exp $ +# $Id: Makefile,v 1.33 1998/05/01 14:44:00 bde Exp $ PROG = gdb @@ -32,7 +32,7 @@ XSRCS = annotate.c blockframe.c breakpoint.c buildsym.c c-lang.c \ typeprint.c utils.c valarith.c valops.c \ valprint.c values.c version.c \ serial.c ser-unix.c ser-tcp.c mdebugread.c \ - c-exp.c f-exp.c m2-exp.c i387-tdep.c \ + c-exp.y f-exp.y m2-exp.y i387-tdep.c \ kvm-fbsd.c bcache.c \ corefile.c ch-exp.c f-lang.c scm-exp.c scm-lang.c \ scm-valprint.c f-typeprint.c f-valprint.c nlmread.c \ @@ -45,8 +45,9 @@ CFLAGS+= -I$(.CURDIR) -I${DESTDIR}/usr/include/readline -I${BFDDIR} CFLAGS+= -DNO_MMALLOC # uncomment the next line if you want to debug gdb #CFLAGS+= -g +YFLAGS= -CLEANFILES+= c-exp.c f-exp.c m2-exp.c init.c y.tab.h init.c-tmp +CLEANFILES= init.c init.c-tmp .if ${BINFORMAT} == elf @@ -83,8 +84,6 @@ LDADD= ${LIBBFD} -lreadline -lgnuregex ${LIBIBERTY} -ltermcap DPADD+= ${LIBIBERTY} LDADD+= ${LIBIBERTY} -.ORDER: c-exp.c f-exp.c m2-exp.c - # We do this by grepping through sources. If that turns out to be too slow, # maybe we could just require every .o file to have an initialization routine # of a given name (remote-udi.o -> _initialize_remote_udi, etc.). |