DEFS = -DWINELIB TOPSRCDIR = @top_srcdir@ TOPOBJDIR = .. SRCDIR = @srcdir@ VPATH = @srcdir@ MODULE = none PROGRAMS = winedbg IMPORTS = user32 gdi32 advapi32 kernel32 C_SRCS = \ break.c \ db_disasm.c \ display.c \ editline.c \ expr.c \ hash.c \ info.c \ memory.c \ module.c \ msc.c \ registers.c \ source.c \ stabs.c \ stack.c \ types.c \ winedbg.c SPEC_SRCS = winedbg.spec EXTRA_SRCS = dbg.y debug.l EXTRA_OBJS = y.tab.o lex.yy.o all: $(PROGRAMS) depend: y.tab.h @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 winedbg: $(OBJS) $(CC) -o $@ $(OBJS) $(DLL_LINK) $(LIBS) install:: $(PROGRAMS) [ -d $(bindir) ] || $(MKDIR) $(bindir) $(INSTALL_PROGRAM) winedbg $(bindir)/winedbg uninstall:: $(RM) $(bindir)/winedbg ### Dependencies: