1 DEFS
= -DLEX_OUTPUT_ROOT
="\"@LEX_OUTPUT_ROOT@\""
2 TOPSRCDIR
= @top_srcdir@
8 EXTRAINCL
= @FREETYPEINCL@
9 FREETYPELIBS
= @FREETYPELIBS@
15 make_ctests
$(EXEEXT
) \
40 UPDATE_DESKTOP_DATABASE
= update-desktop-database
42 all: $(PROGRAMS
) $(SUBDIRS
)
46 makedep
$(EXEEXT
): makedep.o
47 $(CC
) $(CFLAGS
) -o
$@ makedep.o
49 make_ctests
$(EXEEXT
): make_ctests.o
50 $(CC
) $(CFLAGS
) -o
$@ make_ctests.o
52 fnt2bdf
$(EXEEXT
): fnt2bdf.o
53 $(CC
) $(CFLAGS
) -o
$@ fnt2bdf.o
$(LIBPORT
)
55 fnt2fon
$(EXEEXT
): fnt2fon.o
56 $(CC
) $(CFLAGS
) -o
$@ fnt2fon.o
$(LIBPORT
)
58 sfnt2fnt
$(EXEEXT
): sfnt2fnt.o
59 $(CC
) $(CFLAGS
) -o
$@ sfnt2fnt.o
$(LIBUNICODE
) $(LIBPORT
) $(FREETYPELIBS
)
61 bin2res
$(EXEEXT
): bin2res.o
62 $(CC
) $(CFLAGS
) -o
$@ bin2res.o
$(LIBPORT
)
64 wineprefixcreate
: wineprefixcreate.in
65 sed
-e
's,@dlldir\@,$(dlldir),g' -e
's,@datadir\@,$(datadir),g' $(SRCDIR
)/wineprefixcreate.in
>$@ ||
($(RM
) $@
&& false
)
66 chmod
+x wineprefixcreate
68 install install-lib
:: wineprefixcreate
69 $(MKINSTALLDIRS
) $(bindir) $(datadir)/wine
$(datadir)/applications
70 $(INSTALL_SCRIPT
) wineprefixcreate
$(bindir)/wineprefixcreate
71 $(INSTALL_DATA
) $(SRCDIR
)/wine.inf
$(datadir)/wine
/wine.inf
72 $(INSTALL_DATA
) $(SRCDIR
)/wine.desktop
$(datadir)/applications
/wine.desktop
73 -$(UPDATE_DESKTOP_DATABASE
)
75 install install-dev
:: $(INSTALLSUBDIRS
:%=%/__install__
)
76 $(MKINSTALLDIRS
) $(bindir) $(mandir)/man
$(prog_manext
)
77 $(INSTALL_SCRIPT
) $(SRCDIR
)/winemaker
$(bindir)/winemaker
78 $(INSTALL_DATA
) $(SRCDIR
)/winemaker.man
$(mandir)/man
$(prog_manext
)/winemaker.
$(prog_manext
)
81 $(RM
) $(bindir)/winemaker
$(bindir)/wineprefixcreate
$(mandir)/man
$(prog_manext
)/winemaker.
$(prog_manext
) \
82 $(datadir)/wine
/wine.inf
$(datadir)/applications
/wine.desktop
83 -$(UPDATE_DESKTOP_DATABASE
)