27 |
# SUCH DAMAGE. |
# SUCH DAMAGE. |
28 |
# |
# |
29 |
# |
# |
30 |
# $Id: configure,v 1.243 2007/02/10 14:29:54 debug Exp $ |
# $Id: configure,v 1.245 2007/03/16 14:13:59 debug Exp $ |
31 |
# |
# |
32 |
# This is a minimal configure script, hardcoded for GXemul. This script |
# This is a minimal configure script, hardcoded for GXemul. This script |
33 |
# figures out which compiler flags will work, and creates Makefiles in |
# figures out which compiler flags will work, and creates Makefiles in |
348 |
|
|
349 |
# Special case for some 64-bit Linux/x86_64 systems: |
# Special case for some 64-bit Linux/x86_64 systems: |
350 |
if [ z$XOK = z0 ]; then |
if [ z$XOK = z0 ]; then |
351 |
|
$CC $CFLAGS _test_x11.c -c -o _test_x11.o \ |
352 |
|
$XINCLUDE 2> /dev/null |
353 |
|
|
354 |
XLIB="-L/usr/X11R6/lib64 -lX11" |
XLIB="-L/usr/X11R6/lib64 -lX11" |
355 |
$CC $CFLAGS _test_x11.o -o _test_x11 $XLIB 2> /dev/null |
$CC $CFLAGS _test_x11.o -o _test_x11 $XLIB 2> /dev/null |
356 |
|
|
1107 |
|
|
1108 |
# Create the Makefiles: |
# Create the Makefiles: |
1109 |
D=". src src/include src/cpus src/debugger src/devices src/devices/fonts" |
D=". src src/include src/cpus src/debugger src/devices src/devices/fonts" |
1110 |
D="$D src/machines src/native src/net src/promemul" |
D="$D src/disk src/machines src/native src/net src/promemul" |
1111 |
for a in $D; do |
for a in $D; do |
1112 |
echo "creating $a/Makefile" |
echo "creating $a/Makefile" |
1113 |
touch $a/Makefile |
touch $a/Makefile |