wined3d: Don't change the draw buffer in IWineD3DDeviceImpl_SetFrontBackBuffers().
[wine] / tools / Makefile.in
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR    = @srcdir@
4 VPATH     = @srcdir@
5 EXEEXT    = @EXEEXT@
6 MODULE    = none
7 DEFS      = -D__WINESRC__ $(EXTRADEFS)
8 EXTRAINCL = @FREETYPEINCL@
9 FREETYPELIBS = @FREETYPELIBS@
10
11 PROGRAMS = \
12         fnt2bdf$(EXEEXT) \
13         fnt2fon$(EXEEXT) \
14         make_ctests$(EXEEXT) \
15         relpath$(EXEEXT) \
16         sfnt2fnt$(EXEEXT) \
17         wine.inf \
18         wineprefixcreate
19
20 MANPAGES = \
21         winemaker.man \
22         wineprefixcreate.man
23
24 C_SRCS = \
25         fnt2bdf.c \
26         fnt2fon.c \
27         make_ctests.c \
28         makedep.c \
29         relpath.c \
30         sfnt2fnt.c
31
32 EXTRASUBDIRS = winapi
33
34 INSTALLDIRS = \
35         $(DESTDIR)$(bindir) \
36         $(DESTDIR)$(datadir)/applications \
37         $(DESTDIR)$(datadir)/wine \
38         $(DESTDIR)$(mandir)/man$(prog_manext)
39
40 UPDATE_DESKTOP_DATABASE = update-desktop-database
41
42 all: makedep$(EXEEXT) $(PROGRAMS) $(MANPAGES)
43
44 @MAKE_RULES@
45
46 makedep$(EXEEXT) $(EXEEXT:%=makedep): makedep.o
47         $(CC) $(CFLAGS) -o $@ makedep.o $(LDFLAGS)
48
49 make_ctests$(EXEEXT): make_ctests.o
50         $(CC) $(CFLAGS) -o $@ make_ctests.o $(LDFLAGS)
51
52 fnt2bdf$(EXEEXT): fnt2bdf.o
53         $(CC) $(CFLAGS) -o $@ fnt2bdf.o $(LIBPORT) $(LDFLAGS)
54
55 fnt2fon$(EXEEXT): fnt2fon.o
56         $(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT) $(LDFLAGS)
57
58 relpath$(EXEEXT): relpath.o
59         $(CC) $(CFLAGS) -o $@ relpath.o $(LIBPORT) $(LDFLAGS)
60
61 sfnt2fnt$(EXEEXT): sfnt2fnt.o relpath$(EXEEXT)
62         $(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(FREETYPELIBS) $(LDRPATH_LOCAL)
63
64 wine.inf: wine.inf.in
65         LC_ALL=C sed -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(SRCDIR)/wine.inf.in >$@ || ($(RM) $@ && false)
66
67 wineprefixcreate: wineprefixcreate.in relpath$(EXEEXT)
68         sed -e "s,@bintodlldir\@,`$(RELPATH) $(bindir) $(dlldir)`,g" -e "s,@bintodatadir\@,`$(RELPATH) $(bindir) $(datadir)/wine`,g" $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
69         chmod +x wineprefixcreate
70
71 install install-lib:: wine.inf wineprefixcreate $(INSTALLDIRS)
72         $(INSTALL_SCRIPT) wineprefixcreate $(DESTDIR)$(bindir)/wineprefixcreate
73         $(INSTALL_DATA) wine.inf $(DESTDIR)$(datadir)/wine/wine.inf
74         $(INSTALL_DATA) $(SRCDIR)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
75         $(INSTALL_DATA) wineprefixcreate.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext)
76         -$(UPDATE_DESKTOP_DATABASE)
77
78 install install-dev:: $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
79         $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(DESTDIR)$(bindir)/winemaker
80         $(INSTALL_DATA) winemaker.man $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
81
82 uninstall::
83         $(RM) $(DESTDIR)$(bindir)/winemaker $(DESTDIR)$(bindir)/wineprefixcreate $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext) $(DESTDIR)$(datadir)/wine/wine.inf $(DESTDIR)$(datadir)/applications/wine.desktop
84         -$(UPDATE_DESKTOP_DATABASE)
85
86 depend: makedep$(EXEEXT)