msi: Return -1 on open failure in FDI callbacks.
[wine.git] / tools / Makefile.in
blob17d70f2ef3020c1897b37110fdbd3cb978720bd6
1 EXTRADEFS = -DWINE_UNICODE_API=""
2 EXTRAINCL = @FREETYPE_CFLAGS@
3 FREETYPELIBS = @FREETYPE_LIBS@
5 PROGRAMS = \
6 fnt2fon$(EXEEXT) \
7 make_ctests$(EXEEXT) \
8 make_xftmpl$(EXEEXT) \
9 relpath$(EXEEXT) \
10 sfnt2fnt$(EXEEXT) \
11 wineapploader
13 MANPAGE = winemaker.man
15 EXTRA_MANPAGES = \
16 winemaker.de.man \
17 winemaker.fr.man
19 C_SRCS = \
20 fnt2fon.c \
21 make_ctests.c \
22 make_xftmpl.c \
23 makedep.c \
24 relpath.c \
25 sfnt2fnt.c
27 EXTRASUBDIRS = winapi
29 INSTALLDIRS = \
30 $(DESTDIR)$(bindir) \
31 $(DESTDIR)$(datadir)/applications \
32 $(DESTDIR)$(mandir)/man$(prog_manext) \
33 $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
34 $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)
36 UPDATE_DESKTOP_DATABASE = update-desktop-database
38 all: makedep$(EXEEXT) $(PROGRAMS)
40 @MAKE_RULES@
42 makedep $(EXEEXT:%=makedep%): makedep.o
43 $(CC) $(CFLAGS) -o $@ makedep.o $(LDFLAGS)
45 make_ctests$(EXEEXT): make_ctests.o
46 $(CC) $(CFLAGS) -o $@ make_ctests.o $(LDFLAGS)
48 make_xftmpl$(EXEEXT): make_xftmpl.o
49 $(CC) $(CFLAGS) -o $@ make_xftmpl.o $(LIBPORT) $(LDFLAGS)
51 fnt2fon$(EXEEXT): fnt2fon.o
52 $(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT) $(LDFLAGS)
54 relpath$(EXEEXT): relpath.o
55 $(CC) $(CFLAGS) -o $@ relpath.o $(LIBPORT) $(LDFLAGS)
57 sfnt2fnt$(EXEEXT): sfnt2fnt.o relpath$(EXEEXT)
58 $(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBWINE_STATIC) $(LIBPORT) $(LDFLAGS) $(FREETYPELIBS)
60 wineapploader: wineapploader.in
61 sed -e 's,@bindir\@,$(bindir),g' $(srcdir)/wineapploader.in >$@ || ($(RM) $@ && false)
63 install install-lib:: $(DESTDIR)$(datadir)/applications
64 $(INSTALL_DATA) $(srcdir)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
65 -$(UPDATE_DESKTOP_DATABASE)
67 install install-dev:: $(DESTDIR)$(bindir) install-man-pages
68 $(INSTALL_SCRIPT) $(srcdir)/winemaker $(DESTDIR)$(bindir)/winemaker
70 install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS)
71 $(INSTALL_DATA) winemaker.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
72 $(INSTALL_DATA) winemaker.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
74 uninstall::
75 $(RM) $(DESTDIR)$(datadir)/applications/wine.desktop \
76 $(DESTDIR)$(bindir)/winemaker \
77 $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext) \
78 $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
79 -$(UPDATE_DESKTOP_DATABASE)
81 depend: makedep$(EXEEXT)