makefiles: Generate rules for building tool binaries.
[wine.git] / tools / wrc / Makefile.in
blobb6f80936776843db31147347456f3415e6de6362
1 PROGRAMS = wrc
2 MANPAGES = wrc.man.in
4 C_SRCS = \
5 dumpres.c \
6 genres.c \
7 newstruc.c \
8 po.c \
9 readres.c \
10 translation.c \
11 utils.c \
12 wrc.c \
13 writeres.c
15 LEX_SRCS = parser.l
16 BISON_SRCS = parser.y
18 wrc_EXTRADEFS = -DINCLUDEDIR="\"${includedir}\""
20 EXTRALIBS = $(GETTEXTPO_LIBS) $(LIBWPP) $(LIBWINE_STATIC)
22 .PHONY: install install-dev uninstall
24 install install-dev:: wrc$(EXEEXT) install-man-pages
25 $(INSTALL_PROGRAM) wrc$(EXEEXT) $(DESTDIR)$(bindir)/wrc$(EXEEXT)
27 uninstall::
28 $(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT)