1 DEFS = -DLEX_OUTPUT_ROOT="\"@LEX_OUTPUT_ROOT@\""
2 TOPSRCDIR = @top_srcdir@
27 INSTALLSUBDIRS = $(SUBDIRS)
29 EXTRASUBDIRS = winapi_check
31 all: $(PROGRAMS) $(SUBDIRS)
36 $(CC) $(CFLAGS) -o makedep makedep.o
39 $(CC) $(CFLAGS) -o fnt2bdf fnt2bdf.o $(LIBPORT)
42 $(CC) $(CFLAGS) -o bin2res bin2res.o $(LIBPORT)
44 wineprefixcreate: wineprefixcreate.in
45 sed -e 's,@dlldir\@,$(dlldir),g' -e 's,@datadir\@,$(datadir),g' $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
46 chmod +x wineprefixcreate
48 install:: wineprefixcreate
49 $(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(datadir)/wine
50 $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
51 $(INSTALL_SCRIPT) wineprefixcreate $(bindir)/wineprefixcreate
52 $(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
53 $(INSTALL_DATA) $(SRCDIR)/wine.inf $(datadir)/wine/wine.inf
56 $(RM) $(bindir)/winemaker $(bindir)/wineprefixcreate $(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(datadir)/wine/wine.inf