aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2011-04-18 08:25:23 +0200
committerBenoit Germain <bnt.germain@gmail.com>2011-04-18 08:25:23 +0200
commit05256f1e75f8583829bbaa7cdf1fb1518b93332a (patch)
treefc0d9a6855b6c05e06b06c933be8726bf546659c /Makefile
parent2d5d798c24286f10c1bffd5ea4ac466c2c3a12fa (diff)
downloadlanes-05256f1e75f8583829bbaa7cdf1fb1518b93332a.tar.gz
lanes-05256f1e75f8583829bbaa7cdf1fb1518b93332a.tar.bz2
lanes-05256f1e75f8583829bbaa7cdf1fb1518b93332a.zip
* linda uses a fast FIFO implementation to speed up data exchanges
* new linda:count() method * new linda batched data read mode * proper key type check in all linda methods * fix setup-vc.cmd to support Visual Studio 2010 and Windows 7 64 bits * bugfix: release keeper state mutex at desinit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ddd8675..23bec03 100644
--- a/Makefile
+++ b/Makefile
@@ -85,11 +85,12 @@ test:
85 $(MAKE) recursive 85 $(MAKE) recursive
86 $(MAKE) func_is_string 86 $(MAKE) func_is_string
87 $(MAKE) atexit 87 $(MAKE) atexit
88 $(MAKE) linda_perf
88 89
89basic: tests/basic.lua $(_TARGET_SO) 90basic: tests/basic.lua $(_TARGET_SO)
90 $(_PREFIX) $(LUA) $< 91 $(_PREFIX) $(LUA) $<
91 92
92# 93#
93# This tries to show out a bug which happens in lane cleanup (multicore CPU's only) 94# This tries to show out a bug which happens in lane cleanup (multicore CPU's only)
94# 95#
95REP_ARGS=-llanes -e "print'say aaa'; for i=1,10 do print(i) end" 96REP_ARGS=-llanes -e "print'say aaa'; for i=1,10 do print(i) end"
@@ -155,6 +156,9 @@ appendud: tests/appendud.lua $(_TARGET_SO)
155func_is_string: tests/func_is_string.lua $(_TARGET_SO) 156func_is_string: tests/func_is_string.lua $(_TARGET_SO)
156 $(_PREFIX) $(LUA) $< 157 $(_PREFIX) $(LUA) $<
157 158
159linda_perf: tests/linda_perf.lua $(_TARGET_SO)
160 $(_PREFIX) $(LUA) $<
161
158atexit: tests/atexit.lua $(_TARGET_SO) 162atexit: tests/atexit.lua $(_TARGET_SO)
159 $(_PREFIX) $(LUA) $< 163 $(_PREFIX) $(LUA) $<
160 164
@@ -190,7 +194,7 @@ LUA_LIBDIR=$(DESTDIR)/lib/lua/5.1
190LUA_SHAREDIR=$(DESTDIR)/share/lua/5.1 194LUA_SHAREDIR=$(DESTDIR)/share/lua/5.1
191 195
192# 196#
193# AKa 17-Oct: changed to use 'install -m 644' and 'cp -p' 197# AKa 17-Oct: changed to use 'install -m 644' and 'cp -p'
194# 198#
195install: $(_TARGET_SO) src/lanes.lua 199install: $(_TARGET_SO) src/lanes.lua
196 mkdir -p $(LUA_LIBDIR) $(LUA_SHAREDIR) 200 mkdir -p $(LUA_LIBDIR) $(LUA_SHAREDIR)
@@ -211,7 +215,7 @@ tar tgz:
211ifeq "$(VERSION)" "" 215ifeq "$(VERSION)" ""
212 echo "Usage: make tar VERSION=x.x"; false 216 echo "Usage: make tar VERSION=x.x"; false
213else 217else
214 $(MAKE) clean 218 $(MAKE) clean
215 -rm -rf $(MODULE)-$(VERSION) 219 -rm -rf $(MODULE)-$(VERSION)
216 mkdir $(MODULE)-$(VERSION) 220 mkdir $(MODULE)-$(VERSION)
217 tar c * --exclude=.svn --exclude=.DS_Store --exclude="_*" \ 221 tar c * --exclude=.svn --exclude=.DS_Store --exclude="_*" \
@@ -223,8 +227,8 @@ else
223 rm -rf $(MODULE)-$(VERSION) 227 rm -rf $(MODULE)-$(VERSION)
224 md5sum $(MODULE)-$(VERSION).tgz 228 md5sum $(MODULE)-$(VERSION).tgz
225endif 229endif
226 230
227 231
228#--- Undocumented --- 232#--- Undocumented ---
229# 233#
230 234