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