makefiles: Generate all the test rules inside the corresponding shell function.
[wine/multimedia.git] / tools / wrc / Makefile.in
blob77eeecb06fdc3e3e8801e66ea86eb885b8700000
1 DEFS = -DINCLUDEDIR="\"$(includedir)\""
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 EXEEXT = @EXEEXT@
7 DEFS = -D__WINESRC__ $(EXTRADEFS)
9 PROGRAMS = wrc$(EXEEXT) wrc-installed
10 MANPAGES = wrc.man
11 MODULE = none
13 C_SRCS = \
14 dumpres.c \
15 genres.c \
16 newstruc.c \
17 readres.c \
18 translation.c \
19 utils.c \
20 wrc.c \
21 writeres.c
23 LEX_SRCS = parser.l
24 BISON_SRCS = parser.y
26 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
28 all: $(PROGRAMS) $(MANPAGES)
30 @MAKE_RULES@
32 wrc$(EXEEXT): $(OBJS) $(LIBWPP)
33 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_LOCAL)
35 wrc-installed: $(OBJS) $(LIBWPP)
36 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL)
38 install install-dev:: wrc-installed $(MANPAGES) $(INSTALLDIRS)
39 $(INSTALL_DATA) wrc.man $(DESTDIR)$(mandir)/man$(prog_manext)/wrc.$(prog_manext)
40 $(INSTALL_PROGRAM) wrc-installed $(DESTDIR)$(bindir)/wrc$(EXEEXT)
42 uninstall::
43 $(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wrc.$(prog_manext)