aboutsummaryrefslogtreecommitdiff
path: root/common/session
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-01-08 10:37:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-01-16 07:42:56 +0200
commit9bd664e4cb39f6654e8754c8cfd4c28295ee2d90 (patch)
treed6acbf21942d17ede725407c4368286efacf822a /common/session
parent6edf3badfc8c81ebfb45439408b2b1bf8c9136dd (diff)
Rename common/session to common/session/cache
Diffstat (limited to 'common/session')
-rw-r--r--common/session/cache/driver.cxx (renamed from common/session/driver.cxx)4
-rw-r--r--common/session/cache/makefile (renamed from common/session/makefile)14
-rw-r--r--common/session/cache/test.hxx (renamed from common/session/test.hxx)2
-rw-r--r--common/session/cache/test.std (renamed from common/session/test.std)0
4 files changed, 10 insertions, 10 deletions
diff --git a/common/session/driver.cxx b/common/session/cache/driver.cxx
index 232aee6..9487afa 100644
--- a/common/session/driver.cxx
+++ b/common/session/cache/driver.cxx
@@ -1,8 +1,8 @@
-// file : common/session/driver.cxx
+// file : common/session/cache/driver.cxx
// copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
-// Test session.
+// Test session object cache.
//
#include <memory> // std::auto_ptr
diff --git a/common/session/makefile b/common/session/cache/makefile
index 7da6d42..cbbf600 100644
--- a/common/session/makefile
+++ b/common/session/cache/makefile
@@ -1,8 +1,8 @@
-# file : common/session/makefile
+# file : common/session/cache/makefile
# copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC
# license : GNU GPL v2; see accompanying LICENSE file
-include $(dir $(lastword $(MAKEFILE_LIST)))../../build/bootstrap.make
+include $(dir $(lastword $(MAKEFILE_LIST)))../../../build/bootstrap.make
cxx_tun := driver.cxx
odb_hdr := test.hxx
@@ -35,7 +35,7 @@ gen := $(addprefix $(out_base)/,$(genf))
$(gen): $(odb)
$(gen): odb := $(odb)
$(gen) $(dist): export odb_options += --database $(db_id) --generate-schema \
---generate-session --table-prefix session_
+--generate-session --table-prefix session_cache_
$(gen): cpp_options := -I$(src_base)
$(gen): $(common.l.cpp-options)
@@ -58,10 +58,10 @@ $(dist): export extra_dist := $(data_dist) $(call vc9projs,$(name)) \
$(call vc10projs,$(name)) $(call vc11projs,$(name))
$(dist):
$(call dist-data,$(sources) $(headers) $(data_dist))
- $(call meta-automake,../template/Makefile.am)
- $(call meta-vc9projs,../template/template,$(name))
- $(call meta-vc10projs,../template/template,$(name))
- $(call meta-vc11projs,../template/template,$(name))
+ $(call meta-automake,../../template/Makefile.am)
+ $(call meta-vc9projs,../../template/template,$(name))
+ $(call meta-vc10projs,../../template/template,$(name))
+ $(call meta-vc11projs,../../template/template,$(name))
# Test.
#
diff --git a/common/session/test.hxx b/common/session/cache/test.hxx
index abc4628..ff59249 100644
--- a/common/session/test.hxx
+++ b/common/session/cache/test.hxx
@@ -1,4 +1,4 @@
-// file : common/session/test.hxx
+// file : common/session/cache/test.hxx
// copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
diff --git a/common/session/test.std b/common/session/cache/test.std
index e69de29..e69de29 100644
--- a/common/session/test.std
+++ b/common/session/cache/test.std