1 DEFS
= -DLEX_OUTPUT_ROOT
="\"@LEX_OUTPUT_ROOT@\""
2 TOPSRCDIR
= @top_srcdir@
7 EXTRAINCL
= @FREETYPEINCL@
8 FREETYPELIBS
= @FREETYPELIBS@
35 INSTALLSUBDIRS
= $(SUBDIRS
)
37 EXTRASUBDIRS
= winapi_check
39 UPDATE_DESKTOP_DATABASE
= update-desktop-database
41 all: $(PROGRAMS
) $(SUBDIRS
)
46 $(CC
) $(CFLAGS
) -o makedep makedep.o
48 make_ctests
: make_ctests.o
49 $(CC
) $(CFLAGS
) -o make_ctests make_ctests.o
52 $(CC
) $(CFLAGS
) -o fnt2bdf fnt2bdf.o
$(LIBPORT
)
55 $(CC
) $(CFLAGS
) -o fnt2fon fnt2fon.o
$(LIBPORT
)
58 $(CC
) $(CFLAGS
) -o sfnt2fnt sfnt2fnt.o
$(LIBUNICODE
) $(LIBPORT
) $(FREETYPELIBS
)
61 $(CC
) $(CFLAGS
) -o bin2res bin2res.o
$(LIBPORT
)
63 wineprefixcreate
: wineprefixcreate.in
64 sed
-e
's,@dlldir\@,$(dlldir),g' -e
's,@datadir\@,$(datadir),g' $(SRCDIR
)/wineprefixcreate.in
>$@ ||
($(RM
) $@
&& false
)
65 chmod
+x wineprefixcreate
67 install install-lib
:: wineprefixcreate
68 $(MKINSTALLDIRS
) $(bindir) $(datadir)/wine
$(datadir)/applications
69 $(INSTALL_SCRIPT
) wineprefixcreate
$(bindir)/wineprefixcreate
70 $(INSTALL_DATA
) $(SRCDIR
)/wine.inf
$(datadir)/wine
/wine.inf
71 $(INSTALL_DATA
) $(SRCDIR
)/wine.desktop
$(datadir)/applications
/wine.desktop
72 -$(UPDATE_DESKTOP_DATABASE
)
74 install install-dev
:: $(INSTALLSUBDIRS
:%=%/__install__
)
75 $(MKINSTALLDIRS
) $(bindir) $(mandir)/man
$(prog_manext
)
76 $(INSTALL_SCRIPT
) $(SRCDIR
)/winemaker
$(bindir)/winemaker
77 $(INSTALL_DATA
) $(SRCDIR
)/winemaker.man
$(mandir)/man
$(prog_manext
)/winemaker.
$(prog_manext
)
80 $(RM
) $(bindir)/winemaker
$(bindir)/wineprefixcreate
$(mandir)/man
$(prog_manext
)/winemaker.
$(prog_manext
) \
81 $(datadir)/wine
/wine.inf
$(datadir)/applications
/wine.desktop
82 -$(UPDATE_DESKTOP_DATABASE
)