1 DEFS
= -D__WINE__
-DLEX_OUTPUT_ROOT
="\"@LEX_OUTPUT_ROOT@\""
2 TOPSRCDIR
= @top_srcdir@
7 PROGRAMS
= makedep fnt2bdf bin2res winelauncher
10 C_SRCS
= makedep.c fnt2bdf.c bin2res.c
30 all: $(PROGRAMS
) winebuild winedump wmc wrc
35 $(CC
) $(CFLAGS
) -o makedep makedep.o
38 $(CC
) $(CFLAGS
) -o fnt2bdf fnt2bdf.o
41 $(CC
) $(CFLAGS
) -o bin2res bin2res.o
43 winelauncher
: winelauncher.in
44 sed
-e
's,@bindir\@,$(bindir),g' -e
's,@libdir\@,$(libdir),g' -e
's,@dlldir\@,$(dlldir),g' $(SRCDIR
)/winelauncher.in
>$@ ||
$(RM
) $@
46 install:: $(PROGRAMS
) $(INSTALLSUBDIRS
:%=%/__install__
)
47 [ -d
$(bindir) ] ||
$(MKDIR
) $(bindir)
48 $(INSTALL_PROGRAM
) fnt2bdf
$(bindir)/fnt2bdf
49 $(INSTALL_SCRIPT
) winelauncher
$(bindir)/winelauncher
50 $(INSTALL_SCRIPT
) $(SRCDIR
)/winemaker
$(bindir)/winemaker
51 $(INSTALL_SCRIPT
) $(SRCDIR
)/wineshelllink
$(bindir)/wineshelllink
53 uninstall:: $(INSTALLSUBDIRS
:%=%/__uninstall__
)
54 $(RM
) $(bindir)/fnt2bdf
$(bindir)/winelauncher
$(bindir)/winemaker
$(bindir)/wineshelllink