mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
Reorganized retro distro Makefile (and added telnetd).
This commit is contained in:
parent
b493395f00
commit
2af9f3f26f
@ -53,240 +53,111 @@ ifndef DIR2ATR
|
||||
${error DIR2ATR not defined! You must specify where dir2atr resides}
|
||||
endif
|
||||
|
||||
disks: apple2-dsk-1 apple2-dsk-2 apple2-dsk-3 apple2-dsk-4 \
|
||||
c64-d64-1 c64-d64-2 c64-d71 c64-d81 \
|
||||
c128-d64-1 c128-d64-2 c128-d71 c128-d81 \
|
||||
atari-atr-1 atari-atr-2 atari-atr-3 atari-atr-4
|
||||
disks: contiki-apple2-1.dsk contiki-apple2-2.dsk contiki-apple2-3.dsk contiki-apple2-4.dsk \
|
||||
contiki-atari-1.atr contiki-atari-2.atr contiki-atari-3.atr contiki-atari-4.atr \
|
||||
contiki-c64-1.d64 contiki-c64-2.d64 contiki-c64.d71 contiki-c64.d81 \
|
||||
contiki-c128-1.d64 contiki-c128-2.d64 contiki-c128.d71 contiki-c128.d81
|
||||
|
||||
define makes
|
||||
$1-makes:
|
||||
$(MAKE) -C ../../cpu/6502/ipconfig TARGET=$1
|
||||
$(MAKE) -C ../../examples/webserver TARGET=$1 HTTPD-CFS=1
|
||||
$(MAKE) -C ../../examples/webbrowser TARGET=$1
|
||||
$(MAKE) -C ../../examples/wget TARGET=$1
|
||||
$(MAKE) -C ../../examples/irc TARGET=$1
|
||||
$(MAKE) -C ../../../contikiprojects/vandenbrande.com/twitter/platform/$1
|
||||
$(MAKE) -C ../../examples/email TARGET=$1
|
||||
$(MAKE) -C ../../examples/ftp TARGET=$1
|
||||
$(MAKE) -C ../../../contikiprojects/vandenbrande.com/twitter/platform/$1
|
||||
$(MAKE) -C ../../examples/webserver TARGET=$1 HTTPD-CFS=1
|
||||
$(MAKE) -C ../../examples/telnet-server TARGET=$1
|
||||
endef
|
||||
|
||||
$(eval $(call makes,apple2enh))
|
||||
|
||||
apple2-dsk-1: apple2enh-makes
|
||||
cp ../apple2enh/prodos.dsk contiki-apple2-1.dsk
|
||||
java -jar $(AC) -p contiki-apple2-1.dsk contiki.cfg bin 0 < ../apple2enh/default.cfg
|
||||
java -jar $(AC) -p contiki-apple2-1.dsk menu.system sys 0 < ../apple2enh/menu.system
|
||||
java -jar $(AC) -p contiki-apple2-1.dsk ipconfig.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 contiki-apple2-1.dsk ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
||||
java -jar $(AC) -p contiki-apple2-1.dsk webserve.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 contiki-apple2-1.dsk webserve bin < ../../examples/webserver/webserver-example.apple2enh
|
||||
java -jar $(AC) -p contiki-apple2-1.dsk webbrows.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 contiki-apple2-1.dsk webbrows bin < ../../examples/webbrowser/webbrowser.apple2enh
|
||||
java -jar $(AC) -p contiki-apple2-1.dsk cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
||||
java -jar $(AC) -p contiki-apple2-1.dsk lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
||||
java -jar $(AC) -p contiki-apple2-1.dsk a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
||||
java -jar $(AC) -p contiki-apple2-1.dsk index.htm bin 0 < ../../examples/webserver/httpd-cfs/index.htm
|
||||
java -jar $(AC) -p contiki-apple2-1.dsk backgrnd.gif bin 0 < ../../examples/webserver/httpd-cfs/backgrnd.gif
|
||||
java -jar $(AC) -p contiki-apple2-1.dsk contiki.gif bin 0 < ../../examples/webserver/httpd-cfs/contiki.gif
|
||||
java -jar $(AC) -p contiki-apple2-1.dsk notfound.htm bin 0 < ../../examples/webserver/httpd-cfs/notfound.htm
|
||||
contiki-apple2-1.dsk: apple2enh-makes
|
||||
cp ../apple2enh/prodos.dsk $@
|
||||
java -jar $(AC) -p $@ contiki.cfg bin 0 < ../apple2enh/default.cfg
|
||||
java -jar $(AC) -p $@ menu.system sys 0 < ../apple2enh/menu.system
|
||||
java -jar $(AC) -p $@ ipconfig.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 $@ ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
||||
java -jar $(AC) -p $@ webbrows.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 $@ webbrows bin < ../../examples/webbrowser/webbrowser.apple2enh
|
||||
java -jar $(AC) -p $@ wget.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 $@ wget bin < ../../examples/wget/wget.apple2enh
|
||||
java -jar $(AC) -p $@ cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
||||
java -jar $(AC) -p $@ lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
||||
java -jar $(AC) -p $@ a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
||||
|
||||
apple2-dsk-2: apple2enh-makes
|
||||
cp ../apple2enh/prodos.dsk contiki-apple2-2.dsk
|
||||
java -jar $(AC) -p contiki-apple2-2.dsk contiki.cfg bin 0 < ../apple2enh/default.cfg
|
||||
java -jar $(AC) -p contiki-apple2-2.dsk menu.system sys 0 < ../apple2enh/menu.system
|
||||
java -jar $(AC) -p contiki-apple2-2.dsk ipconfig.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 contiki-apple2-2.dsk ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
||||
java -jar $(AC) -p contiki-apple2-2.dsk wget.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 contiki-apple2-2.dsk wget bin < ../../examples/wget/wget.apple2enh
|
||||
java -jar $(AC) -p contiki-apple2-2.dsk irc.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 contiki-apple2-2.dsk irc bin < ../../examples/irc/irc-client.apple2enh
|
||||
java -jar $(AC) -p contiki-apple2-2.dsk cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
||||
java -jar $(AC) -p contiki-apple2-2.dsk lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
||||
java -jar $(AC) -p contiki-apple2-2.dsk a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
||||
contiki-apple2-2.dsk: apple2enh-makes
|
||||
cp ../apple2enh/prodos.dsk $@
|
||||
java -jar $(AC) -p $@ contiki.cfg bin 0 < ../apple2enh/default.cfg
|
||||
java -jar $(AC) -p $@ menu.system sys 0 < ../apple2enh/menu.system
|
||||
java -jar $(AC) -p $@ ipconfig.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 $@ ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
||||
java -jar $(AC) -p $@ irc.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 $@ irc bin < ../../examples/irc/irc-client.apple2enh
|
||||
java -jar $(AC) -p $@ breadbox.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 $@ breadbox bin < ../../../contikiprojects/vandenbrande.com/twitter/platform/apple2enh/breadbox64.apple2enh
|
||||
java -jar $(AC) -p $@ cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
||||
java -jar $(AC) -p $@ lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
||||
java -jar $(AC) -p $@ a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
||||
|
||||
apple2-dsk-3: apple2enh-makes
|
||||
cp ../apple2enh/prodos.dsk contiki-apple2-3.dsk
|
||||
java -jar $(AC) -p contiki-apple2-3.dsk contiki.cfg bin 0 < ../apple2enh/default.cfg
|
||||
java -jar $(AC) -p contiki-apple2-3.dsk menu.system sys 0 < ../apple2enh/menu.system
|
||||
java -jar $(AC) -p contiki-apple2-3.dsk ipconfig.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 contiki-apple2-3.dsk ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
||||
java -jar $(AC) -p contiki-apple2-3.dsk email.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 contiki-apple2-3.dsk email bin < ../../examples/email/email-client.apple2enh
|
||||
java -jar $(AC) -p contiki-apple2-3.dsk ftp.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 contiki-apple2-3.dsk ftp bin < ../../examples/ftp/ftp-client.apple2enh
|
||||
java -jar $(AC) -p contiki-apple2-3.dsk cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
||||
java -jar $(AC) -p contiki-apple2-3.dsk lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
||||
java -jar $(AC) -p contiki-apple2-3.dsk a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
||||
contiki-apple2-3.dsk: apple2enh-makes
|
||||
cp ../apple2enh/prodos.dsk $@
|
||||
java -jar $(AC) -p $@ contiki.cfg bin 0 < ../apple2enh/default.cfg
|
||||
java -jar $(AC) -p $@ menu.system sys 0 < ../apple2enh/menu.system
|
||||
java -jar $(AC) -p $@ ipconfig.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 $@ ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
||||
java -jar $(AC) -p $@ email.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 $@ email bin < ../../examples/email/email-client.apple2enh
|
||||
java -jar $(AC) -p $@ ftp.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 $@ ftp bin < ../../examples/ftp/ftp-client.apple2enh
|
||||
java -jar $(AC) -p $@ cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
||||
java -jar $(AC) -p $@ lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
||||
java -jar $(AC) -p $@ a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
||||
|
||||
apple2-dsk-4: apple2enh-makes
|
||||
cp ../apple2enh/prodos.dsk contiki-apple2-4.dsk
|
||||
java -jar $(AC) -p contiki-apple2-4.dsk contiki.cfg bin 0 < ../apple2enh/default.cfg
|
||||
java -jar $(AC) -p contiki-apple2-4.dsk menu.system sys 0 < ../apple2enh/menu.system
|
||||
java -jar $(AC) -p contiki-apple2-4.dsk ipconfig.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 contiki-apple2-4.dsk ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
||||
java -jar $(AC) -p contiki-apple2-4.dsk breadbox.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 contiki-apple2-4.dsk breadbox bin < ../../../contikiprojects/vandenbrande.com/twitter/platform/apple2enh/breadbox64.apple2enh
|
||||
java -jar $(AC) -p contiki-apple2-4.dsk cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
||||
java -jar $(AC) -p contiki-apple2-4.dsk lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
||||
java -jar $(AC) -p contiki-apple2-4.dsk a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
||||
|
||||
$(eval $(call makes,c64))
|
||||
|
||||
c64-d64-1: c64-makes
|
||||
$(C1541) -format contiki-1,00 d64 contiki-c64-1.d64
|
||||
$(C1541) -attach contiki-c64-1.d64 -write ../c64/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach contiki-c64-1.d64 -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
||||
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/webserver/webserver-example.c64 webserver,p
|
||||
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/webbrowser/webbrowser.c64 webbrowser,p
|
||||
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/wget/wget.c64 wget,p
|
||||
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/irc/irc-client.c64 irc,p
|
||||
$(C1541) -attach contiki-c64-1.d64 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach contiki-c64-1.d64 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
$(C1541) -attach contiki-c64-1.d64 -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou,u
|
||||
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||
$(C1541) -attach contiki-c64-1.d64 -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||
|
||||
c64-d64-2: c64-makes
|
||||
$(C1541) -format contiki-2,00 d64 contiki-c64-2.d64
|
||||
$(C1541) -attach contiki-c64-2.d64 -write ../c64/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach contiki-c64-2.d64 -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
||||
$(C1541) -attach contiki-c64-2.d64 -write ../../examples/email/email-client.c64 email,p
|
||||
$(C1541) -attach contiki-c64-2.d64 -write ../../examples/ftp/ftp-client.c64 ftp,p
|
||||
$(C1541) -attach contiki-c64-2.d64 -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c64/breadbox64.c64 breadbox64,p
|
||||
$(C1541) -attach contiki-c64-2.d64 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach contiki-c64-2.d64 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
$(C1541) -attach contiki-c64-2.d64 -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou,u
|
||||
|
||||
c64-d71: c64-makes
|
||||
$(C1541) -format contiki,00 d71 contiki-c64.d71
|
||||
$(C1541) -attach contiki-c64.d71 -write ../c64/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach contiki-c64.d71 -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
||||
$(C1541) -attach contiki-c64.d71 -write ../../examples/webserver/webserver-example.c64 webserver,p
|
||||
$(C1541) -attach contiki-c64.d71 -write ../../examples/webbrowser/webbrowser.c64 webbrowser,p
|
||||
$(C1541) -attach contiki-c64.d71 -write ../../examples/wget/wget.c64 wget,p
|
||||
$(C1541) -attach contiki-c64.d71 -write ../../examples/irc/irc-client.c64 irc,p
|
||||
$(C1541) -attach contiki-c64.d71 -write ../../examples/email/email-client.c64 email,p
|
||||
$(C1541) -attach contiki-c64.d71 -write ../../examples/ftp/ftp-client.c64 ftp,p
|
||||
$(C1541) -attach contiki-c64.d71 -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c64/breadbox64.c64 breadbox64,p
|
||||
$(C1541) -attach contiki-c64.d71 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach contiki-c64.d71 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
$(C1541) -attach contiki-c64.d71 -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||
$(C1541) -attach contiki-c64.d71 -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||
$(C1541) -attach contiki-c64.d71 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||
$(C1541) -attach contiki-c64.d71 -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||
|
||||
c64-d81: c64-makes
|
||||
$(C1541) -format contiki,00 d81 contiki-c64.d81
|
||||
$(C1541) -attach contiki-c64.d81 -write ../c64/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach contiki-c64.d81 -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
||||
$(C1541) -attach contiki-c64.d81 -write ../../examples/webserver/webserver-example.c64 webserver,p
|
||||
$(C1541) -attach contiki-c64.d81 -write ../../examples/webbrowser/webbrowser.c64 webbrowser,p
|
||||
$(C1541) -attach contiki-c64.d81 -write ../../examples/wget/wget.c64 wget,p
|
||||
$(C1541) -attach contiki-c64.d81 -write ../../examples/irc/irc-client.c64 irc,p
|
||||
$(C1541) -attach contiki-c64.d81 -write ../../examples/email/email-client.c64 email,p
|
||||
$(C1541) -attach contiki-c64.d81 -write ../../examples/ftp/ftp-client.c64 ftp,p
|
||||
$(C1541) -attach contiki-c64.d81 -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c64/breadbox64.c64 breadbox64,p
|
||||
$(C1541) -attach contiki-c64.d81 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach contiki-c64.d81 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
$(C1541) -attach contiki-c64.d81 -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||
$(C1541) -attach contiki-c64.d81 -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||
$(C1541) -attach contiki-c64.d81 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||
$(C1541) -attach contiki-c64.d81 -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||
|
||||
$(eval $(call makes,c128))
|
||||
|
||||
c128-d64-1: c128-makes
|
||||
$(C1541) -format contiki-1,00 d64 contiki-c128-1.d64
|
||||
$(C1541) -attach contiki-c128-1.d64 -write ../c128/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach contiki-c128-1.d64 -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
||||
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/webserver/webserver-example.c128 webserver,p
|
||||
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/webbrowser/webbrowser.c128 webbrowser,p
|
||||
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/wget/wget.c128 wget,p
|
||||
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/irc/irc-client.c128 irc,p
|
||||
$(C1541) -attach contiki-c128-1.d64 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach contiki-c128-1.d64 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||
$(C1541) -attach contiki-c128-1.d64 -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||
|
||||
c128-d64-2: c128-makes
|
||||
$(C1541) -format contiki-2,00 d64 contiki-c128-2.d64
|
||||
$(C1541) -attach contiki-c128-2.d64 -write ../c128/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach contiki-c128-2.d64 -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
||||
$(C1541) -attach contiki-c128-2.d64 -write ../../examples/email/email-client.c128 email,p
|
||||
$(C1541) -attach contiki-c128-2.d64 -write ../../examples/ftp/ftp-client.c128 ftp,p
|
||||
$(C1541) -attach contiki-c128-2.d64 -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c128/breadbox64.c128 breadbox64,p
|
||||
$(C1541) -attach contiki-c128-2.d64 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach contiki-c128-2.d64 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
|
||||
c128-d71: c128-makes
|
||||
$(C1541) -format contiki,00 d71 contiki-c128.d71
|
||||
$(C1541) -attach contiki-c128.d71 -write ../c128/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach contiki-c128.d71 -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
||||
$(C1541) -attach contiki-c128.d71 -write ../../examples/webserver/webserver-example.c128 webserver,p
|
||||
$(C1541) -attach contiki-c128.d71 -write ../../examples/webbrowser/webbrowser.c128 webbrowser,p
|
||||
$(C1541) -attach contiki-c128.d71 -write ../../examples/wget/wget.c128 wget,p
|
||||
$(C1541) -attach contiki-c128.d71 -write ../../examples/irc/irc-client.c128 irc,p
|
||||
$(C1541) -attach contiki-c128.d71 -write ../../examples/email/email-client.c128 email,p
|
||||
$(C1541) -attach contiki-c128.d71 -write ../../examples/ftp/ftp-client.c128 ftp,p
|
||||
$(C1541) -attach contiki-c128.d71 -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c128/breadbox64.c128 breadbox64,p
|
||||
$(C1541) -attach contiki-c128.d71 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach contiki-c128.d71 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
$(C1541) -attach contiki-c128.d71 -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||
$(C1541) -attach contiki-c128.d71 -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||
$(C1541) -attach contiki-c128.d71 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||
$(C1541) -attach contiki-c128.d71 -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||
|
||||
c128-d81: c128-makes
|
||||
$(C1541) -format contiki,00 d81 contiki-c128.d81
|
||||
$(C1541) -attach contiki-c128.d81 -write ../c128/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach contiki-c128.d81 -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
||||
$(C1541) -attach contiki-c128.d81 -write ../../examples/webserver/webserver-example.c128 webserver,p
|
||||
$(C1541) -attach contiki-c128.d81 -write ../../examples/webbrowser/webbrowser.c128 webbrowser,p
|
||||
$(C1541) -attach contiki-c128.d81 -write ../../examples/wget/wget.c128 wget,p
|
||||
$(C1541) -attach contiki-c128.d81 -write ../../examples/irc/irc-client.c128 irc,p
|
||||
$(C1541) -attach contiki-c128.d81 -write ../../examples/email/email-client.c128 email,p
|
||||
$(C1541) -attach contiki-c128.d81 -write ../../examples/ftp/ftp-client.c128 ftp,p
|
||||
$(C1541) -attach contiki-c128.d81 -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c128/breadbox64.c128 breadbox64,p
|
||||
$(C1541) -attach contiki-c128.d81 -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach contiki-c128.d81 -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
$(C1541) -attach contiki-c128.d81 -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||
$(C1541) -attach contiki-c128.d81 -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||
$(C1541) -attach contiki-c128.d81 -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||
$(C1541) -attach contiki-c128.d81 -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||
contiki-apple2-4.dsk: apple2enh-makes
|
||||
cp ../apple2enh/prodos.dsk $@
|
||||
java -jar $(AC) -p $@ contiki.cfg bin 0 < ../apple2enh/default.cfg
|
||||
java -jar $(AC) -p $@ menu.system sys 0 < ../apple2enh/menu.system
|
||||
java -jar $(AC) -p $@ ipconfig.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 $@ ipconfig bin 0 < ../../cpu/6502/ipconfig/ipconfig.apple2enh
|
||||
java -jar $(AC) -p $@ webserv.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 $@ webserv bin < ../../examples/webserver/webserver-example.apple2enh
|
||||
java -jar $(AC) -p $@ telnetd.system sys 0 < ../apple2enh/loader.system
|
||||
java -jar $(AC) -cc65 $@ telnetd bin < ../../examples/telnet-server/telnet-server.apple2enh
|
||||
java -jar $(AC) -p $@ cs8900a.eth rel 0 < ../../cpu/6502/ipconfig/cs8900a.eth
|
||||
java -jar $(AC) -p $@ lan91c96.eth rel 0 < ../../cpu/6502/ipconfig/lan91c96.eth
|
||||
java -jar $(AC) -p $@ a2e.stdmou.mou rel 0 < $(CC65_HOME)/mou/a2e.stdmou.mou
|
||||
java -jar $(AC) -p $@ index.htm bin 0 < ../../examples/webserver/httpd-cfs/index.htm
|
||||
java -jar $(AC) -p $@ backgrnd.gif bin 0 < ../../examples/webserver/httpd-cfs/backgrnd.gif
|
||||
java -jar $(AC) -p $@ contiki.gif bin 0 < ../../examples/webserver/httpd-cfs/contiki.gif
|
||||
java -jar $(AC) -p $@ notfound.htm bin 0 < ../../examples/webserver/httpd-cfs/notfound.htm
|
||||
|
||||
$(eval $(call makes,atari))
|
||||
|
||||
atari-atr-1: atari-makes
|
||||
contiki-atari-1.atr: atari-makes
|
||||
mkdir atr
|
||||
cp ../atari/dos.sys atr/dos.sys
|
||||
cp ../atari/dup.sys atr/dup.sys
|
||||
cp ../atari/default.cfg atr/contiki.cfg
|
||||
cp ../../cpu/6502/ipconfig/ipconfig.atari atr/ipconfig.com
|
||||
cp ../../examples/webserver/webserver-example.atari atr/webserve.com
|
||||
cp ../../examples/webbrowser/webbrowser.atari atr/webbrows.com
|
||||
cp ../../examples/webserver/httpd-cfs/index.htm atr/index.htm
|
||||
cp ../../examples/webserver/httpd-cfs/backgrnd.gif atr/backgrnd.gif
|
||||
cp ../../examples/webserver/httpd-cfs/contiki.gif atr/contiki.gif
|
||||
cp ../../examples/webserver/httpd-cfs/notfound.htm atr/notfound.htm
|
||||
$(DIR2ATR) -b Dos25 1040 contiki-atari-1.atr atr
|
||||
cp ../../examples/wget/wget.atari atr/wget.com
|
||||
$(DIR2ATR) -b Dos25 1040 $@ atr
|
||||
rm -r atr
|
||||
|
||||
atari-atr-2: atari-makes
|
||||
contiki-atari-2.atr: atari-makes
|
||||
mkdir atr
|
||||
cp ../atari/dos.sys atr/dos.sys
|
||||
cp ../atari/dup.sys atr/dup.sys
|
||||
cp ../atari/default.cfg atr/contiki.cfg
|
||||
cp ../../cpu/6502/ipconfig/ipconfig.atari atr/ipconfig.com
|
||||
cp ../../examples/wget/wget.atari atr/wget.com
|
||||
cp ../../examples/irc/irc-client.atari atr/irc.com
|
||||
$(DIR2ATR) -b Dos25 1040 contiki-atari-2.atr atr
|
||||
cp ../../../contikiprojects/vandenbrande.com/twitter/platform/atari/breadbox64.atari atr/breadbox.com
|
||||
$(DIR2ATR) -b Dos25 1040 $@ atr
|
||||
rm -r atr
|
||||
|
||||
atari-atr-3: atari-makes
|
||||
contiki-atari-3.atr: atari-makes
|
||||
mkdir atr
|
||||
cp ../atari/dos.sys atr/dos.sys
|
||||
cp ../atari/dup.sys atr/dup.sys
|
||||
@ -294,15 +165,156 @@ atari-atr-3: atari-makes
|
||||
cp ../../cpu/6502/ipconfig/ipconfig.atari atr/ipconfig.com
|
||||
cp ../../examples/email/email-client.atari atr/email.com
|
||||
cp ../../examples/ftp/ftp-client.atari atr/ftp.com
|
||||
$(DIR2ATR) -b Dos25 1040 contiki-atari-3.atr atr
|
||||
$(DIR2ATR) -b Dos25 1040 $@ atr
|
||||
rm -r atr
|
||||
|
||||
atari-atr-4: atari-makes
|
||||
contiki-atari-4.atr: atari-makes
|
||||
mkdir atr
|
||||
cp ../atari/dos.sys atr/dos.sys
|
||||
cp ../atari/dup.sys atr/dup.sys
|
||||
cp ../atari/default.cfg atr/contiki.cfg
|
||||
cp ../../cpu/6502/ipconfig/ipconfig.atari atr/ipconfig.com
|
||||
cp ../../../contikiprojects/vandenbrande.com/twitter/platform/atari/breadbox64.atari atr/breadbox.com
|
||||
$(DIR2ATR) -b Dos25 1040 contiki-atari-4.atr atr
|
||||
cp ../../examples/webserver/webserver-example.atari atr/webserv.com
|
||||
cp ../../examples/telnet-server/telnet-server.atari atr/telnetd.com
|
||||
cp ../../examples/webserver/httpd-cfs/index.htm atr/index.htm
|
||||
cp ../../examples/webserver/httpd-cfs/backgrnd.gif atr/backgrnd.gif
|
||||
cp ../../examples/webserver/httpd-cfs/contiki.gif atr/contiki.gif
|
||||
cp ../../examples/webserver/httpd-cfs/notfound.htm atr/notfound.htm
|
||||
$(DIR2ATR) -b Dos25 1040 $@ atr
|
||||
rm -r atr
|
||||
|
||||
$(eval $(call makes,c64))
|
||||
|
||||
contiki-c64-1.d64: c64-makes
|
||||
$(C1541) -format contiki-1,00 d64 $@
|
||||
$(C1541) -attach $@ -write ../c64/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
||||
$(C1541) -attach $@ -write ../../examples/webbrowser/webbrowser.c64 webbrowser,p
|
||||
$(C1541) -attach $@ -write ../../examples/wget/wget.c64 wget,p
|
||||
$(C1541) -attach $@ -write ../../examples/irc/irc-client.c64 irc,p
|
||||
$(C1541) -attach $@ -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c64/breadbox64.c64 breadbox64,p
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou,u
|
||||
|
||||
contiki-c64-2.d64: c64-makes
|
||||
$(C1541) -format contiki-2,00 d64 $@
|
||||
$(C1541) -attach $@ -write ../c64/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
||||
$(C1541) -attach $@ -write ../../examples/email/email-client.c64 email,p
|
||||
$(C1541) -attach $@ -write ../../examples/ftp/ftp-client.c64 ftp,p
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/webserver-example.c64 webserver,p
|
||||
$(C1541) -attach $@ -write ../../examples/telnet-server/telnet-server.c64 telnetd,p
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||
|
||||
contiki-c64.d71: c64-makes
|
||||
$(C1541) -format contiki,00 d71 $@
|
||||
$(C1541) -attach $@ -write ../c64/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
||||
$(C1541) -attach $@ -write ../../examples/webbrowser/webbrowser.c64 webbrowser,p
|
||||
$(C1541) -attach $@ -write ../../examples/wget/wget.c64 wget,p
|
||||
$(C1541) -attach $@ -write ../../examples/irc/irc-client.c64 irc,p
|
||||
$(C1541) -attach $@ -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c64/breadbox64.c64 breadbox64,p
|
||||
$(C1541) -attach $@ -write ../../examples/email/email-client.c64 email,p
|
||||
$(C1541) -attach $@ -write ../../examples/ftp/ftp-client.c64 ftp,p
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/webserver-example.c64 webserver,p
|
||||
$(C1541) -attach $@ -write ../../examples/telnet-server/telnet-server.c64 telnetd,p
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||
|
||||
contiki-c64.d81: c64-makes
|
||||
$(C1541) -format contiki,00 d81 $@
|
||||
$(C1541) -attach $@ -write ../c64/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c64 ipconfig,p
|
||||
$(C1541) -attach $@ -write ../../examples/webbrowser/webbrowser.c64 webbrowser,p
|
||||
$(C1541) -attach $@ -write ../../examples/wget/wget.c64 wget,p
|
||||
$(C1541) -attach $@ -write ../../examples/irc/irc-client.c64 irc,p
|
||||
$(C1541) -attach $@ -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c64/breadbox64.c64 breadbox64,p
|
||||
$(C1541) -attach $@ -write ../../examples/email/email-client.c64 email,p
|
||||
$(C1541) -attach $@ -write ../../examples/ftp/ftp-client.c64 ftp,p
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/webserver-example.c64 webserver,p
|
||||
$(C1541) -attach $@ -write ../../examples/telnet-server/telnet-server.c64 telnetd,p
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
$(C1541) -attach $@ -write $(CC65_HOME)/mou/c64-1351.mou c64-1351.mou,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||
|
||||
$(eval $(call makes,c128))
|
||||
|
||||
contiki-c128-1.d64: c128-makes
|
||||
$(C1541) -format contiki-1,00 d64 $@
|
||||
$(C1541) -attach $@ -write ../c128/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
||||
$(C1541) -attach $@ -write ../../examples/webbrowser/webbrowser.c128 webbrowser,p
|
||||
$(C1541) -attach $@ -write ../../examples/wget/wget.c128 wget,p
|
||||
$(C1541) -attach $@ -write ../../examples/irc/irc-client.c128 irc,p
|
||||
$(C1541) -attach $@ -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c128/breadbox64.c128 breadbox64,p
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
|
||||
contiki-c128-2.d64: c128-makes
|
||||
$(C1541) -format contiki-2,00 d64 $@
|
||||
$(C1541) -attach $@ -write ../c128/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
||||
$(C1541) -attach $@ -write ../../examples/email/email-client.c128 email,p
|
||||
$(C1541) -attach $@ -write ../../examples/ftp/ftp-client.c128 ftp,p
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/webserver-example.c128 webserver,p
|
||||
$(C1541) -attach $@ -write ../../examples/telnet-server/telnet-server.c128 telnetd,p
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||
|
||||
contiki-c128.d71: c128-makes
|
||||
$(C1541) -format contiki,00 d71 $@
|
||||
$(C1541) -attach $@ -write ../c128/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
||||
$(C1541) -attach $@ -write ../../examples/webbrowser/webbrowser.c128 webbrowser,p
|
||||
$(C1541) -attach $@ -write ../../examples/wget/wget.c128 wget,p
|
||||
$(C1541) -attach $@ -write ../../examples/irc/irc-client.c128 irc,p
|
||||
$(C1541) -attach $@ -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c128/breadbox64.c128 breadbox64,p
|
||||
$(C1541) -attach $@ -write ../../examples/email/email-client.c128 email,p
|
||||
$(C1541) -attach $@ -write ../../examples/ftp/ftp-client.c128 ftp,p
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/webserver-example.c128 webserver,p
|
||||
$(C1541) -attach $@ -write ../../examples/telnet-server/telnet-server.c128 telnetd,p
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||
|
||||
contiki-c128.d81: c128-makes
|
||||
$(C1541) -format contiki,00 d81 $@
|
||||
$(C1541) -attach $@ -write ../c128/default.cfg contiki.cfg,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/ipconfig.c128 ipconfig,p
|
||||
$(C1541) -attach $@ -write ../../examples/webbrowser/webbrowser.c128 webbrowser,p
|
||||
$(C1541) -attach $@ -write ../../examples/wget/wget.c128 wget,p
|
||||
$(C1541) -attach $@ -write ../../examples/irc/irc-client.c128 irc,p
|
||||
$(C1541) -attach $@ -write ../../../contikiprojects/vandenbrande.com/twitter/platform/c128/breadbox64.c128 breadbox64,p
|
||||
$(C1541) -attach $@ -write ../../examples/email/email-client.c128 email,p
|
||||
$(C1541) -attach $@ -write ../../examples/ftp/ftp-client.c128 ftp,p
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/webserver-example.c128 webserver,p
|
||||
$(C1541) -attach $@ -write ../../examples/telnet-server/telnet-server.c128 telnetd,p
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/cs8900a.eth cs8900a.eth,u
|
||||
$(C1541) -attach $@ -write ../../cpu/6502/ipconfig/lan91c96.eth lan91c96.eth,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/index.htm index.htm,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/backgrnd.gif backgrnd.gif,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/contiki.gif contiki.gif,u
|
||||
$(C1541) -attach $@ -write ../../examples/webserver/httpd-cfs/notfound.htm notfound.htm,u
|
||||
|
Loading…
Reference in New Issue
Block a user