1 DEFS
= -D__WINESRC__
$(EXTRADEFS
)
2 EXTRAINCL
= @FREETYPEINCL@
3 FREETYPELIBS
= @FREETYPELIBS@
14 MANPAGE
= winemaker.man
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
)
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
)
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
)
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
)