wined3d: Pass a sub-resource index instead of a miplevel to volume texture methods.
[wine] / tools / Makefile.in
1 DEFS      = -D__WINESRC__ $(EXTRADEFS)
2 EXTRAINCL = @FREETYPEINCL@
3 FREETYPELIBS = @FREETYPELIBS@
4
5 PROGRAMS = \
6         fnt2bdf$(EXEEXT) \
7         fnt2fon$(EXEEXT) \
8         make_ctests$(EXEEXT) \
9         relpath$(EXEEXT) \
10         sfnt2fnt$(EXEEXT) \
11         wine.inf \
12         wineapploader
13
14 MANPAGES = \
15         winemaker.man \
16         winemaker.de.man \
17         winemaker.fr.man
18
19 C_SRCS = \
20         fnt2bdf.c \
21         fnt2fon.c \
22         make_ctests.c \
23         makedep.c \
24         relpath.c \
25         sfnt2fnt.c
26
27 EXTRASUBDIRS = winapi
28
29 INSTALLDIRS = \
30         $(DESTDIR)$(bindir) \
31         $(DESTDIR)$(datadir)/applications \
32         $(DESTDIR)$(datadir)/wine \
33         $(DESTDIR)$(mandir)/man$(prog_manext) \
34         $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
35         $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)
36
37 UPDATE_DESKTOP_DATABASE = update-desktop-database
38
39 all: makedep$(EXEEXT) $(PROGRAMS) $(MANPAGES)
40
41 @MAKE_RULES@
42
43 makedep$(EXEEXT) $(EXEEXT:%=makedep): makedep.o
44         $(CC) $(CFLAGS) -o $@ makedep.o $(LDFLAGS)
45
46 make_ctests$(EXEEXT): make_ctests.o
47         $(CC) $(CFLAGS) -o $@ make_ctests.o $(LDFLAGS)
48
49 fnt2bdf$(EXEEXT): fnt2bdf.o
50         $(CC) $(CFLAGS) -o $@ fnt2bdf.o $(LIBPORT) $(LDFLAGS)
51
52 fnt2fon$(EXEEXT): fnt2fon.o
53         $(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT) $(LDFLAGS)
54
55 relpath$(EXEEXT): relpath.o
56         $(CC) $(CFLAGS) -o $@ relpath.o $(LIBPORT) $(LDFLAGS)
57
58 sfnt2fnt$(EXEEXT): sfnt2fnt.o relpath$(EXEEXT)
59         $(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(FREETYPELIBS) $(LDRPATH_LOCAL)
60
61 wine.inf: wine.inf.in
62         LC_ALL=C sed -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(srcdir)/wine.inf.in >$@ || ($(RM) $@ && false)
63
64 wineapploader: wineapploader.in
65         sed -e 's,@bindir\@,$(bindir),g' $(srcdir)/wineapploader.in >$@ || ($(RM) $@ && false)
66
67 install install-lib:: wine.inf $(INSTALLDIRS)
68         $(INSTALL_DATA) wine.inf $(DESTDIR)$(datadir)/wine/wine.inf
69         $(INSTALL_DATA) $(srcdir)/l_intl.nls $(DESTDIR)$(datadir)/wine/l_intl.nls
70         $(INSTALL_DATA) $(srcdir)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
71         -$(UPDATE_DESKTOP_DATABASE)
72
73 install install-dev:: $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
74         $(INSTALL_SCRIPT) $(srcdir)/winemaker $(DESTDIR)$(bindir)/winemaker
75         $(INSTALL_DATA) winemaker.man $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
76         $(INSTALL_DATA) winemaker.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
77         $(INSTALL_DATA) winemaker.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
78
79 uninstall::
80         $(RM) $(DESTDIR)$(datadir)/wine/wine.inf \
81                 $(DESTDIR)$(datadir)/wine/l_intl.nls \
82                 $(DESTDIR)$(datadir)/applications/wine.desktop \
83                 $(DESTDIR)$(bindir)/winemaker \
84                 $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext) \
85                 $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext) \
86                 $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
87         -$(UPDATE_DESKTOP_DATABASE)
88
89 depend: makedep$(EXEEXT)