aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2001-10-18 06:15:32 +0000
committerH. Peter Anvin <hpa@zytor.com>2001-10-18 06:15:32 +0000
commit3adff3ab0f554dc8d08c563f61b93e7c1ca80805 (patch)
tree6021f89e30cd33b74700615161e889135134133b /Makefile
parent26f21f20a407f7982a9710e95bdc7496a2609edd (diff)
downloadlpsm-3adff3ab0f554dc8d08c563f61b93e7c1ca80805.tar.gz
lpsm-3adff3ab0f554dc8d08c563f61b93e7c1ca80805.tar.xz
lpsm-3adff3ab0f554dc8d08c563f61b93e7c1ca80805.zip
Change the object store to use a file-backed mmap by default.
*** THIS MIGHT HAVE TO BE BACKED OUT IF THE LINUX KERNEL IS TOO DUMB *** Add recovery test.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 36f6643..405c629 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-TEST = teststore test_mmap ftrunctest testbuddy testalloc
+TEST = teststore test_mmap ftrunctest testbuddy testalloc testrecovery
SONAME = libobjstore.so.0
VERSION = 0.0.1
OBJSTORE = libobjstore.so libobjstore.a
@@ -50,6 +50,9 @@ testbuddy: testbuddy.o libobjstore.a
testalloc: testalloc.o libobjstore.a
$(CC) $(LDFLAGS) -o $@ $< libobjstore.a
+testrecovery: testrecovery.o libobjstore.a
+ $(CC) $(LDFLAGS) -o $@ $< libobjstore.a
+
test_mmap: test_mmap.o
$(CC) $(LDFLAGS) -o $@ $<