55 lines
804 B
Makefile
55 lines
804 B
Makefile
DEFS = -DWINELIB
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = none
|
|
PROGRAMS = winedbg
|
|
|
|
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:
|