Added version info to 16-bit shell.dll.
[wine/multimedia.git] / tools / wrc / Makefile.in
bloba4baae630e888e643654ad6c74afc757eb829ebe
1 DEFS = -D__WINE__
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 LEXOPT = -Cf #-w -b
7 YACCOPT = #-v
8 EXEEXT = @EXEEXT@
10 PROGRAMS = wrc$(EXEEXT)
11 MODULE = none
13 C_SRCS = \
14 dumpres.c \
15 genres.c \
16 newstruc.c \
17 preproc.c \
18 readres.c \
19 utils.c \
20 wrc.c \
21 writeres.c
23 GEN_C_SRCS = ppy.tab.c lex.ppl.c
24 EXTRA_SRCS = parser.y parser.l
25 EXTRA_OBJS = y.tab.o @LEX_OUTPUT_ROOT@.o
27 all: $(PROGRAMS)
29 @MAKE_RULES@
31 wrc: $(OBJS)
32 $(CC) $(CFLAGS) -o wrc $(OBJS) $(LIBWINE) $(LIBUNICODE) $(LEXLIB) $(LDFLAGS)
34 wrc.exe: $(OBJS)
35 $(CC) $(CFLAGS) -o wrc.exe $(OBJS) $(LIBWINE) $(LIBUNICODE) $(LEXLIB) -liberty $(LDFLAGS)
37 y.tab.c y.tab.h: parser.y
38 $(YACC) $(YACCOPT) -d -t $(SRCDIR)/parser.y
40 ppy.tab.c ppy.tab.h: ppy.y
41 $(YACC) $(YACCOPT) -bppy -ppp -d -t $(SRCDIR)/ppy.y
43 @LEX_OUTPUT_ROOT@.c: parser.l
44 $(LEX) $(LEXOPT) -d -8 $(SRCDIR)/parser.l
46 lex.ppl.c: ppl.l
47 $(LEX) $(LEXOPT) -d -Ppp -8 -olex.ppl.c $(SRCDIR)/ppl.l
49 clean::
50 $(RM) ppy.tab.h ppy.output parser.output parser.tab.h lex.backup y.output
52 install:: $(PROGRAMS)
53 $(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
54 $(INSTALL_DATA) $(SRCDIR)/wrc.man $(mandir)/man$(prog_manext)/wrc.$(prog_manext)
55 $(INSTALL_PROGRAM) wrc $(bindir)/wrc
57 uninstall::
58 $(RM) $(bindir)/wrc $(mandir)/man$(prog_manext)/wrc.$(prog_manext)
60 ### Dependencies: