Build all the programs with winegcc.
[wine] / programs / winedbg / Makefile.in
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ../..
3 SRCDIR    = @srcdir@
4 VPATH     = @srcdir@
5 MODULE    = winedbg.exe
6 APPMODE   = -mconsole
7 IMPORTS   = ntdll
8 DELAYIMPORTS = user32
9
10 C_SRCS = \
11         break.c \
12         db_disasm.c \
13         display.c \
14         elf.c \
15         expr.c \
16         ext_debugger.c \
17         gdbproxy.c \
18         hash.c \
19         info.c \
20         memory.c \
21         module.c \
22         msc.c \
23         pe.c \
24         registers.c \
25         source.c \
26         stabs.c \
27         stack.c \
28         types.c \
29         winedbg.c
30
31 EXTRA_SRCS = dbg.y debug.l
32 EXTRA_OBJS = y.tab.o @LEX_OUTPUT_ROOT@.o
33
34 @MAKE_PROG_RULES@
35
36 y.tab.c y.tab.h: dbg.y
37         $(YACC) -d -t $(SRCDIR)/dbg.y
38
39 # hack to allow parallel make
40 y.tab.h: y.tab.c
41 y.tab.o: y.tab.h
42
43 @LEX_OUTPUT_ROOT@.c: debug.l
44         $(LEX) -8 -I $(SRCDIR)/debug.l
45
46 @LEX_OUTPUT_ROOT@.o: y.tab.h
47
48 ### Dependencies: