Initial Commit
This commit is contained in:
57
bin/wdc-config
Executable file
57
bin/wdc-config
Executable file
@@ -0,0 +1,57 @@
|
||||
#!/bin/bash
|
||||
|
||||
source wdc.cfg
|
||||
|
||||
exec_prefix=${prefix}
|
||||
exec_prefix_set=no
|
||||
|
||||
usage="\
|
||||
Usage: wdc-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
|
||||
|
||||
if test $# -eq 0; then
|
||||
echo "${usage}" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
while test $# -gt 0; do
|
||||
case "$1" in
|
||||
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
||||
*) optarg= ;;
|
||||
esac
|
||||
|
||||
case $1 in
|
||||
--prefix=*)
|
||||
prefix=$optarg
|
||||
if test $exec_prefix_set = no ; then
|
||||
exec_prefix=$optarg
|
||||
fi
|
||||
;;
|
||||
--prefix)
|
||||
echo $prefix
|
||||
;;
|
||||
--exec-prefix=*)
|
||||
exec_prefix=$optarg
|
||||
exec_prefix_set=yes
|
||||
;;
|
||||
--exec-prefix)
|
||||
echo $exec_prefix
|
||||
;;
|
||||
--version)
|
||||
echo 3.49.1
|
||||
;;
|
||||
--cflags)
|
||||
includes=-I${prefix}/include
|
||||
echo $includes
|
||||
;;
|
||||
--libs)
|
||||
libdirs=-L${prefix}/lib
|
||||
echo $libdirs
|
||||
;;
|
||||
*)
|
||||
echo "${usage}" 1>&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
1
bin/wdc.cfg
Normal file
1
bin/wdc.cfg
Normal file
@@ -0,0 +1 @@
|
||||
prefix=/opt/wdc
|
||||
7
bin/wdc02as
Executable file
7
bin/wdc02as
Executable file
@@ -0,0 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
source wdc.cfg
|
||||
|
||||
export WINEPATH=${prefix}/libexec
|
||||
export WDC_INC_6502=`winepath -w ${prefix}/include`
|
||||
WINEDEBUG=fixme-all WINEFSYNC=1 wine ${prefix}/libexec/WDC02AS.exe $*
|
||||
9
bin/wdc02cc
Executable file
9
bin/wdc02cc
Executable file
@@ -0,0 +1,9 @@
|
||||
#! /bin/bash
|
||||
|
||||
source wdc.cfg
|
||||
|
||||
export WINEPATH=${prefix}/libexec
|
||||
export WDC_INC_6502=`winepath -w ${prefix}/include`
|
||||
WINEDEBUG=fixme-all WINEFSYNC=1 wine ${prefix}/libexec/WDC02CC.exe $*
|
||||
echo $'\n'
|
||||
|
||||
7
bin/wdc02op
Executable file
7
bin/wdc02op
Executable file
@@ -0,0 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
source wdc.cfg
|
||||
|
||||
export WINEPATH=${prefix}/libexec
|
||||
export WDC_INC_6502=`winepath -w ${prefix}/include`
|
||||
WINEDEBUG=fixme-all WINEFSYNC=1 wine ${prefix}/libexec/WDC02OP.exe $*
|
||||
7
bin/wdc816as
Executable file
7
bin/wdc816as
Executable file
@@ -0,0 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
source wdc.cfg
|
||||
|
||||
export WINEPATH=${prefix}/libexec
|
||||
export WDC_INC_65816=`winepath -w ${prefix}/include`
|
||||
WINEDEBUG=fixme-all WINEFSYNC=1 wine ${prefix}/libexec/WDC816AS.exe $*
|
||||
7
bin/wdc816cc
Executable file
7
bin/wdc816cc
Executable file
@@ -0,0 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
source wdc.cfg
|
||||
|
||||
export WINEPATH=${prefix}/libexec
|
||||
export WDC_INC_65816=`winepath -w ${prefix}/include`
|
||||
WINEDEBUG=fixme-all WINEFSYNC=1 wine ${prefix}/libexec/WDC816CC.exe $*
|
||||
7
bin/wdc816op
Executable file
7
bin/wdc816op
Executable file
@@ -0,0 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
source wdc.cfg
|
||||
|
||||
export WINEPATH=${prefix}/libexec
|
||||
export WDC_INC_65816=`winepath -w ${prefix}/include`
|
||||
WINEDEBUG=fixme-all WINEFSYNC=1 wine ${prefix}/libexec/WDC816OP.exe $*
|
||||
7
bin/wdcdumpobj
Executable file
7
bin/wdcdumpobj
Executable file
@@ -0,0 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
source wdc.cfg
|
||||
|
||||
export WINEPATH=${prefix}/libexec
|
||||
WINEDEBUG=fixme-all WINEFSYNC=1 wine ${prefix}/libexec/wdcdumpobj.exe $*
|
||||
echo $'\n'
|
||||
9
bin/wdclib
Executable file
9
bin/wdclib
Executable file
@@ -0,0 +1,9 @@
|
||||
#! /bin/bash
|
||||
|
||||
source wdc.cfg
|
||||
|
||||
export WINEPATH=${prefix}/libexec
|
||||
export WDC_LIB=`winepath -w ${prefix}/lib`
|
||||
export WDC_INC_6502=`winepath -w ${prefix}/include`
|
||||
export WDC_INC_65816=`winepath -w ${prefix}/include`
|
||||
WINEDEBUG=fixme-all WINEFSYNC=1 wine ${prefix}/libexec/WDCLIB.exe $*
|
||||
7
bin/wdclink
Executable file
7
bin/wdclink
Executable file
@@ -0,0 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
source wdc.cfg
|
||||
|
||||
export WINEPATH=${prefix}/libexec
|
||||
WINEDEBUG=fixme-all WINEFSYNC=1 wine ${prefix}/libexec/wdclink.exe $*
|
||||
echo $'\n'
|
||||
10
bin/wdcln
Executable file
10
bin/wdcln
Executable file
@@ -0,0 +1,10 @@
|
||||
#! /bin/bash
|
||||
|
||||
source wdc.cfg
|
||||
|
||||
export WINEPATH=${prefix}/libexec
|
||||
export WDC_LIB=`winepath -w ${prefix}/lib`
|
||||
export WDC_INC_6502=`winepath -w ${prefix}/include`
|
||||
export WDC_INC_65816=`winepath -w ${prefix}/include`
|
||||
WINEDEBUG=fixme-all WINEFSYNC=1 wine ${prefix}/libexec/WDCLN.exe $*
|
||||
echo $'\n'
|
||||
9
bin/wdcobj
Executable file
9
bin/wdcobj
Executable file
@@ -0,0 +1,9 @@
|
||||
#! /bin/bash
|
||||
|
||||
source wdc.cfg
|
||||
|
||||
export WINEPATH=${prefix}/libexec
|
||||
export WDC_LIB=`winepath -w ${prefix}/lib`
|
||||
export WDC_INC_6502=`winepath -w ${prefix}/include`
|
||||
export WDC_INC_65816=`winepath -w ${prefix}/include`
|
||||
WINEDEBUG=fixme-all WINEFSYNC=1 wine ${prefix}/libexec/WDCOBJ.exe $*
|
||||
9
bin/wdcsym
Executable file
9
bin/wdcsym
Executable file
@@ -0,0 +1,9 @@
|
||||
#! /bin/bash
|
||||
|
||||
source wdc.cfg
|
||||
|
||||
export WINEPATH=${prefix}/libexec
|
||||
export WDC_LIB=`winepath -w ${prefix}/lib`
|
||||
export WDC_INC_6502=`winepath -w ${prefix}/include`
|
||||
export WDC_INC_65816=`winepath -w ${prefix}/include`
|
||||
WINEDEBUG=fixme-all WINEFSYNC=1 wine ${prefix}/libexec/WDCSYM.exe $*
|
||||
Reference in New Issue
Block a user