From: Philipp Hachtmann Date: Sat, 18 Jan 2014 14:23:17 +0000 (+0100) Subject: global: Add the symbolic links - discard mklink.sh X-Git-Url: http://gitweb.hachti.de/?p=h316.git;a=commitdiff_plain;h=baeb08e05af1cf11b9b0daf4871119c4cabc3f24 global: Add the symbolic links - discard mklink.sh GIT can handle symbolic links. So the mklink.sh and rmlink.sh mechanism can be safely retired. Signed-off-by: Philipp Hachtmann --- diff --git a/Makefile b/Makefile index c092b95..6f781ba 100644 --- a/Makefile +++ b/Makefile @@ -29,18 +29,14 @@ SUBDIRS+=programs default: - @mklink.sh @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir)&&) /bin/true clean: - @mklink.sh @$(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@&&) true @rm -f h316rc - @rmlink.sh %: @echo $@ - @mklink.sh $(foreach subdir, $(SUBDIRS), $(MAKE) -C $(subdir) $@;) diff --git a/bin/bmaker b/bin/bmaker new file mode 120000 index 0000000..3139cf4 --- /dev/null +++ b/bin/bmaker @@ -0,0 +1 @@ +/home/hachti/h316/pc-tools/boot-maker/bmaker \ No newline at end of file diff --git a/bin/ldc b/bin/ldc new file mode 120000 index 0000000..6048e5e --- /dev/null +++ b/bin/ldc @@ -0,0 +1 @@ +/home/hachti/h316/pc-tools/ldc2/ldc2 \ No newline at end of file diff --git a/bin/mklink.sh b/bin/mklink.sh deleted file mode 100755 index 792a098..0000000 --- a/bin/mklink.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/bash -if [ -e $H316/.links_present ]; then exit 0; fi -echo Creating links. - -ln -s -f $H316/systems/super2.sys $H316/sys -ln -s -f $H316/systems/super3.sys $H316/sys -ln -s -f $H316/systems/dap.sys $H316/sys - -ln -s -f $H316/systems/super2.slst $H316/slst -ln -s -f $H316/systems/super3.slst $H316/slst -ln -s -f $H316/systems/dap.slst $H316/slst - -ln -s -f $H316/honeywell/obj/dap16.obj $H316/obj -ln -s -f $H316/honeywell/obj/deccl.obj $H316/obj -ln -s -f $H316/honeywell/obj/dumy-x16.obj $H316/obj -ln -s -f $H316/honeywell/obj/ios-16.obj $H316/obj -ln -s -f $H316/honeywell/obj/ldr-apm.obj $H316/obj -ln -s -f $H316/honeywell/obj/ldr-dumy.obj $H316/obj -ln -s -f $H316/honeywell/obj/pal-ap.obj $H316/obj -ln -s -f $H316/honeywell/obj/prntnz.obj $H316/obj -ln -s -f $H316/honeywell/obj/setsiz.obj $H316/obj - -touch $H316/.links_present - -ln -s -f $H316/honeywell/slst/dap_8k.slst $H316/slst -ln -s -f $H316/honeywell/slst/frtn_8k.slst $H316/slst -ln -s -f $H316/honeywell/slst/ldr-apm_8k.slst $H316/slst -ln -s -f $H316/honeywell/slst/pal-ap_4k.slst $H316/slst - -ln -s -f $H316/programs/fortran/frtn.sys $H316/sys -ln -s -f $H316/programs/fortran/frtn.slst $H316/slst - -ln -s -f $H316/pc-tools/src-filters/paron $H316/bin -ln -s -f $H316/pc-tools/src-filters/paroff $H316/bin -ln -s -f $H316/pc-tools/src-filters/tab $H316/bin -ln -s -f $H316/pc-tools/src-filters/zstrip $H316/bin - -ln -s -f $H316/pc-tools/ldc2/ldc2 $H316/bin/ldc -ln -s -f $H316/pc-tools/boot-maker/bmaker $H316/bin - -ln -s -f $H316/honeywell/lib/iolib35.lib $H316/lib/iolib/original/iolib35.lib - -ln -s -f $H316/honeywell/lib/flib{1,2,3}.lib $H316/lib/fortran/original -ln -s -f $H316/honeywell/lib/math.lib $H316/lib/fortran/original - -for nb in `ls $H316/lib/common | grep -v CVS`; do - n=`basename "$nb"` - ln -s -f "$H316/lib/common/$n" $H316/lib/fortran - ln -s -f "$H316/lib/common/$n" $H316/lib/iolib - ln -s -f "$H316/lib/common/$n" $H316/lib/hachti -done - diff --git a/bin/paroff b/bin/paroff new file mode 120000 index 0000000..b01f099 --- /dev/null +++ b/bin/paroff @@ -0,0 +1 @@ +/home/hachti/h316/pc-tools/src-filters/paroff \ No newline at end of file diff --git a/bin/paron b/bin/paron new file mode 120000 index 0000000..aa4b1cb --- /dev/null +++ b/bin/paron @@ -0,0 +1 @@ +/home/hachti/h316/pc-tools/src-filters/paron \ No newline at end of file diff --git a/bin/rmlink.sh b/bin/rmlink.sh deleted file mode 100755 index e834062..0000000 --- a/bin/rmlink.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash -if [ ! -e $H316/.links_present ] ; then exit 0; fi -echo Removing links. - -rm -f $H316/sys/super2.sys -rm -f $H316/sys/super3.sys -rm -f $H316/sys/dap.sys -rm -f $H316/slst/super2.slst -rm -f $H316/slst/super3.slst -rm -f $H316/slst/dap.slst -rm -f $H316/obj/dap16.obj -rm -f $H316/obj/deccl.obj -rm -f $H316/obj/dumy-x16.obj -rm -f $H316/obj/ios-16.obj -rm -f $H316/obj/ldr-apm.obj -rm -f $H316/obj/ldr-dumy.obj -rm -f $H316/obj/pal-ap.obj -rm -f $H316/obj/prntnz.obj -rm -f $H316/obj/setsiz.obj - - -rm -f $H316/.links_present - -rm -f $H316/slst/dap_8k.slst -rm -f $H316/slst/frtn_8k.slst -rm -f $H316/slst/ldr-apm_8k.slst -rm -f $H316/slst/pal-ap_4k.slst - -rm -f $H316/sys/frtn.sys -rm -f $H316/sys/frtn.slst - - -rm -f $H316/bin/{paron,paroff,tab,zstrip} -rm -f $H316/bin/ldc -rm -f $H316/bin/bmaker - -rm -f $H316/lib/iolib/original/*.lib - -rm -f $H316/lib/fortran/original/flib{1,2,3}.lib - - -for nb in `ls $H316/lib/common | grep -v CVS`; do - n=`basename "$nb"` - rm -f "$H316/lib/fortran/$n" - rm -f "$H316/lib/iolib/$n" - rm -f "$H316/lib/hachti/$n" -done - diff --git a/bin/tab b/bin/tab new file mode 120000 index 0000000..98d4648 --- /dev/null +++ b/bin/tab @@ -0,0 +1 @@ +/home/hachti/h316/pc-tools/src-filters/tab \ No newline at end of file diff --git a/bin/zstrip b/bin/zstrip new file mode 120000 index 0000000..26868b7 --- /dev/null +++ b/bin/zstrip @@ -0,0 +1 @@ +/home/hachti/h316/pc-tools/src-filters/zstrip \ No newline at end of file diff --git a/lib/fortran/buildlib.sh b/lib/fortran/buildlib.sh new file mode 120000 index 0000000..d1f0db6 --- /dev/null +++ b/lib/fortran/buildlib.sh @@ -0,0 +1 @@ +/home/hachti/h316/lib/common/buildlib.sh \ No newline at end of file diff --git a/lib/fortran/original/flib1.lib b/lib/fortran/original/flib1.lib new file mode 120000 index 0000000..c4ff63d --- /dev/null +++ b/lib/fortran/original/flib1.lib @@ -0,0 +1 @@ +/home/hachti/h316/honeywell/lib/flib1.lib \ No newline at end of file diff --git a/lib/fortran/original/flib2.lib b/lib/fortran/original/flib2.lib new file mode 120000 index 0000000..789534f --- /dev/null +++ b/lib/fortran/original/flib2.lib @@ -0,0 +1 @@ +/home/hachti/h316/honeywell/lib/flib2.lib \ No newline at end of file diff --git a/lib/fortran/original/flib3.lib b/lib/fortran/original/flib3.lib new file mode 120000 index 0000000..ebe5f0f --- /dev/null +++ b/lib/fortran/original/flib3.lib @@ -0,0 +1 @@ +/home/hachti/h316/honeywell/lib/flib3.lib \ No newline at end of file diff --git a/lib/fortran/original/math.lib b/lib/fortran/original/math.lib new file mode 120000 index 0000000..1a888ed --- /dev/null +++ b/lib/fortran/original/math.lib @@ -0,0 +1 @@ +/home/hachti/h316/honeywell/lib/math.lib \ No newline at end of file diff --git a/lib/hachti/buildlib.sh b/lib/hachti/buildlib.sh new file mode 120000 index 0000000..d1f0db6 --- /dev/null +++ b/lib/hachti/buildlib.sh @@ -0,0 +1 @@ +/home/hachti/h316/lib/common/buildlib.sh \ No newline at end of file diff --git a/lib/iolib/buildlib.sh b/lib/iolib/buildlib.sh new file mode 120000 index 0000000..d1f0db6 --- /dev/null +++ b/lib/iolib/buildlib.sh @@ -0,0 +1 @@ +/home/hachti/h316/lib/common/buildlib.sh \ No newline at end of file diff --git a/lib/iolib/original/iolib35.lib b/lib/iolib/original/iolib35.lib new file mode 120000 index 0000000..fc247fe --- /dev/null +++ b/lib/iolib/original/iolib35.lib @@ -0,0 +1 @@ +/home/hachti/h316/honeywell/lib/iolib35.lib \ No newline at end of file diff --git a/obj b/obj new file mode 120000 index 0000000..f68117e --- /dev/null +++ b/obj @@ -0,0 +1 @@ +/home/hachti/h316/honeywell/obj/setsiz.obj \ No newline at end of file diff --git a/slst/dap.slst b/slst/dap.slst new file mode 120000 index 0000000..db10a9d --- /dev/null +++ b/slst/dap.slst @@ -0,0 +1 @@ +/home/hachti/h316/systems/dap.slst \ No newline at end of file diff --git a/slst/dap_8k.slst b/slst/dap_8k.slst new file mode 120000 index 0000000..c7d699d --- /dev/null +++ b/slst/dap_8k.slst @@ -0,0 +1 @@ +/home/hachti/h316/honeywell/slst/dap_8k.slst \ No newline at end of file diff --git a/slst/frtn.slst b/slst/frtn.slst new file mode 120000 index 0000000..7a8dbda --- /dev/null +++ b/slst/frtn.slst @@ -0,0 +1 @@ +/home/hachti/h316/programs/fortran/frtn.slst \ No newline at end of file diff --git a/slst/frtn_8k.slst b/slst/frtn_8k.slst new file mode 120000 index 0000000..6797bbe --- /dev/null +++ b/slst/frtn_8k.slst @@ -0,0 +1 @@ +/home/hachti/h316/honeywell/slst/frtn_8k.slst \ No newline at end of file diff --git a/slst/ldr-apm_8k.slst b/slst/ldr-apm_8k.slst new file mode 120000 index 0000000..01f58c4 --- /dev/null +++ b/slst/ldr-apm_8k.slst @@ -0,0 +1 @@ +/home/hachti/h316/honeywell/slst/ldr-apm_8k.slst \ No newline at end of file diff --git a/slst/pal-ap_4k.slst b/slst/pal-ap_4k.slst new file mode 120000 index 0000000..316f0b7 --- /dev/null +++ b/slst/pal-ap_4k.slst @@ -0,0 +1 @@ +/home/hachti/h316/honeywell/slst/pal-ap_4k.slst \ No newline at end of file diff --git a/slst/super2.slst b/slst/super2.slst new file mode 120000 index 0000000..99ad34e --- /dev/null +++ b/slst/super2.slst @@ -0,0 +1 @@ +/home/hachti/h316/systems/super2.slst \ No newline at end of file diff --git a/slst/super3.slst b/slst/super3.slst new file mode 120000 index 0000000..6337c2f --- /dev/null +++ b/slst/super3.slst @@ -0,0 +1 @@ +/home/hachti/h316/systems/super3.slst \ No newline at end of file diff --git a/sys/dap.sys b/sys/dap.sys new file mode 120000 index 0000000..5811cbe --- /dev/null +++ b/sys/dap.sys @@ -0,0 +1 @@ +/home/hachti/h316/systems/dap.sys \ No newline at end of file diff --git a/sys/frtn.sys b/sys/frtn.sys new file mode 120000 index 0000000..1b5cd68 --- /dev/null +++ b/sys/frtn.sys @@ -0,0 +1 @@ +/home/hachti/h316/programs/fortran/frtn.sys \ No newline at end of file diff --git a/sys/super2.sys b/sys/super2.sys new file mode 120000 index 0000000..0d5ffaa --- /dev/null +++ b/sys/super2.sys @@ -0,0 +1 @@ +/home/hachti/h316/systems/super2.sys \ No newline at end of file diff --git a/sys/super3.sys b/sys/super3.sys new file mode 120000 index 0000000..4af287f --- /dev/null +++ b/sys/super3.sys @@ -0,0 +1 @@ +/home/hachti/h316/systems/super3.sys \ No newline at end of file