Release 941227
[wine/multimedia.git] / debugger / Imakefile
bloba6c260c5cb799f90371eb311f6a25abb2566e616
1 #include "../Wine.tmpl"
3 #define IHaveSubdirs
4 #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CC=$(CC)' 'MAKE=$(MAKE)'\
5                         'LD=$(LD)'
7 MODULE = debugger
9 SUBDIRS = opcodes readline
11 DEFINES = -DUSE_READLINE -Iopcodes
13 SRCS = \
14         dbg.tab.c \
15         break.c \
16         hash.c \
17         lex.yy.c \
18         info.c
20 SUBDIRS_OBJS = \
21         opcodes/opcodes.o \
22         readline/readline.o
24 OBJS = $(SRCS:.c=.o) $(SUBDIRS_OBJS)
27  * All the SUBDIR stuff
28  */
29 MakeSubdirs($(SUBDIRS))
30 DependSubdirs($(SUBDIRS))
33  * The main act
34  */
35 WineRelocatableTarget($(MODULE),,$(OBJS))
37 depend:: dbg.tab.c dbg.tab.h lex.yy.c
39 DependTarget()
41 includes::
43 install::
45 clean::
46         $(RM) lex.yy.c dbg.tab* y.tab.c
48 dbg.tab.c dbg.tab.h: dbg.y
49         $(YACC) -b dbg -d dbg.y
51 lex.yy.c: debug.l
52         $(LEX) -I debug.l