mirror of
https://github.com/reactos/wine.git
synced 2024-12-03 09:20:56 +00:00
52 lines
927 B
Makefile
52 lines
927 B
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = winedbg.exe
|
|
APPMODE = -mconsole
|
|
IMPORTS = dbghelp advapi32 kernel32 ntdll
|
|
DELAYIMPORTS = user32
|
|
|
|
C_SRCS = \
|
|
be_alpha.c \
|
|
be_i386.c \
|
|
be_ppc.c \
|
|
break.c \
|
|
db_disasm.c \
|
|
display.c \
|
|
expr.c \
|
|
gdbproxy.c \
|
|
info.c \
|
|
memory.c \
|
|
source.c \
|
|
symbol.c \
|
|
stack.c \
|
|
types.c \
|
|
winedbg.c
|
|
|
|
EXTRA_SRCS = dbg.y debug.l
|
|
EXTRA_OBJS = y.tab.o @LEX_OUTPUT_ROOT@.o
|
|
|
|
@MAKE_PROG_RULES@
|
|
|
|
y.tab.c y.tab.h: dbg.y
|
|
$(YACC) -d -t $(SRCDIR)/dbg.y
|
|
|
|
# hack to allow parallel make
|
|
y.tab.h: y.tab.c
|
|
y.tab.o: y.tab.h
|
|
|
|
@LEX_OUTPUT_ROOT@.c: debug.l
|
|
$(LEX) -8 -I $(SRCDIR)/debug.l
|
|
|
|
@LEX_OUTPUT_ROOT@.o: y.tab.h
|
|
|
|
install::
|
|
$(MKINSTALLDIRS) $(mandir)/man$(prog_manext)
|
|
$(INSTALL_DATA) $(SRCDIR)/winedbg.man $(mandir)/man$(prog_manext)/winedbg.$(prog_manext)
|
|
|
|
uninstall::
|
|
$(RM) $(mandir)/man$(prog_manext)/winedbg.$(prog_manext)
|
|
|
|
### Dependencies:
|