aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.sh
blob: 310a82c13a8e3c84eb7f4518b1c04c3815291bfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#! /bin/bash

wd=$(pwd)

echo "_______________ BUILDING LuaJIT _______________"
cd $wd/libraries/luajit-2.0
make amalg PREFIX=$()/src

echo "_______________ BUILDING lemon _______________"
cd $wd/libraries/lemon
rm -f *.o lemon

CFLAGS="-g -Wall -I include $CFLAGOPTS"
LDFLAGS="-L lib -L /usr/lib -L /lib"
LFLAGS="-d"

names="lemon"
objects=""
for i in $names
do
    command="gcc $CFLAGS -c -o $i.o $i.c"
    echo $command
    $command
    objects="$objects $i.o"
done
command="gcc $CFLAGS -o lemon $objects $LDFLAGS $libs"
echo $command
$command

echo "_______________ BUILDING Irrlicht _______________"
cd $wd/libraries/irrlicht-1.8/source/Irrlicht 
make

# Test if edje is already available, build EFL up to edje if not.
# TODO - Check EFL version.
hash edje_cc 2>&- || {

# TODO - grab release tarballs from enlightenment.org, then build those.
    echo "_______________ BUILDING eina _______________"
#    cd $wd/libraries/eina
#    ./configure && make


    echo "_______________ BUILDING eet _______________"
#    cd $wd/libraries/eet
#    ./configure && make


    echo "_______________ BUILDING evas _______________"
#    cd $wd/libraries/evas
#    ./configure && make


    echo "_______________ BUILDING ecore _______________"
#    cd $wd/libraries/ecore
#    ./configure && make


    echo "_______________ BUILDING embryo _______________"
#    cd $wd/libraries/embryo
#    ./configure && make


    echo "_______________ BUILDING edje _______________"
#    cd $wd/libraries/edje
#    ./configure && make


# TODO - Install this EFL version, and/or get the rest of the system to use it.
}


echo "_______________ BUILDING LuaSL _______________"
cd $wd/LuaSL
./build.sh

echo "_______________ BUILDING extantz _______________"
cd $wd/ClientHamr/extantz
./build.sh