1 # These variables override the corresponding variables in the
2 # mingw-environment.sh script.
4 # MinGW prefix (/opt/mingw, ~/mingw, etc.)
5 # This is where 'mingw-make install' installs to.
6 MINGW_PREFIX
:= ~
/dev
/mingw
8 # If a project needs to use some of its own functionality during the
9 # build, it can use the WINE variable in build scripts. If none of
10 # the projects you're interested in do this and you don't have Wine
11 # installed, just ignore this.
12 WINE
:= /usr
/lib
/wine
/wine.bin
14 # The "canonical system name" of your system. See
15 # mingw-environment.sh for more info.
16 BUILD
:= i686-linux-gnu
18 # The exact prefix of the MinGW cross binaries, sans hyphen.
19 TARGET
:= i586-mingw32msvc
21 # Usual Makefile stuff
24 # This is where this Makefile installs to.
26 BINDIR
:= $(PREFIX
)/bin
28 ENV_SCRIPT
:= mingw-environment.sh
41 sed
-e
's,^MINGW_PREFIX=.*$$,MINGW_PREFIX=$(MINGW_PREFIX),' \
42 -e
's,^WINE=.*$$,WINE=$(WINE),' \
43 -e
's,^BUILD=.*$$,BUILD=$(BUILD),' \
44 -e
's,^TARGET=.*$$,TARGET=$(TARGET),' \
45 < $(ENV_SCRIPT
) > $(ENV_SCRIPT
).mod
46 mv
-f
$(ENV_SCRIPT
).mod
$(ENV_SCRIPT
)
49 install $(SCRIPTS
) $(BINDIR
)
52 $(RM
) $(addprefix $(BINDIR
)/,$(SCRIPTS
))