Text of WWN article "The X11 driver".
[wine] / debugger / Makefile.in
1 DEFS      = -DWINELIB
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ..
4 SRCDIR    = @srcdir@
5 VPATH     = @srcdir@
6 MODULE    = none
7 PROGRAMS  = winedbg
8
9 C_SRCS = \
10         break.c \
11         db_disasm.c \
12         display.c \
13         editline.c \
14         expr.c \
15         hash.c \
16         info.c \
17         memory.c \
18         module.c \
19         msc.c \
20         registers.c \
21         source.c \
22         stabs.c \
23         stack.c \
24         types.c \
25         winedbg.c
26
27 SPEC_SRCS = winedbg.spec
28
29 EXTRA_SRCS = dbg.y debug.l
30 EXTRA_OBJS = y.tab.o lex.yy.o
31
32 all: $(PROGRAMS)
33
34 depend: y.tab.h
35
36 @MAKE_RULES@
37
38 y.tab.c y.tab.h: dbg.y
39         $(YACC) -d -t $(SRCDIR)/dbg.y
40
41 lex.yy.c: debug.l
42         $(LEX) -8 -I $(SRCDIR)/debug.l
43
44 winedbg: $(OBJS)
45         $(CC) -o $@ $(OBJS) $(DLL_LINK) $(LIBS)
46
47 install:: $(PROGRAMS)
48         [ -d $(bindir) ] || $(MKDIR) $(bindir)
49         $(INSTALL_PROGRAM) winedbg $(bindir)/winedbg
50
51 uninstall::
52         $(RM) $(bindir)/winedbg
53
54 ### Dependencies: