global: Add the symbolic links - discard mklink.sh
authorPhilipp Hachtmann <hachti@hachti.de>
Sat, 18 Jan 2014 14:23:17 +0000 (15:23 +0100)
committerPhilipp Hachtmann <hachti@hachti.de>
Sat, 18 Jan 2014 14:27:03 +0000 (15:27 +0100)
GIT can handle symbolic links. So the mklink.sh and rmlink.sh mechanism
can be safely retired.

Signed-off-by: Philipp Hachtmann <hachti@hachti.de>
30 files changed:
Makefile
bin/bmaker [new symlink]
bin/ldc [new symlink]
bin/mklink.sh [deleted file]
bin/paroff [new symlink]
bin/paron [new symlink]
bin/rmlink.sh [deleted file]
bin/tab [new symlink]
bin/zstrip [new symlink]
lib/fortran/buildlib.sh [new symlink]
lib/fortran/original/flib1.lib [new symlink]
lib/fortran/original/flib2.lib [new symlink]
lib/fortran/original/flib3.lib [new symlink]
lib/fortran/original/math.lib [new symlink]
lib/hachti/buildlib.sh [new symlink]
lib/iolib/buildlib.sh [new symlink]
lib/iolib/original/iolib35.lib [new symlink]
obj [new symlink]
slst/dap.slst [new symlink]
slst/dap_8k.slst [new symlink]
slst/frtn.slst [new symlink]
slst/frtn_8k.slst [new symlink]
slst/ldr-apm_8k.slst [new symlink]
slst/pal-ap_4k.slst [new symlink]
slst/super2.slst [new symlink]
slst/super3.slst [new symlink]
sys/dap.sys [new symlink]
sys/frtn.sys [new symlink]
sys/super2.sys [new symlink]
sys/super3.sys [new symlink]

index c092b95f9e9a3e3a76ae78e73ba5f36541562d77..6f781ba90e7472d3fe251fff5a90bb8d986ac1a2 100644 (file)
--- 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 (symlink)
index 0000000..3139cf4
--- /dev/null
@@ -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 (symlink)
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 (executable)
index 792a098..0000000
+++ /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 (symlink)
index 0000000..b01f099
--- /dev/null
@@ -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 (symlink)
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 (executable)
index e834062..0000000
+++ /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 (symlink)
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 (symlink)
index 0000000..26868b7
--- /dev/null
@@ -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 (symlink)
index 0000000..d1f0db6
--- /dev/null
@@ -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 (symlink)
index 0000000..c4ff63d
--- /dev/null
@@ -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 (symlink)
index 0000000..789534f
--- /dev/null
@@ -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 (symlink)
index 0000000..ebe5f0f
--- /dev/null
@@ -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 (symlink)
index 0000000..1a888ed
--- /dev/null
@@ -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 (symlink)
index 0000000..d1f0db6
--- /dev/null
@@ -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 (symlink)
index 0000000..d1f0db6
--- /dev/null
@@ -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 (symlink)
index 0000000..fc247fe
--- /dev/null
@@ -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 (symlink)
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 (symlink)
index 0000000..db10a9d
--- /dev/null
@@ -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 (symlink)
index 0000000..c7d699d
--- /dev/null
@@ -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 (symlink)
index 0000000..7a8dbda
--- /dev/null
@@ -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 (symlink)
index 0000000..6797bbe
--- /dev/null
@@ -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 (symlink)
index 0000000..01f58c4
--- /dev/null
@@ -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 (symlink)
index 0000000..316f0b7
--- /dev/null
@@ -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 (symlink)
index 0000000..99ad34e
--- /dev/null
@@ -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 (symlink)
index 0000000..6337c2f
--- /dev/null
@@ -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 (symlink)
index 0000000..5811cbe
--- /dev/null
@@ -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 (symlink)
index 0000000..1b5cd68
--- /dev/null
@@ -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 (symlink)
index 0000000..0d5ffaa
--- /dev/null
@@ -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 (symlink)
index 0000000..4af287f
--- /dev/null
@@ -0,0 +1 @@
+/home/hachti/h316/systems/super3.sys
\ No newline at end of file