ddraw/tests: Fix compilation on systems that don't support nameless unions.
[wine.git] / tools / wrc / Makefile.in
blob056de1cb34315ffd7e62b7e0cac30f69cb68e513
1 PROGRAMS = wrc$(EXEEXT)
2 MANPAGES = wrc.man.in
3 ALL_LIBS = $(GETTEXTPO_LIBS) $(LIBWPP) $(LIBWINE_STATIC) $(LIBPORT)
5 C_SRCS = \
6 dumpres.c \
7 genres.c \
8 newstruc.c \
9 po.c \
10 readres.c \
11 translation.c \
12 utils.c \
13 wrc.c \
14 writeres.c
16 LEX_SRCS = parser.l
17 BISON_SRCS = parser.y
19 wrc_EXTRADEFS = -DINCLUDEDIR="\"${includedir}\""
21 OBJS = $(C_SRCS:.c=.o) $(BISON_SRCS:.y=.tab.o) $(LEX_SRCS:.l=.yy.o)
23 wrc$(EXEEXT): $(OBJS) $(LIBWPP)
24 $(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS)
26 .PHONY: install install-dev uninstall
28 install install-dev:: wrc$(EXEEXT) install-man-pages
29 $(INSTALL_PROGRAM) wrc$(EXEEXT) $(DESTDIR)$(bindir)/wrc$(EXEEXT)
31 uninstall::
32 $(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT)