1 DEFS
= -DLEX_OUTPUT_ROOT
="\"@LEX_OUTPUT_ROOT@\""
2 TOPSRCDIR
= @top_srcdir@
7 EXTRAINCL
= @FREETYPEINCL@
8 FREETYPELIBS
= @FREETYPELIBS@
35 INSTALLSUBDIRS
= $(SUBDIRS
)
37 UPDATE_DESKTOP_DATABASE
= update-desktop-database
39 all: $(PROGRAMS
) $(SUBDIRS
)
44 $(CC
) $(CFLAGS
) -o makedep makedep.o
46 make_ctests
: make_ctests.o
47 $(CC
) $(CFLAGS
) -o make_ctests make_ctests.o
50 $(CC
) $(CFLAGS
) -o fnt2bdf fnt2bdf.o
$(LIBPORT
)
53 $(CC
) $(CFLAGS
) -o fnt2fon fnt2fon.o
$(LIBPORT
)
56 $(CC
) $(CFLAGS
) -o sfnt2fnt sfnt2fnt.o
$(LIBUNICODE
) $(LIBPORT
) $(FREETYPELIBS
)
59 $(CC
) $(CFLAGS
) -o bin2res bin2res.o
$(LIBPORT
)
61 wineprefixcreate
: wineprefixcreate.in
62 sed
-e
's,@dlldir\@,$(dlldir),g' -e
's,@datadir\@,$(datadir),g' $(SRCDIR
)/wineprefixcreate.in
>$@ ||
($(RM
) $@
&& false
)
63 chmod
+x wineprefixcreate
65 install install-lib
:: wineprefixcreate
66 $(MKINSTALLDIRS
) $(bindir) $(datadir)/wine
$(datadir)/applications
67 $(INSTALL_SCRIPT
) wineprefixcreate
$(bindir)/wineprefixcreate
68 $(INSTALL_DATA
) $(SRCDIR
)/wine.inf
$(datadir)/wine
/wine.inf
69 $(INSTALL_DATA
) $(SRCDIR
)/wine.desktop
$(datadir)/applications
/wine.desktop
70 -$(UPDATE_DESKTOP_DATABASE
)
72 install install-dev
:: $(INSTALLSUBDIRS
:%=%/__install__
)
73 $(MKINSTALLDIRS
) $(bindir) $(mandir)/man
$(prog_manext
)
74 $(INSTALL_SCRIPT
) $(SRCDIR
)/winemaker
$(bindir)/winemaker
75 $(INSTALL_DATA
) $(SRCDIR
)/winemaker.man
$(mandir)/man
$(prog_manext
)/winemaker.
$(prog_manext
)
78 $(RM
) $(bindir)/winemaker
$(bindir)/wineprefixcreate
$(mandir)/man
$(prog_manext
)/winemaker.
$(prog_manext
) \
79 $(datadir)/wine
/wine.inf
$(datadir)/applications
/wine.desktop
80 -$(UPDATE_DESKTOP_DATABASE
)