1 TOPSRCDIR
= @top_srcdir@
7 DEFS
= -D__WINESRC__
$(EXTRADEFS
)
8 EXTRAINCL
= @FREETYPEINCL@
9 FREETYPELIBS
= @FREETYPELIBS@
14 make_ctests
$(EXEEXT
) \
36 $(DESTDIR
)$(datadir)/applications \
37 $(DESTDIR
)$(datadir)/wine \
38 $(DESTDIR
)$(mandir)/man
$(prog_manext
) \
39 $(DESTDIR
)$(mandir)/de.UTF-8
/man
$(prog_manext
)
41 UPDATE_DESKTOP_DATABASE
= update-desktop-database
43 all: makedep
$(EXEEXT
) $(PROGRAMS
) $(MANPAGES
)
47 makedep
$(EXEEXT
) $(EXEEXT
:%=makedep
): makedep.o
48 $(CC
) $(CFLAGS
) -o
$@ makedep.o
$(LDFLAGS
)
50 make_ctests
$(EXEEXT
): make_ctests.o
51 $(CC
) $(CFLAGS
) -o
$@ make_ctests.o
$(LDFLAGS
)
53 fnt2bdf
$(EXEEXT
): fnt2bdf.o
54 $(CC
) $(CFLAGS
) -o
$@ fnt2bdf.o
$(LIBPORT
) $(LDFLAGS
)
56 fnt2fon
$(EXEEXT
): fnt2fon.o
57 $(CC
) $(CFLAGS
) -o
$@ fnt2fon.o
$(LIBPORT
) $(LDFLAGS
)
59 relpath
$(EXEEXT
): relpath.o
60 $(CC
) $(CFLAGS
) -o
$@ relpath.o
$(LIBPORT
) $(LDFLAGS
)
62 sfnt2fnt
$(EXEEXT
): sfnt2fnt.o relpath
$(EXEEXT
)
63 $(CC
) $(CFLAGS
) -o
$@ sfnt2fnt.o
$(LIBWINE
) $(LIBPORT
) $(LDFLAGS
) $(FREETYPELIBS
) $(LDRPATH_LOCAL
)
66 LC_ALL
=C sed
-e
's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(SRCDIR
)/wine.inf.in
>$@ ||
($(RM
) $@
&& false
)
68 wineapploader
: wineapploader.in
69 sed
-e
's,@bindir\@,$(bindir),g' $(SRCDIR
)/wineapploader.in
>$@ ||
($(RM
) $@
&& false
)
71 install install-lib
:: wine.inf
$(INSTALLDIRS
)
72 $(INSTALL_DATA
) wine.inf
$(DESTDIR
)$(datadir)/wine
/wine.inf
73 $(INSTALL_DATA
) $(SRCDIR
)/l_intl.nls
$(DESTDIR
)$(datadir)/wine
/l_intl.nls
74 $(INSTALL_DATA
) $(SRCDIR
)/wine.desktop
$(DESTDIR
)$(datadir)/applications
/wine.desktop
75 -$(UPDATE_DESKTOP_DATABASE
)
77 install install-dev
:: $(DESTDIR
)$(bindir) $(DESTDIR
)$(mandir)/man
$(prog_manext
)
78 $(INSTALL_SCRIPT
) $(SRCDIR
)/winemaker
$(DESTDIR
)$(bindir)/winemaker
79 $(INSTALL_DATA
) winemaker.man
$(DESTDIR
)$(mandir)/man
$(prog_manext
)/winemaker.
$(prog_manext
)
80 $(INSTALL_DATA
) winemaker.de.man
$(DESTDIR
)$(mandir)/de.UTF-8
/man
$(prog_manext
)/winemaker.
$(prog_manext
)
83 $(RM
) $(DESTDIR
)$(datadir)/wine
/wine.inf \
84 $(DESTDIR
)$(datadir)/wine
/l_intl.nls \
85 $(DESTDIR
)$(datadir)/applications
/wine.desktop \
86 $(DESTDIR
)$(bindir)/winemaker \
87 $(DESTDIR
)$(mandir)/man
$(prog_manext
)/winemaker.
$(prog_manext
) \
88 $(DESTDIR
)$(mandir)/de.UTF-8
/man
$(prog_manext
)/winemaker.
$(prog_manext
)
89 -$(UPDATE_DESKTOP_DATABASE
)
91 depend
: makedep
$(EXEEXT
)