Removed .s files.
[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 IMPORTS   = user32 gdi32 advapi32 kernel32 ntdll
9
10 C_SRCS = \
11         break.c \
12         db_disasm.c \
13         display.c \
14         editline.c \
15         expr.c \
16         hash.c \
17         info.c \
18         memory.c \
19         module.c \
20         msc.c \
21         registers.c \
22         source.c \
23         stabs.c \
24         stack.c \
25         types.c \
26         winedbg.c
27
28 SPEC_SRCS = winedbg.spec
29
30 EXTRA_SRCS = dbg.y debug.l
31 EXTRA_OBJS = y.tab.o lex.yy.o
32
33 all: $(PROGRAMS)
34
35 @MAKE_RULES@
36
37 y.tab.c y.tab.h: dbg.y
38         $(YACC) -d -t $(SRCDIR)/dbg.y
39
40 lex.yy.c: debug.l
41         $(LEX) -8 -I $(SRCDIR)/debug.l
42
43 winedbg: $(OBJS)
44         $(CC) -o $@ $(OBJS) $(DLL_LINK) $(LIBS) $(LDFLAGS)
45
46 install:: $(PROGRAMS)
47         [ -d $(bindir) ] || $(MKDIR) $(bindir)
48         $(INSTALL_PROGRAM) winedbg $(bindir)/winedbg
49
50 uninstall::
51         $(RM) $(bindir)/winedbg
52
53 ### Dependencies: