mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-09 10:00:39 +00:00
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.
This commit is contained in:
parent
e60606c0af
commit
e4e61e7b97
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35697
|
@ -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.).
|
||||
|
|
|
@ -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.).
|
||||
|
|
Loading…
Reference in a new issue