mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
d19ad3962e
Added support for .mc extension. Do not try to open *.tab.h and *.mc.rc include files.
53 lines
847 B
Makefile
53 lines
847 B
Makefile
DEFS = -DWINELIB
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = none
|
|
PROGRAMS = winedbg
|
|
IMPORTS = user32 gdi32 advapi32 kernel32 ntdll
|
|
|
|
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)
|
|
|
|
@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) $(LDFLAGS)
|
|
|
|
install:: $(PROGRAMS)
|
|
[ -d $(bindir) ] || $(MKDIR) $(bindir)
|
|
$(INSTALL_PROGRAM) winedbg $(bindir)/winedbg
|
|
|
|
uninstall::
|
|
$(RM) $(bindir)/winedbg
|
|
|
|
### Dependencies:
|