1 TOPSRCDIR
= @top_srcdir@
7 EXTRAINCL
= @FREETYPEINCL@
8 FREETYPELIBS
= @FREETYPELIBS@
13 make_ctests
$(EXEEXT
) \
40 SUBDIRS
= $(INSTALLSUBDIRS
)
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
)
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
)
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
:: $(INSTALLSUBDIRS
:%=%/__install__
) $(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
)
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
)