progman: Add close button and sysmenu to dialogs.
[wine/gsoc_dplay.git] / tools / wrc / Makefile.in
blob3207b20c8781c8d6f009c90a1e18b99bbfdbe6aa
1 DEFS = -DINCLUDEDIR="\"$(includedir)\""
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 EXEEXT = @EXEEXT@
8 PROGRAMS = wrc$(EXEEXT)
9 MANPAGES = wrc.man
10 MODULE = none
12 C_SRCS = \
13 dumpres.c \
14 genres.c \
15 newstruc.c \
16 readres.c \
17 translation.c \
18 utils.c \
19 wrc.c \
20 writeres.c
22 EXTRA_SRCS = parser.y parser.l
23 EXTRA_OBJS = parser.tab.o @LEX_OUTPUT_ROOT@.o
25 all: $(PROGRAMS) $(MANPAGES)
27 @MAKE_RULES@
29 wrc$(EXEEXT): $(OBJS) $(LIBDIR)/wpp/libwpp.a
30 $(CC) $(CFLAGS) -o $@ $(OBJS) -L$(LIBDIR) -lwpp -lwine_unicode -lwine_port $(LEXLIB) $(LDFLAGS)
32 parser.tab.c parser.tab.h: parser.y
33 $(BISON) -d -t $(SRCDIR)/parser.y -o parser.tab.c
35 # hack to allow parallel make
36 parser.tab.h: parser.tab.c
37 parser.tab.o: parser.tab.h
39 @LEX_OUTPUT_ROOT@.c: parser.l
40 $(LEX) $(SRCDIR)/parser.l
42 @LEX_OUTPUT_ROOT@.o: parser.tab.h
44 install:: $(PROGRAMS) $(MANPAGES)
45 $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
46 $(INSTALL_DATA) wrc.man $(DESTDIR)$(mandir)/man$(prog_manext)/wrc.$(prog_manext)
47 $(INSTALL_PROGRAM) wrc$(EXEEXT) $(DESTDIR)$(bindir)/wrc$(EXEEXT)
49 uninstall::
50 $(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT) $(DESTDIR)$(mandir)/man$(prog_manext)/wrc.$(prog_manext)
52 ### Dependencies: