Release 1.1.14.
[wine/gsoc-2012-control.git] / tools / Makefile.in
blobea4e0078228adb55b7f5ab39483c22ca24986758
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 EXEEXT = @EXEEXT@
6 MODULE = none
7 EXTRAINCL = @FREETYPEINCL@
8 FREETYPELIBS = @FREETYPELIBS@
10 PROGRAMS = \
11 fnt2bdf$(EXEEXT) \
12 fnt2fon$(EXEEXT) \
13 make_ctests$(EXEEXT) \
14 makedep$(EXEEXT) \
15 relpath$(EXEEXT) \
16 sfnt2fnt$(EXEEXT) \
17 wine.inf \
18 wineprefixcreate
20 MANPAGES = \
21 winemaker.man \
22 wineprefixcreate.man
24 C_SRCS = \
25 fnt2bdf.c \
26 fnt2fon.c \
27 make_ctests.c \
28 makedep.c \
29 relpath.c \
30 sfnt2fnt.c \
32 INSTALLSUBDIRS = \
33 widl \
34 winebuild \
35 winedump \
36 winegcc \
37 wmc \
38 wrc
40 SUBDIRS = $(INSTALLSUBDIRS)
42 EXTRASUBDIRS = winapi
44 INSTALLDIRS = \
45 $(DESTDIR)$(bindir) \
46 $(DESTDIR)$(datadir)/applications \
47 $(DESTDIR)$(datadir)/wine \
48 $(DESTDIR)$(mandir)/man$(prog_manext)
50 UPDATE_DESKTOP_DATABASE = update-desktop-database
52 all: $(PROGRAMS) $(MANPAGES) $(SUBDIRS)
54 @MAKE_RULES@
56 makedep$(EXEEXT) $(EXEEXT:%=makedep): makedep.o
57 $(CC) $(CFLAGS) -o $@ makedep.o $(LDFLAGS)
59 make_ctests$(EXEEXT): make_ctests.o
60 $(CC) $(CFLAGS) -o $@ make_ctests.o $(LDFLAGS)
62 fnt2bdf$(EXEEXT): fnt2bdf.o
63 $(CC) $(CFLAGS) -o $@ fnt2bdf.o $(LIBPORT) $(LDFLAGS)
65 fnt2fon$(EXEEXT): fnt2fon.o
66 $(CC) $(CFLAGS) -o $@ fnt2fon.o $(LIBPORT) $(LDFLAGS)
68 relpath$(EXEEXT): relpath.o
69 $(CC) $(CFLAGS) -o $@ relpath.o $(LIBPORT) $(LDFLAGS)
71 sfnt2fnt$(EXEEXT): sfnt2fnt.o relpath$(EXEEXT)
72 $(CC) $(CFLAGS) -o $@ sfnt2fnt.o $(LIBWINE) $(LIBPORT) $(LDFLAGS) $(FREETYPELIBS) $(LDRPATH_LOCAL)
74 wine.inf: wine.inf.in
75 LC_ALL=C sed -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(SRCDIR)/wine.inf.in >$@ || ($(RM) $@ && false)
77 wineprefixcreate: wineprefixcreate.in relpath$(EXEEXT)
78 sed -e "s,@bintodlldir\@,`$(RELPATH) $(bindir) $(dlldir)`,g" -e "s,@bintodatadir\@,`$(RELPATH) $(bindir) $(datadir)/wine`,g" $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
79 chmod +x wineprefixcreate
81 install install-lib:: wine.inf wineprefixcreate $(INSTALLDIRS)
82 $(INSTALL_SCRIPT) wineprefixcreate $(DESTDIR)$(bindir)/wineprefixcreate
83 $(INSTALL_DATA) wine.inf $(DESTDIR)$(datadir)/wine/wine.inf
84 $(INSTALL_DATA) $(SRCDIR)/wine.desktop $(DESTDIR)$(datadir)/applications/wine.desktop
85 $(INSTALL_DATA) wineprefixcreate.man $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext)
86 -$(UPDATE_DESKTOP_DATABASE)
88 install install-dev:: $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
89 $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(DESTDIR)$(bindir)/winemaker
90 $(INSTALL_DATA) winemaker.man $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
92 uninstall::
93 $(RM) $(DESTDIR)$(bindir)/winemaker $(DESTDIR)$(bindir)/wineprefixcreate $(DESTDIR)$(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(DESTDIR)$(mandir)/man$(prog_manext)/wineprefixcreate.$(prog_manext) $(DESTDIR)$(datadir)/wine/wine.inf $(DESTDIR)$(datadir)/applications/wine.desktop
94 -$(UPDATE_DESKTOP_DATABASE)
96 wmc wrc: relpath$(EXEEXT)
98 @DEPENDENCIES@ # everything below this line is overwritten by make depend
100 Makefile: makedep$(EXEEXT)