From bb02fdbce23477d931a1572f8b2ffe52c80edf32 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Jul 2013 14:54:19 +0200 Subject: Add support for Visual Studio 2005 --- access/makefile | 6 +- boost/boost-vc8.sln | 15 ++ boost/boost-vc8.vcproj | 350 ++++++++++++++++++++++++++++++++++++++ boost/makefile | 10 +- build/bootstrap.make | 13 ++ composite/makefile | 6 +- container/makefile | 6 +- examples-vc8.sln | 15 ++ hello/makefile | 6 +- inheritance/polymorphism/makefile | 6 +- inheritance/reuse/makefile | 6 +- inverse/makefile | 6 +- makefile | 5 +- mapping/makefile | 6 +- optimistic/makefile | 6 +- pimpl/makefile | 6 +- prepared/makefile | 6 +- qt/makefile | 10 +- qt/qt4-vc8.sln | 15 ++ qt/qt4-vc8.vcproj | 350 ++++++++++++++++++++++++++++++++++++++ query/makefile | 6 +- relationship/makefile | 6 +- schema/custom/makefile | 6 +- schema/embedded/makefile | 6 +- template/makefile | 6 +- template/template-vc8.vcproj | 350 ++++++++++++++++++++++++++++++++++++++ view/makefile | 6 +- 27 files changed, 1196 insertions(+), 39 deletions(-) create mode 100644 boost/boost-vc8.sln create mode 100644 boost/boost-vc8.vcproj create mode 100644 examples-vc8.sln create mode 100644 qt/qt4-vc8.sln create mode 100644 qt/qt4-vc8.vcproj create mode 100644 template/template-vc8.vcproj diff --git a/access/makefile b/access/makefile index 2283c9b..f401589 100644 --- a/access/makefile +++ b/access/makefile @@ -66,11 +66,12 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template,$(name)) $(call meta-vc9projs,../template/template,$(name)) $(call meta-vc10projs,../template/template,$(name)) $(call meta-vc11projs,../template/template,$(name)) @@ -104,6 +105,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/boost/boost-vc8.sln b/boost/boost-vc8.sln new file mode 100644 index 0000000..f38bad2 --- /dev/null +++ b/boost/boost-vc8.sln @@ -0,0 +1,15 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +__projects__ +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution +__solution_configurations__ + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution +__project_configurations__ + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/boost/boost-vc8.vcproj b/boost/boost-vc8.vcproj new file mode 100644 index 0000000..661f6b3 --- /dev/null +++ b/boost/boost-vc8.vcproj @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +__source_entry__(driver.cxx) +__source_entry__(__path__(odb_header_stem)-odb.cxx) +__source_entries__(extra_sources) + + +__file_entry_custom_build__( +__path__(odb_header_stem).hxx, +odb __path__(odb_header_stem).hxx, +odb.exe --database __value__(database) __xml__(__shell_quotes__(__value__(odb_options))) __path__(odb_header_stem).hxx, +__path__(odb_header_stem)-odb.hxx;__path__(odb_header_stem)-odb.ixx;__path__(odb_header_stem)-odb.cxx) +__file_entry__(__path__(odb_header_stem)-odb.hxx) +__file_entry__(__path__(odb_header_stem)-odb.ixx) +__file_entry__(database.hxx) +__file_entries__(extra_headers) + + + + + diff --git a/boost/makefile b/boost/makefile index a5bba42..1f5fcfa 100644 --- a/boost/makefile +++ b/boost/makefile @@ -81,14 +81,18 @@ $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) $(dist): export extra_dist := README \ -$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) \ -$(call vc9slns,$(name)) $(call vc10slns,$(name)) $(call vc11slns,$(name)) +$(call vc8projs,$(name)) $(call vc9projs,$(name)) $(call vc10projs,$(name)) \ +$(call vc11projs,$(name)) \ +$(call vc8slns,$(name)) $(call vc9slns,$(name)) $(call vc10slns,$(name)) \ +$(call vc11slns,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,$(name),$(name)) $(call meta-vc9projs,$(name),$(name)) $(call meta-vc10projs,$(name),$(name)) $(call meta-vc11projs,$(name),$(name)) + $(call meta-vc8slns,$(name)) $(call meta-vc9slns,$(name)) $(call meta-vc10slns,$(name)) $(call meta-vc11slns,$(name)) @@ -122,9 +126,11 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8sln.make) $(call include,$(bld_root)/meta/vc9sln.make) $(call include,$(bld_root)/meta/vc10sln.make) $(call include,$(bld_root)/meta/vc11sln.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/build/bootstrap.make b/build/bootstrap.make index da59cf5..68cef06 100644 --- a/build/bootstrap.make +++ b/build/bootstrap.make @@ -69,6 +69,11 @@ $(dist): databases := $(databases) # $1 project template without the -vcN.vc[x]proj suffix. # $2 project name without the -vcN.vc[x]proj suffix. # +$(dist): meta-vc8projs = \ +$(foreach d,$(databases),$(call \ +meta-vc8proj,$1-vc8.vcproj,$(if $2,$2,$(notdir \ +$1))-$d-vc8.vcproj,database,$d)$(literal_newline)$(literal_tab))@: + $(dist): meta-vc9projs = \ $(foreach d,$(databases),$(call \ meta-vc9proj,$1-vc9.vcproj,$(if $2,$2,$(notdir \ @@ -86,6 +91,8 @@ $1))-$d-vc11.vcxproj,database,$d)$(literal_newline)$(literal_tab))@: # $1 project name without the -vcN.vc[x]proj suffix. # +vc8projs = $(addprefix $1-,$(addsuffix -vc8.vcproj,$(databases))) + vc9projs = $(addprefix $1-,$(addsuffix -vc9.vcproj,$(databases))) vc10projs = $(addprefix $1-,$(addsuffix -vc10.vcxproj,$(databases))) \ @@ -97,6 +104,11 @@ $(addprefix $1-,$(addsuffix -vc11.vcxproj.filters,$(databases))) # $1 solution name without the -vcN.sln suffix. # $2 extra project suffix in addition to --vcN.vcproj (optional) # +$(dist): meta-vc8slns = \ +$(foreach d,$(databases),$(call \ +meta-vc8sln,$1-vc8.sln,$1-$d-vc8.sln,$2-$d-vc8.vcproj,database,$d)$(literal_newline)\ +$(literal_tab))@: + $(dist): meta-vc9slns = \ $(foreach d,$(databases),$(call \ meta-vc9sln,$1-vc9.sln,$1-$d-vc9.sln,$2-$d-vc9.vcproj,database,$d)$(literal_newline)\ @@ -112,6 +124,7 @@ $(foreach d,$(databases),$(call \ meta-vc11sln,$1-vc11.sln,$1-$d-vc11.sln,$2-$d-vc11.vcxproj,database,$d)$(literal_newline)\ $(literal_tab))@: +vc8slns = $(addprefix $1-,$(addsuffix -vc8.sln,$(databases))) vc9slns = $(addprefix $1-,$(addsuffix -vc9.sln,$(databases))) vc10slns = $(addprefix $1-,$(addsuffix -vc10.sln,$(databases))) vc11slns = $(addprefix $1-,$(addsuffix -vc11.sln,$(databases))) diff --git a/composite/makefile b/composite/makefile index 04d9511..bbb3855 100644 --- a/composite/makefile +++ b/composite/makefile @@ -66,11 +66,12 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template,$(name)) $(call meta-vc9projs,../template/template,$(name)) $(call meta-vc10projs,../template/template,$(name)) $(call meta-vc11projs,../template/template,$(name)) @@ -104,6 +105,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/container/makefile b/container/makefile index 23cfee4..bd4ebe0 100644 --- a/container/makefile +++ b/container/makefile @@ -66,11 +66,12 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template,$(name)) $(call meta-vc9projs,../template/template,$(name)) $(call meta-vc10projs,../template/template,$(name)) $(call meta-vc11projs,../template/template,$(name)) @@ -104,6 +105,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/examples-vc8.sln b/examples-vc8.sln new file mode 100644 index 0000000..f38bad2 --- /dev/null +++ b/examples-vc8.sln @@ -0,0 +1,15 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +__projects__ +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution +__solution_configurations__ + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution +__project_configurations__ + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/hello/makefile b/hello/makefile index 0046674..f764850 100644 --- a/hello/makefile +++ b/hello/makefile @@ -65,11 +65,12 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template,$(name)) $(call meta-vc9projs,../template/template,$(name)) $(call meta-vc10projs,../template/template,$(name)) $(call meta-vc11projs,../template/template,$(name)) @@ -103,6 +104,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/inheritance/polymorphism/makefile b/inheritance/polymorphism/makefile index 51bc5c4..4daa3cb 100644 --- a/inheritance/polymorphism/makefile +++ b/inheritance/polymorphism/makefile @@ -67,11 +67,12 @@ $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export extra_sources := $(filter-out driver.cxx,$(cxx_tun)) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../../template/Makefile.am) + $(call meta-vc8projs,../../template/template,$(name)) $(call meta-vc9projs,../../template/template,$(name)) $(call meta-vc10projs,../../template/template,$(name)) $(call meta-vc11projs,../../template/template,$(name)) @@ -105,6 +106,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/inheritance/reuse/makefile b/inheritance/reuse/makefile index 46e786e..caddd24 100644 --- a/inheritance/reuse/makefile +++ b/inheritance/reuse/makefile @@ -66,11 +66,12 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../../template/Makefile.am) + $(call meta-vc8projs,../../template/template,$(name)) $(call meta-vc9projs,../../template/template,$(name)) $(call meta-vc10projs,../../template/template,$(name)) $(call meta-vc11projs,../../template/template,$(name)) @@ -104,6 +105,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/inverse/makefile b/inverse/makefile index d7d8680..683e5e0 100644 --- a/inverse/makefile +++ b/inverse/makefile @@ -67,11 +67,12 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template,$(name)) $(call meta-vc9projs,../template/template,$(name)) $(call meta-vc10projs,../template/template,$(name)) $(call meta-vc11projs,../template/template,$(name)) @@ -105,6 +106,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/makefile b/makefile index fa113ef..1b99343 100644 --- a/makefile +++ b/makefile @@ -55,7 +55,8 @@ pgsql-driver.bat pgsql.options oracle-driver.bat oracle.options \ mssql-driver.bat mssql.options $(dist): exec_dist := bootstrap tester.in $(dist): export extra_dist := $(data_dist) $(exec_dist) test.bat \ -$(call vc9slns,$(name)) $(call vc10slns,$(name)) $(call vc11slns,$(name)) +$(call vc8slns,$(name)) $(call vc9slns,$(name)) $(call vc10slns,$(name)) \ +$(call vc11slns,$(name)) $(dist): export version = $(shell cat $(src_root)/version) $(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(dist_dirs))) @@ -64,6 +65,7 @@ $(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(dist_dirs))) $(call dist-dir,m4) $(call meta-automake) $(call meta-autoconf) + $(call meta-vc8slns,$(name)) $(call meta-vc9slns,$(name)) $(call meta-vc10slns,$(name)) $(call meta-vc11slns,$(name)) @@ -73,6 +75,7 @@ $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(build_dirs))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(all_dirs))) $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8sln.make) $(call include,$(bld_root)/meta/vc9sln.make) $(call include,$(bld_root)/meta/vc10sln.make) $(call include,$(bld_root)/meta/vc11sln.make) diff --git a/mapping/makefile b/mapping/makefile index 80bdd86..1db6ccc 100644 --- a/mapping/makefile +++ b/mapping/makefile @@ -67,12 +67,13 @@ $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export extra_headers := traits.hxx $(databases:%=traits-%.hxx) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) $(extra_headers) \ README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template,$(name)) $(call meta-vc9projs,../template/template,$(name)) $(call meta-vc10projs,../template/template,$(name)) $(call meta-vc11projs,../template/template,$(name)) @@ -106,6 +107,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/optimistic/makefile b/optimistic/makefile index 1186e48..78768af 100644 --- a/optimistic/makefile +++ b/optimistic/makefile @@ -66,11 +66,12 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template,$(name)) $(call meta-vc9projs,../template/template,$(name)) $(call meta-vc10projs,../template/template,$(name)) $(call meta-vc11projs,../template/template,$(name)) @@ -104,6 +105,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/pimpl/makefile b/pimpl/makefile index c6b4e08..47aadab 100644 --- a/pimpl/makefile +++ b/pimpl/makefile @@ -67,11 +67,12 @@ $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) $(dist): export extra_sources := $(filter-out driver.cxx,$(cxx_tun)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template,$(name)) $(call meta-vc9projs,../template/template,$(name)) $(call meta-vc10projs,../template/template,$(name)) $(call meta-vc11projs,../template/template,$(name)) @@ -105,6 +106,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/prepared/makefile b/prepared/makefile index 5ff35fe..c202a48 100644 --- a/prepared/makefile +++ b/prepared/makefile @@ -66,11 +66,12 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template,$(name)) $(call meta-vc9projs,../template/template,$(name)) $(call meta-vc10projs,../template/template,$(name)) $(call meta-vc11projs,../template/template,$(name)) @@ -104,6 +105,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/qt/makefile b/qt/makefile index 37c0c6b..9bcd702 100644 --- a/qt/makefile +++ b/qt/makefile @@ -76,19 +76,23 @@ $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) $(dist): export extra_dist := README \ -$(call vc9projs,$(name)4) $(call vc10projs,$(name)4) $(call vc11projs,$(name)4) \ +$(call vc8projs,$(name)4) $(call vc9projs,$(name)4) $(call vc10projs,$(name)4) \ +$(call vc11projs,$(name)4) \ $(call vc9projs,$(name)5) $(call vc10projs,$(name)5) $(call vc11projs,$(name)5) \ -$(call vc9slns,$(name)4) $(call vc10slns,$(name)4) $(call vc11slns,$(name)4) \ +$(call vc8slns,$(name)4) $(call vc9slns,$(name)4) $(call vc10slns,$(name)4) \ +$(call vc11slns,$(name)4) \ $(call vc9slns,$(name)5) $(call vc10slns,$(name)5) $(call vc11slns,$(name)5) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,$(name)4,$(name)4) $(call meta-vc9projs,$(name)4,$(name)4) $(call meta-vc9projs,$(name)5,$(name)5) $(call meta-vc10projs,$(name)4,$(name)4) $(call meta-vc10projs,$(name)5,$(name)5) $(call meta-vc11projs,$(name)4,$(name)4) $(call meta-vc11projs,$(name)5,$(name)5) + $(call meta-vc8slns,$(name)4,4) $(call meta-vc9slns,$(name)4,4) $(call meta-vc9slns,$(name)5,5) $(call meta-vc10slns,$(name)4,4) @@ -125,9 +129,11 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8sln.make) $(call include,$(bld_root)/meta/vc9sln.make) $(call include,$(bld_root)/meta/vc10sln.make) $(call include,$(bld_root)/meta/vc11sln.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/qt/qt4-vc8.sln b/qt/qt4-vc8.sln new file mode 100644 index 0000000..f38bad2 --- /dev/null +++ b/qt/qt4-vc8.sln @@ -0,0 +1,15 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +__projects__ +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution +__solution_configurations__ + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution +__project_configurations__ + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/qt/qt4-vc8.vcproj b/qt/qt4-vc8.vcproj new file mode 100644 index 0000000..3bccc27 --- /dev/null +++ b/qt/qt4-vc8.vcproj @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +__source_entry__(driver.cxx) +__source_entry__(__path__(odb_header_stem)-odb.cxx) +__source_entries__(extra_sources) + + +__file_entry_custom_build__( +__path__(odb_header_stem).hxx, +odb __path__(odb_header_stem).hxx, +odb.exe --database __value__(database) __xml__(__shell_quotes__(__value__(odb_options))) __path__(odb_header_stem).hxx, +__path__(odb_header_stem)-odb.hxx;__path__(odb_header_stem)-odb.ixx;__path__(odb_header_stem)-odb.cxx) +__file_entry__(__path__(odb_header_stem)-odb.hxx) +__file_entry__(__path__(odb_header_stem)-odb.ixx) +__file_entry__(database.hxx) +__file_entries__(extra_headers) + + + + + diff --git a/query/makefile b/query/makefile index 65942ac..75ab428 100644 --- a/query/makefile +++ b/query/makefile @@ -66,11 +66,12 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template,$(name)) $(call meta-vc9projs,../template/template,$(name)) $(call meta-vc10projs,../template/template,$(name)) $(call meta-vc11projs,../template/template,$(name)) @@ -104,6 +105,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/relationship/makefile b/relationship/makefile index 8c49fe3..9929801 100644 --- a/relationship/makefile +++ b/relationship/makefile @@ -67,11 +67,12 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template,$(name)) $(call meta-vc9projs,../template/template,$(name)) $(call meta-vc10projs,../template/template,$(name)) $(call meta-vc11projs,../template/template,$(name)) @@ -105,6 +106,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/schema/custom/makefile b/schema/custom/makefile index dddec35..fad2f01 100644 --- a/schema/custom/makefile +++ b/schema/custom/makefile @@ -66,11 +66,12 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../../template/Makefile.am) + $(call meta-vc8projs,../../template/template,$(name)) $(call meta-vc9projs,../../template/template,$(name)) $(call meta-vc10projs,../../template/template,$(name)) $(call meta-vc11projs,../../template/template,$(name)) @@ -102,6 +103,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/schema/embedded/makefile b/schema/embedded/makefile index 0794c48..d333fa0 100644 --- a/schema/embedded/makefile +++ b/schema/embedded/makefile @@ -67,11 +67,12 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../../template/Makefile.am) + $(call meta-vc8projs,../../template/template,$(name)) $(call meta-vc9projs,../../template/template,$(name)) $(call meta-vc10projs,../../template/template,$(name)) $(call meta-vc11projs,../../template/template,$(name)) @@ -103,6 +104,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/template/makefile b/template/makefile index f3d43bc..c299e1d 100644 --- a/template/makefile +++ b/template/makefile @@ -66,11 +66,12 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template,$(name)) $(call meta-vc9projs,../template/template,$(name)) $(call meta-vc10projs,../template/template,$(name)) $(call meta-vc11projs,../template/template,$(name)) @@ -104,6 +105,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) diff --git a/template/template-vc8.vcproj b/template/template-vc8.vcproj new file mode 100644 index 0000000..24f9831 --- /dev/null +++ b/template/template-vc8.vcproj @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +__source_entry__(driver.cxx) +__source_entry__(__path__(odb_header_stem)-odb.cxx) +__source_entries__(extra_sources) + + +__file_entry_custom_build__( +__path__(odb_header_stem).hxx, +odb __path__(odb_header_stem).hxx, +odb.exe --database __value__(database) __xml__(__shell_quotes__(__value__(odb_options))) __path__(odb_header_stem).hxx, +__path__(odb_header_stem)-odb.hxx;__path__(odb_header_stem)-odb.ixx;__path__(odb_header_stem)-odb.cxx) +__file_entry__(__path__(odb_header_stem)-odb.hxx) +__file_entry__(__path__(odb_header_stem)-odb.ixx) +__file_entry__(database.hxx) +__file_entries__(extra_headers) + + + + + diff --git a/view/makefile b/view/makefile index 1b769a5..aab044e 100644 --- a/view/makefile +++ b/view/makefile @@ -66,11 +66,12 @@ $(dist): sources := $(cxx_tun) $(dist): headers := $(odb_hdr) $(dist): export name := $(name) $(dist): export odb_header_stem := $(basename $(odb_hdr)) -$(dist): export extra_dist := README $(call vc9projs,$(name)) \ -$(call vc10projs,$(name)) $(call vc11projs,$(name)) +$(dist): export extra_dist := README $(call vc8projs,$(name)) \ +$(call vc9projs,$(name)) $(call vc10projs,$(name)) $(call vc11projs,$(name)) $(dist): $(call dist-data,$(sources) $(headers) README database.hxx) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template,$(name)) $(call meta-vc9projs,../template/template,$(name)) $(call meta-vc10projs,../template/template,$(name)) $(call meta-vc11projs,../template/template,$(name)) @@ -104,6 +105,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) -- cgit v1.1