wined3d: Remove temporary conv_byte_count fixup from d3dfmt_get_conv.
[wine/wine-gecko.git] / tools / Makefile.in
blob526ac1b47d944d852855db7f3e14778a6507c5e7
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@
11 PROGRAMS = \
12 fnt2bdf$(EXEEXT) \
13 fnt2fon$(EXEEXT) \
14 make_ctests$(EXEEXT) \
15 relpath$(EXEEXT) \
16 sfnt2fnt$(EXEEXT) \
17 wine.inf \
18 wineapploader \
19 wineprefixcreate
21 MANPAGES = \
22 winemaker.man \
23 winemaker.de.man \
24 wineprefixcreate.man
26 C_SRCS = \
27 fnt2bdf.c \
28 fnt2fon.c \
29 make_ctests.c \
30 makedep.c \
31 relpath.c \
32 sfnt2fnt.c
34 EXTRASUBDIRS = winapi
36 INSTALLDIRS = \
37 $(DESTDIR)$(bindir) \
38 $(DESTDIR)$(datadir)/applications \
39 $(DESTDIR)$(datadir)/wine \
40 $(DESTDIR)$(mandir)/man$(prog_manext) \
41 $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)
43 UPDATE_DESKTOP_DATABASE = update-desktop-database
45 all: makedep$(EXEEXT) $(PROGRAMS) $(MANPAGES)
47 @MAKE_RULES@
49 makedep$(EXEEXT) $(EXEEXT:%=makedep): makedep.o
50 $(CC) $(CFLAGS) -o $@ makedep.o $(LDFLAGS)
52 make_ctests$(EXEEXT): make_ctests.o
53 $(CC) $(CFLAGS) -o $@ make_ctests.o $(LDFLAGS)
55 fnt2bdf$(EXEEXT): fnt2bdf.o
56 $(CC) $(CFLAGS) -o $@ fnt2bdf.o $(LIBPORT) $(LDFLAGS)
58 fnt2fon$(EXEEXT): fnt2fon.o
59 $(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT) $(LDFLAGS)
61 relpath$(EXEEXT): relpath.o
62 $(CC) $(CFLAGS) -o $@ relpath.o $(LIBPORT) $(LDFLAGS)
64 sfnt2fnt$(EXEEXT): sfnt2fnt.o relpath$(EXEEXT)
65 $(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(FREETYPELIBS) $(LDRPATH_LOCAL)
67 wine.inf: wine.inf.in
68 LC_ALL=C sed -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(SRCDIR)/wine.inf.in >$@ || ($(RM) $@ && false)
70 wineapploader: wineapploader.in
71 sed -e 's,@bindir\@,$(bindir),g' $(SRCDIR)/wineapploader.in >$@ || ($(RM) $@ && false)
73 wineprefixcreate: wineprefixcreate.in relpath$(EXEEXT)
74 sed -e "s,@bintodlldir\@,`$(RELPATH) $(bindir) $(dlldir)`,g" -e "s,@bintodatadir\@,`$(RELPATH) $(bindir) $(datadir)/wine`,g" $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
75 chmod +x wineprefixcreate
77 install install-lib:: wine.inf wineprefixcreate $(INSTALLDIRS)
78 $(INSTALL_SCRIPT) wineprefixcreate $(DESTDIR)$(bindir)/wineprefixcreate
79 $(INSTALL_DATA) wine.inf $(DESTDIR)$(datadir)/wine/wine.inf
80 $(INSTALL_DATA) $(SRCDIR)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
81 $(INSTALL_DATA) wineprefixcreate.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext)
82 -$(UPDATE_DESKTOP_DATABASE)
84 install install-dev:: $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
85 $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(DESTDIR)$(bindir)/winemaker
86 $(INSTALL_DATA) winemaker.man $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
87 $(INSTALL_DATA) winemaker.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
89 uninstall::
90 $(RM) $(DESTDIR)$(bindir)/winemaker $(DESTDIR)$(bindir)/wineprefixcreate $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext) $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext) $(DESTDIR)$(datadir)/wine/wine.inf $(DESTDIR)$(datadir)/applications/wine.desktop
91 -$(UPDATE_DESKTOP_DATABASE)
93 depend: makedep$(EXEEXT)