comctl32/tests: Make status.c compile with -D__WINESRC__.
[wine/wine-gecko.git] / tools / Makefile.in
blob271a3277b6ef4441c25618fd2ee5ca8d2e9395f1
1 EXTRAINCL = @FREETYPE_CFLAGS@
2 FREETYPELIBS = @FREETYPE_LIBS@
4 PROGRAMS = \
5 fnt2fon$(EXEEXT) \
6 make_ctests$(EXEEXT) \
7 make_xftmpl$(EXEEXT) \
8 relpath$(EXEEXT) \
9 sfnt2fnt$(EXEEXT) \
10 wineapploader
12 MANPAGE = winemaker.man
14 EXTRA_MANPAGES = \
15 winemaker.de.man \
16 winemaker.fr.man
18 C_SRCS = \
19 fnt2fon.c \
20 make_ctests.c \
21 make_xftmpl.c \
22 makedep.c \
23 relpath.c \
24 sfnt2fnt.c
26 EXTRASUBDIRS = winapi
28 INSTALLDIRS = \
29 $(DESTDIR)$(bindir) \
30 $(DESTDIR)$(datadir)/applications \
31 $(DESTDIR)$(mandir)/man$(prog_manext) \
32 $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext) \
33 $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)
35 UPDATE_DESKTOP_DATABASE = update-desktop-database
37 all: $(PROGRAMS)
39 @MAKE_RULES@
41 make_ctests$(EXEEXT): make_ctests.o
42 $(CC) $(CFLAGS) -o $@ make_ctests.o $(LDFLAGS)
44 make_xftmpl$(EXEEXT): make_xftmpl.o
45 $(CC) $(CFLAGS) -o $@ make_xftmpl.o $(LIBPORT) $(LDFLAGS)
47 fnt2fon$(EXEEXT): fnt2fon.o
48 $(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT) $(LDFLAGS)
50 relpath$(EXEEXT): relpath.o
51 $(CC) $(CFLAGS) -o $@ relpath.o $(LIBPORT) $(LDFLAGS)
53 sfnt2fnt$(EXEEXT): sfnt2fnt.o relpath$(EXEEXT)
54 $(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBWINE_STATIC) $(LIBPORT) $(LDFLAGS) $(FREETYPELIBS)
56 wineapploader: wineapploader.in
57 sed -e 's,@bindir\@,$(bindir),g' $(srcdir)/wineapploader.in >$@ || ($(RM) $@ && false)
59 install install-lib:: $(DESTDIR)$(datadir)/applications
60 $(INSTALL_DATA) $(srcdir)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
61 -$(UPDATE_DESKTOP_DATABASE)
63 install install-dev:: $(DESTDIR)$(bindir) install-man-pages
64 $(INSTALL_SCRIPT) $(srcdir)/winemaker $(DESTDIR)$(bindir)/winemaker
66 install-man-pages:: $(EXTRA_MANPAGES) $(INSTALLDIRS)
67 $(INSTALL_DATA) winemaker.de.man $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
68 $(INSTALL_DATA) winemaker.fr.man $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
70 uninstall::
71 $(RM) $(DESTDIR)$(datadir)/applications/wine.desktop \
72 $(DESTDIR)$(bindir)/winemaker \
73 $(DESTDIR)$(mandir)/de.UTF-8/man$(prog_manext)/winemaker.$(prog_manext) \
74 $(DESTDIR)$(mandir)/fr.UTF-8/man$(prog_manext)/winemaker.$(prog_manext)
75 -$(UPDATE_DESKTOP_DATABASE)