configure: Remove the -mpreferred-stack-boundary option, this breaks MacOS.
[wine.git] / tools / wrc / Makefile.in
blobf482be4a20fe85732aec27960b05282fdaf6d8d1
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) $(bindir) $(mandir)/man$(prog_manext)
46 $(INSTALL_DATA) wrc.man $(mandir)/man$(prog_manext)/wrc.$(prog_manext)
47 $(INSTALL_PROGRAM) wrc$(EXEEXT) $(bindir)/wrc$(EXEEXT)
49 uninstall::
50 $(RM) $(bindir)/wrc$(EXEEXT) $(mandir)/man$(prog_manext)/wrc.$(prog_manext)
52 ### Dependencies: