Skip to content

Commit

Permalink
add AmiTCP/netinclude
Browse files Browse the repository at this point in the history
  • Loading branch information
erique committed Mar 20, 2020
1 parent 463f036 commit d0c0e1c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion Makefile.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ VBCC := $(abspath $(CACHE_DIR))
NDK := $(CACHE_DIR)/NDK_3.9
SANA2 := $(CACHE_DIR)/sana2
AHI := $(CACHE_DIR)/ahi
AMITCP := $(CACHE_DIR)/AmiTCP-SDK-4.3

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

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

buildenv: $(VASM) $(VLINK) $(VC) $(VC_CFG) $(VC_M68K) $(NDK) $(LVO) $(SANA2) $(AHI)
buildenv: $(VASM) $(VLINK) $(VC) $(VC_CFG) $(VC_M68K) $(NDK) $(LVO) $(SANA2) $(AHI) $(AMITCP)
# @echo "** $@ done"


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

$(AMITCP): | $(CACHE_DIR)
cd $(CACHE_DIR) && wget http://aminet.net/comm/tcp/AmiTCP-SDK-4.3.lha
cd $(CACHE_DIR) && 7z x -y AmiTCP-SDK-4.3.lha AmiTCP-SDK-4.3
cd $(CACHE_DIR) && rm -rf AmiTCP-SDK-4.3.lha

$(LVO): | $(NDK)
cd $(CACHE_DIR) && wget http://aminet.net/dev/gcc/sfdc.lha
cd $(CACHE_DIR) && 7z x sfdc.lha && mv sfdc-master sfdc
Expand Down
4 changes: 2 additions & 2 deletions vc.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-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"
-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"
-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"
-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"
-as=%%VBCC%%/bin/vasmm68k_mot -quiet -Fhunk -phxass -opt-fconst -nowarn=62 %s -o %s
-asv=%%VBCC%%/bin/vasmm68k_mot -Fhunk -phxass -opt-fconst -nowarn=62 %s -o %s
-rm=rm %s
Expand Down

0 comments on commit d0c0e1c

Please sign in to comment.