DEFS      = -D__WINE__ -DLIBDIR="\"$(libdir)\""
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ..
SRCDIR    = @srcdir@
VPATH     = @srcdir@
MODULE    = debugger

C_SRCS = \
	break.c \
	db_disasm.c \
	display.c \
	editline.c \
	expr.c \
	external.c \
	hash.c \
	info.c \
	memory.c \
	msc.c	\
	registers.c \
	source.c \
	stabs.c	\
	stack.c \
	types.c

EXTRA_SRCS = dbg.y debug.l
EXTRA_OBJS = y.tab.o lex.yy.o

all: $(MODULE).o

depend:: y.tab.h

#
# This is a special test program that helps debug the internal debugger.
#
debug: $(MODULE).o dbgmain.o ../misc/xmalloc.o
	$(CC) -o debug $(MODULE).o dbgmain.o ../misc/xmalloc.o

@MAKE_RULES@

y.tab.c y.tab.h: dbg.y
	$(YACC) -d -t $(SRCDIR)/dbg.y

lex.yy.c: debug.l
	$(LEX) -8 -I $(SRCDIR)/debug.l

clean::
	$(RM) y.tab.c y.tab.h lex.yy.c

### Dependencies:
