| DEFS = -DLEX_OUTPUT_ROOT="\"@LEX_OUTPUT_ROOT@\"" |
| INSTALLSUBDIRS = $(SUBDIRS) |
| EXTRASUBDIRS = winapi_check |
| all: $(PROGRAMS) $(SUBDIRS) |
| $(CC) $(CFLAGS) -o makedep makedep.o |
| $(CC) $(CFLAGS) -o fnt2bdf fnt2bdf.o $(LIBPORT) |
| $(CC) $(CFLAGS) -o bin2res bin2res.o $(LIBPORT) |
| wineprefixcreate: wineprefixcreate.in |
| sed -e 's,@dlldir\@,$(dlldir),g' -e 's,@datadir\@,$(datadir),g' $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false) |
| chmod +x wineprefixcreate |
| install:: wineprefixcreate |
| $(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(datadir)/wine |
| $(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker |
| $(INSTALL_SCRIPT) wineprefixcreate $(bindir)/wineprefixcreate |
| $(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext) |
| $(INSTALL_DATA) $(SRCDIR)/wine.inf $(datadir)/wine/wine.inf |
| $(RM) $(bindir)/winemaker $(bindir)/wineprefixcreate $(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(datadir)/wine/wine.inf |