2 TOPSRCDIR = @top_srcdir@
8 IMPORTS = user32 gdi32 kernel32
28 SPEC_SRCS = winedbg.spec
30 EXTRA_SRCS = dbg.y debug.l
31 EXTRA_OBJS = y.tab.o lex.yy.o
39 y.tab.c y.tab.h: dbg.y
40 $(YACC) -d -t $(SRCDIR)/dbg.y
43 $(LEX) -8 -I $(SRCDIR)/debug.l
46 $(CC) -o $@ $(OBJS) $(DLL_LINK) $(LIBS)
49 [ -d $(bindir) ] || $(MKDIR) $(bindir)
50 $(INSTALL_PROGRAM) winedbg $(bindir)/winedbg
53 $(RM) $(bindir)/winedbg