aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-21 18:59:33 +1000
committerDavid Walter Seikel2014-04-21 18:59:33 +1000
commit6099a79ef6397ca80cc892fecbfe7faf5b49cb00 (patch)
treefcfa1ca724cf5e68deddc808ed965ac68c4c4071 /build.lua
parentConvert LuaSL to use LumbrJack. (diff)
downloadSledjHamr-6099a79ef6397ca80cc892fecbfe7faf5b49cb00.zip
SledjHamr-6099a79ef6397ca80cc892fecbfe7faf5b49cb00.tar.gz
SledjHamr-6099a79ef6397ca80cc892fecbfe7faf5b49cb00.tar.bz2
SledjHamr-6099a79ef6397ca80cc892fecbfe7faf5b49cb00.tar.xz
Move images to the base directory, and point all the special EFL directories to the base.
Diffstat (limited to '')
-rwxr-xr-xbuild.lua11
1 files changed, 4 insertions, 7 deletions
diff --git a/build.lua b/build.lua
index c7177fa..4e37af0 100755
--- a/build.lua
+++ b/build.lua
@@ -71,18 +71,15 @@ CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'ecore-evas')
71CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'ecore-file') 71CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'ecore-file')
72CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'edje') 72CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'edje')
73CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'elementary') 73CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'elementary')
74-- TODO - The workingDir part of these strings gets set differently depending on who starts the build. 74CFLAGS = CFLAGS .. ' -DPACKAGE_BIN_DIR=\\"' .. baseDir .. '\\"'
75-- Which is a problem for the PACKAGE_*_DIR defines. 75CFLAGS = CFLAGS .. ' -DPACKAGE_LIB_DIR=\\"' .. baseDir .. '\\"'
76-- On the other hand, that part needs to be rethought anyway, coz otherwise they are locked to the build place. 76CFLAGS = CFLAGS .. ' -DPACKAGE_DATA_DIR=\\"' .. baseDir .. '\\"'
77CFLAGS = CFLAGS .. ' -DPACKAGE_BIN_DIR=\\"' .. workingDir .. '\\"'
78CFLAGS = CFLAGS .. ' -DPACKAGE_LIB_DIR=\\"' .. workingDir .. '\\"'
79CFLAGS = CFLAGS .. ' -DPACKAGE_DATA_DIR=\\"' .. workingDir .. '\\"'
80CFLAGS = CFLAGS .. ' ' .. CFLAGOPTS 77CFLAGS = CFLAGS .. ' ' .. CFLAGOPTS
81 78
82LDFLAGS = '-L ' .. baseDir .. '/libraries ' .. pkgConfig('libs-only-L', 'luajit') .. ' -L /usr/lib -L /lib' 79LDFLAGS = '-L ' .. baseDir .. '/libraries ' .. pkgConfig('libs-only-L', 'luajit') .. ' -L /usr/lib -L /lib'
83libs = '-lLumbrJack -lRunnr ' .. pkgConfig('libs', 'elementary') .. ' ' .. pkgConfig('libs', 'luajit') .. ' -lpthread -lm' 80libs = '-lLumbrJack -lRunnr ' .. pkgConfig('libs', 'elementary') .. ' ' .. pkgConfig('libs', 'luajit') .. ' -lpthread -lm'
84LFLAGS = '-d' 81LFLAGS = '-d'
85EDJE_FLAGS = '-id images -fd fonts' 82EDJE_FLAGS = '-id ' .. baseDir .. '/images -fd ' .. baseDir .. '/fonts'
86 83
87 84
88if 'nil' == type(args) then 85if 'nil' == type(args) then