riched20: Added support for UTF8 BOM stream.
[wine/multimedia.git] / tools / Makefile.in
blob975d2a7d31f139811f217923f4d23d15efce1e8b
1 DEFS = -D__WINESRC__ $(EXTRADEFS)
2 EXTRAINCL = @FREETYPEINCL@
3 FREETYPELIBS = @FREETYPELIBS@
5 PROGRAMS = \
6 fnt2fon$(EXEEXT) \
7 make_ctests$(EXEEXT) \
8 make_xftmpl$(EXEEXT) \
9 relpath$(EXEEXT) \
10 sfnt2fnt$(EXEEXT) \
11 wine.inf \
12 wineapploader
14 MANPAGE = winemaker.man
16 EXTRA_MANPAGES = \
17 winemaker.de.man \
18 winemaker.fr.man
20 C_SRCS = \
21 fnt2fon.c \
22 make_ctests.c \
23 make_xftmpl.c \
24 makedep.c \
25 relpath.c \
26 sfnt2fnt.c
28 EXTRASUBDIRS = winapi
30 INSTALLDIRS = \
31 $(DESTDIR)$(bindir) \
32 $(DESTDIR)$(datadir)/applications \
33 $(DESTDIR)$(datadir)/wine \
34 $(DESTDIR)$(mandir)/man$(prog_manext) \
35 $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
36 $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)
38 UPDATE_DESKTOP_DATABASE = update-desktop-database
40 all: makedep$(EXEEXT) $(PROGRAMS)
42 @MAKE_RULES@
44 makedep$(EXEEXT) $(EXEEXT:%=makedep): makedep.o
45 $(CC) $(CFLAGS) -o $@ makedep.o $(LDFLAGS)
47 make_ctests$(EXEEXT): make_ctests.o
48 $(CC) $(CFLAGS) -o $@ make_ctests.o $(LDFLAGS)
50 make_xftmpl$(EXEEXT): make_xftmpl.o
51 $(CC) $(CFLAGS) -o $@ make_xftmpl.o $(LIBPORT) $(LDFLAGS)
53 fnt2fon$(EXEEXT): fnt2fon.o
54 $(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT) $(LDFLAGS)
56 relpath$(EXEEXT): relpath.o
57 $(CC) $(CFLAGS) -o $@ relpath.o $(LIBPORT) $(LDFLAGS)
59 sfnt2fnt$(EXEEXT): sfnt2fnt.o relpath$(EXEEXT)
60 $(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(FREETYPELIBS) $(LDRPATH_LOCAL)
62 wine.inf: wine.inf.in
63 LC_ALL=C sed -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(srcdir)/wine.inf.in >$@ || ($(RM) $@ && false)
65 wineapploader: wineapploader.in
66 sed -e 's,@bindir\@,$(bindir),g' $(srcdir)/wineapploader.in >$@ || ($(RM) $@ && false)
68 install install-lib:: wine.inf $(INSTALLDIRS)
69 $(INSTALL_DATA) wine.inf $(DESTDIR)$(datadir)/wine/wine.inf
70 $(INSTALL_DATA) $(srcdir)/l_intl.nls $(DESTDIR)$(datadir)/wine/l_intl.nls
71 $(INSTALL_DATA) $(srcdir)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
72 -$(UPDATE_DESKTOP_DATABASE)
74 install install-dev:: $(DESTDIR)$(bindir) install-man-pages
75 $(INSTALL_SCRIPT) $(srcdir)/winemaker $(DESTDIR)$(bindir)/winemaker
77 install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS)
78 $(INSTALL_DATA) winemaker.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
79 $(INSTALL_DATA) winemaker.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
81 uninstall::
82 $(RM) $(DESTDIR)$(datadir)/wine/wine.inf \
83 $(DESTDIR)$(datadir)/wine/l_intl.nls \
84 $(DESTDIR)$(datadir)/applications/wine.desktop \
85 $(DESTDIR)$(bindir)/winemaker \
86 $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext) \
87 $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
88 -$(UPDATE_DESKTOP_DATABASE)
90 depend: makedep$(EXEEXT)