winedump: Dump streams names information out of ROOT object.
[wine] / tools / wrc / Makefile.in
1 DEFS      = -D__WINESRC__ -DINCLUDEDIR="\"$(includedir)\"" $(EXTRADEFS)
2 PROGRAMS = wrc$(EXEEXT) wrc-installed
3 MANPAGE  = wrc.man
4 ALL_LIBS = @LIBGETTEXTPO@ $(LIBWPP) $(LIBWINE) $(LIBPORT)
5
6 C_SRCS = \
7         dumpres.c \
8         genres.c \
9         newstruc.c \
10         po.c \
11         readres.c \
12         translation.c \
13         utils.c \
14         wrc.c \
15         writeres.c
16
17 LEX_SRCS   = parser.l
18 BISON_SRCS = parser.y
19
20 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
21
22 all: $(PROGRAMS)
23
24 @MAKE_RULES@
25
26 wrc$(EXEEXT): $(OBJS) $(LIBWPP)
27         $(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS) $(LDRPATH_LOCAL)
28
29 wrc-installed: $(OBJS) $(LIBWPP)
30         $(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS) $(LDRPATH_INSTALL)
31
32 install:: wrc-installed $(DESTDIR)$(bindir)
33         $(INSTALL_PROGRAM) wrc-installed $(DESTDIR)$(bindir)/wrc$(EXEEXT)
34
35 uninstall::
36         $(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT)