2 TOPSRCDIR = @top_srcdir@
8 IMPORTS = user32 gdi32 advapi32 kernel32 ntdll
28 SPEC_SRCS = winedbg.spec
30 EXTRA_SRCS = dbg.y debug.l
31 EXTRA_OBJS = y.tab.o lex.yy.o
37 y.tab.c y.tab.h: dbg.y
38 $(YACC) -d -t $(SRCDIR)/dbg.y
41 $(LEX) -8 -I $(SRCDIR)/debug.l
44 $(CC) -o $@ $(OBJS) $(DLL_LINK) $(LIBS) $(LDFLAGS)
47 [ -d $(bindir) ] || $(MKDIR) $(bindir)
48 $(INSTALL_PROGRAM) winedbg $(bindir)/winedbg
51 $(RM) $(bindir)/winedbg