Made the DLL version clash error message more verbose.
[wine.git] / tools / wrc / Makefile.in
blob17624d38b97b28065e8d228dadcc2de24e3ce434
1 DEFS = -D__WINE__
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 LEXOPT = -Cf #-w -b
7 YACCOPT = #-v
9 PROGRAMS = wrc@PROGEXT@
10 MODULE = none
12 C_SRCS = \
13 dumpres.c \
14 genres.c \
15 newstruc.c \
16 preproc.c \
17 readres.c \
18 utils.c \
19 wrc.c \
20 writeres.c
22 GEN_C_SRCS = ppy.tab.c lex.ppl.c
23 EXTRA_SRCS = parser.y parser.l
24 EXTRA_OBJS = y.tab.o lex.yy.o
26 all: $(PROGRAMS)
28 depend: y.tab.h ppy.tab.h
30 @MAKE_RULES@
32 wrc@PROGEXT@: $(OBJS)
33 $(CC) $(CFLAGS) -o wrc@PROGEXT@ $(OBJS) $(LEXLIB)
35 y.tab.c y.tab.h: parser.y
36 $(YACC) $(YACCOPT) -d -t $(SRCDIR)/parser.y
38 ppy.tab.c ppy.tab.h: ppy.y
39 $(YACC) $(YACCOPT) -bppy -ppp -d -t $(SRCDIR)/ppy.y
41 lex.yy.c: parser.l
42 $(LEX) $(LEXOPT) -d -8 $(SRCDIR)/parser.l
44 lex.ppl.c: ppl.l
45 $(LEX) $(LEXOPT) -d -Ppp -8 -olex.ppl.c $(SRCDIR)/ppl.l
47 clean::
48 $(RM) ppy.tab.h ppy.output lex.backup y.output
50 install:: $(PROGRAMS)
51 [ -d $(bindir) ] || $(MKDIR) $(bindir)
52 [ -d $(mandir)/man$(prog_manext) ] || $(MKDIR) $(mandir)/man$(prog_manext)
53 $(INSTALL_DATA) wrc.man $(mandir)/man$(prog_manext)/wrc.$(prog_manext)
54 $(INSTALL_PROGRAM) wrc $(bindir)/wrc
56 uninstall::
57 $(RM) $(bindir)/wrc $(mandir)/man$(prog_manext)/wrc.$(prog_manext)
59 ### Dependencies: