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