Don't output register function code if it's a forwarded entry point.
[wine] / tools / winebuild / Makefile.in
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ../..
3 SRCDIR    = @srcdir@
4 VPATH     = @srcdir@
5 EXEEXT    = @EXEEXT@
6
7 PROGRAMS = winebuild$(EXEEXT)
8 MODULE   = none
9
10 C_SRCS = \
11         import.c \
12         main.c \
13         parser.c \
14         relay.c \
15         res16.c \
16         res32.c \
17         spec16.c \
18         spec32.c \
19         utils.c
20
21 all: $(PROGRAMS) winebuild.man
22
23 @MAKE_RULES@
24
25 winebuild$(EXEEXT): $(OBJS)
26         $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBUNICODE) $(LIBPORT) $(LDFLAGS)
27
28 winebuild.man: winebuild.man.in
29         sed -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(SRCDIR)/winebuild.man.in >$@ || $(RM) $@
30
31 install:: $(PROGRAMS) winebuild.man
32         $(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
33         $(INSTALL_PROGRAM) winebuild$(EXEEXT) $(bindir)/winebuild$(EXEEXT)
34         $(INSTALL_DATA) winebuild.man $(mandir)/man$(prog_manext)/winebuild.$(prog_manext)
35
36 uninstall::
37         $(RM) $(bindir)/winebuild$(EXEEXT) $(mandir)/man$(prog_manext)/winebuild.$(prog_manext)
38
39 clean::
40         $(RM) winebuild.man
41
42 ### Dependencies: