jscript: Fixed some clang warnings.
[wine/multimedia.git] / tools / Makefile.in
blob4c8b238f9846bc1aa101663c58afb47ba8d5440b
1 DEFS = -D__WINESRC__ $(EXTRADEFS)
2 EXTRAINCL = @FREETYPEINCL@
3 FREETYPELIBS = @FREETYPELIBS@
5 PROGRAMS = \
6 fnt2bdf$(EXEEXT) \
7 fnt2fon$(EXEEXT) \
8 make_ctests$(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 fnt2bdf.c \
22 fnt2fon.c \
23 make_ctests.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 fnt2bdf$(EXEEXT): fnt2bdf.o
51 $(CC) $(CFLAGS) -o $@ fnt2bdf.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)