author | Edouard Tisserant <edouard.tisserant@gmail.com> |
Thu, 19 May 2022 21:29:17 +0200 | |
changeset 50 | 53ce387343e5 |
parent 43 | 1a2658f109da |
child 52 | 3b23cd88a197 |
permissions | -rw-r--r-- |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1 |
# Win32 only distribution |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2 |
|
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
3 |
OWN_PROJECTS_EX=CanFestival-3 |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
4 |
|
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
5 |
ide_targets_from_dist: canfestival |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
6 |
touch $@ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
7 |
|
43
1a2658f109da
windows installer: force CanFestival build to use source code already checked out rather than re-doing it in anotrher directory.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
37
diff
changeset
|
8 |
CanFestival-3_dir = installer/CanFestival-3 |
1a2658f109da
windows installer: force CanFestival build to use source code already checked out rather than re-doing it in anotrher directory.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
37
diff
changeset
|
9 |
CanFestival-3: $(CanFestival-3_dir)/.stamp |
1a2658f109da
windows installer: force CanFestival build to use source code already checked out rather than re-doing it in anotrher directory.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
37
diff
changeset
|
10 |
$(CanFestival-3_dir)/.stamp: sources/CanFestival-3_src | installer |
1a2658f109da
windows installer: force CanFestival build to use source code already checked out rather than re-doing it in anotrher directory.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
37
diff
changeset
|
11 |
canfestival: $(CanFestival-3_dir)/.stamp |
1a2658f109da
windows installer: force CanFestival build to use source code already checked out rather than re-doing it in anotrher directory.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
37
diff
changeset
|
12 |
rm -rf $(CanFestival-3_dir) |
1a2658f109da
windows installer: force CanFestival build to use source code already checked out rather than re-doing it in anotrher directory.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
37
diff
changeset
|
13 |
cp -a sources/CanFestival-3 $(CanFestival-3_dir) |
1a2658f109da
windows installer: force CanFestival build to use source code already checked out rather than re-doing it in anotrher directory.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
37
diff
changeset
|
14 |
cd $(CanFestival-3_dir); \ |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
15 |
./configure --can=tcp_win32 \ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
16 |
--cc=$(CC) \ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
17 |
--cxx=$(CXX) \ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
18 |
--target=win32 \ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
19 |
--wx=0 |
43
1a2658f109da
windows installer: force CanFestival build to use source code already checked out rather than re-doing it in anotrher directory.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
37
diff
changeset
|
20 |
$(MAKE) -C $(CanFestival-3_dir) |
1a2658f109da
windows installer: force CanFestival build to use source code already checked out rather than re-doing it in anotrher directory.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
37
diff
changeset
|
21 |
cd $(CanFestival-3_dir); find . -name "*.o" -exec rm {} ';' #remove object files only |
37
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
22 |
touch $@ |
fd09116d3537
New windows installer cross build, using patched pacman to get MSYS2's packages and PIP over Wine to get PyPI packages. Work in progress.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
23 |