Skip to content

Commit 4137c60

Browse files
authored
Merge pull request #5 from erique/amitcp-sdk
add AmiTCP SDK support
2 parents 463f036 + dffeb78 commit 4137c60

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ addons:
88
apt:
99
packages:
1010
- p7zip-full
11-
homebrew:
12-
packages:
13-
- p7zip
11+
# osx handles this in 'before_install'
1412
# windows/choco comes with 7zip.install 18.5.0.20180730
1513

1614
# python is painful ..
@@ -25,7 +23,7 @@ jobs:
2523
- source venv/bin/activate
2624
- name: "macOS"
2725
os: osx
28-
osx_image: xcode11.2
26+
osx_image: xcode11.3
2927
# - name: "Windows"
3028
# os: windows
3129
# before_install:
@@ -36,6 +34,9 @@ jobs:
3634
# - python -m pip install --upgrade pip
3735
# env: PATH=/c/tools/python-x86_32:/c/tools/python-x86_32/Scripts:$PATH
3836

37+
before_install:
38+
if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install p7zip ; fi
39+
3940
install:
4041
- python --version
4142
- pip --version

Makefile.build

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ VBCC := $(abspath $(CACHE_DIR))
1717
NDK := $(CACHE_DIR)/NDK_3.9
1818
SANA2 := $(CACHE_DIR)/sana2
1919
AHI := $(CACHE_DIR)/ahi
20+
AMITCP := $(CACHE_DIR)/AmiTCP-SDK-4.3
2021

2122
INC_ASM := $(NDK)/Include/include_i/
2223
LVO := $(INC_ASM)lvo
@@ -26,7 +27,7 @@ LVOS := $(addprefix $(LVO)/,$(SFD:.sfd=.i))
2627

2728
.PHONY: distclean lvos buildenv $(VASM) $(VLINK) $(VC)
2829

29-
buildenv: $(VASM) $(VLINK) $(VC) $(VC_CFG) $(VC_M68K) $(NDK) $(LVO) $(SANA2) $(AHI)
30+
buildenv: $(VASM) $(VLINK) $(VC) $(VC_CFG) $(VC_M68K) $(NDK) $(LVO) $(SANA2) $(AHI) $(AMITCP)
3031
# @echo "** $@ done"
3132

3233

@@ -99,6 +100,11 @@ $(AHI): | $(CACHE_DIR)
99100
cd $(CACHE_DIR) && rm -rf m68k-amigaos-ahi/Developer/Include
100101
cd $(CACHE_DIR) && rm -rf m68k-amigaos-ahidev.lha
101102

103+
$(AMITCP): | $(CACHE_DIR)
104+
cd $(CACHE_DIR) && wget http://aminet.net/comm/tcp/AmiTCP-SDK-4.3.lha
105+
cd $(CACHE_DIR) && 7z x -y AmiTCP-SDK-4.3.lha AmiTCP-SDK-4.3
106+
cd $(CACHE_DIR) && rm -rf AmiTCP-SDK-4.3.lha
107+
102108
$(LVO): | $(NDK)
103109
cd $(CACHE_DIR) && wget http://aminet.net/dev/gcc/sfdc.lha
104110
cd $(CACHE_DIR) && 7z x sfdc.lha && mv sfdc-master sfdc

vc.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
-cc=%%VBCC%%/bin/vbccm68k -quiet -hunkdebug %s -o= %s %s -O=%ld -I"%%VBCC%%/targets/m68k-amigaos/include" -I"%%VBCC%%/NDK_3.9/Include/include_h" -I"%%VBCC%%/targets/m68k-amigaos/netinclude"
2-
-ccv=%%VBCC%%/bin/vbccm68k -hunkdebug %s -o= %s %s -O=%ld -I"%%VBCC%%/targets/m68k-amigaos/include" -I"%%VBCC%%/NDK_3.9/Include/include_h" -I"%%VBCC%%/targets/m68k-amigaos/netinclude"
1+
-cc=%%VBCC%%/bin/vbccm68k -quiet -hunkdebug %s -o= %s %s -O=%ld -I"%%VBCC%%/targets/m68k-amigaos/include" -I"%%VBCC%%/NDK_3.9/Include/include_h" -I"%%VBCC%%/AmiTCP-SDK-4.3/netinclude"
2+
-ccv=%%VBCC%%/bin/vbccm68k -hunkdebug %s -o= %s %s -O=%ld -I"%%VBCC%%/targets/m68k-amigaos/include" -I"%%VBCC%%/NDK_3.9/Include/include_h" -I"%%VBCC%%/AmiTCP-SDK-4.3/netinclude"
33
-as=%%VBCC%%/bin/vasmm68k_mot -quiet -Fhunk -phxass -opt-fconst -nowarn=62 %s -o %s
44
-asv=%%VBCC%%/bin/vasmm68k_mot -Fhunk -phxass -opt-fconst -nowarn=62 %s -o %s
55
-rm=rm %s

0 commit comments

Comments
 (0)