1 DEFS = -DINCLUDEDIR="\"$(includedir)\""
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 EXEEXT = @EXEEXT@
7 DEFS = -D__WINESRC__ $(EXTRADEFS)
8
9 PROGRAMS = wrc$(EXEEXT) wrc-installed
10 MANPAGES = wrc.man
11 MODULE = none
12
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
22
23 LEX_SRCS = parser.l
24 BISON_SRCS = parser.y
25
26 INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
27
28 all: $(PROGRAMS) $(MANPAGES)
29
30 @MAKE_RULES@
31
32 wrc$(EXEEXT): $(OBJS) $(LIBWPP)
33 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_LOCAL)
34
35 wrc-installed: $(OBJS) $(LIBWPP)
36 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBWPP) $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(LDRPATH_INSTALL)
37
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)
41
42 uninstall::
43 $(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wrc.$(prog_manext)
44
45 parser.tab.c: parser.tab.h # for parallel makes
46
47 @DEPENDENCIES@ # everything below this line is overwritten by make depend
48
49 parser.yy.o: parser.tab.h
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.