From 3c853bc264719437bcb2807d75ff5e9f9a3ea4f8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 22 Sep 2009 14:40:53 +0200 Subject: Add distribution-specific files, dist and dist-win targets --- dist/examples/cxx/tree/binary/xdr/makefile | 35 ++ dist/examples/cxx/tree/binary/xdr/xdr-7.1.sln | 21 + dist/examples/cxx/tree/binary/xdr/xdr-7.1.vcproj | 164 ++++++++ dist/examples/cxx/tree/binary/xdr/xdr-8.0.sln | 25 ++ dist/examples/cxx/tree/binary/xdr/xdr-8.0.vcproj | 423 +++++++++++++++++++++ dist/examples/cxx/tree/binary/xdr/xdr-9.0.sln | 25 ++ dist/examples/cxx/tree/binary/xdr/xdr-9.0.vcproj | 420 ++++++++++++++++++++ .../cxx/tree/binary/xdr/xdr-xerces2-7.1.sln | 21 + .../cxx/tree/binary/xdr/xdr-xerces2-7.1.vcproj | 164 ++++++++ .../cxx/tree/binary/xdr/xdr-xerces2-8.0.sln | 25 ++ .../cxx/tree/binary/xdr/xdr-xerces2-8.0.vcproj | 423 +++++++++++++++++++++ .../cxx/tree/binary/xdr/xdr-xerces2-9.0.sln | 25 ++ .../cxx/tree/binary/xdr/xdr-xerces2-9.0.vcproj | 420 ++++++++++++++++++++ 13 files changed, 2191 insertions(+) create mode 100644 dist/examples/cxx/tree/binary/xdr/makefile create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-7.1.sln create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-7.1.vcproj create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-8.0.sln create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-8.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-9.0.sln create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-9.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.sln create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.vcproj create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.sln create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.vcproj create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.sln create mode 100644 dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.vcproj (limited to 'dist/examples/cxx/tree/binary/xdr') diff --git a/dist/examples/cxx/tree/binary/xdr/makefile b/dist/examples/cxx/tree/binary/xdr/makefile new file mode 100644 index 0000000..a9123d7 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/makefile @@ -0,0 +1,35 @@ +root := ../../../.. + +include $(root)/build/cxx/rules.make +include $(root)/build/xsd/tree-rules.make + + +override XSDFLAGS += --generate-ostream --generate-insertion XDR \ +--generate-extraction XDR + + +override LIBS += -lnsl + + +# Build. +# +driver: driver.o library.o + +library.o: library.cxx library.hxx +driver.o: driver.cxx library.hxx + +library.cxx library.hxx: library.xsd + + +# Test +# +.PHONY: test +test: driver library.xml + ./driver library.xml + + +# Clean. +# +.PHONY: clean +clean: + rm -f library.o library.?xx driver.o driver diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-7.1.sln b/dist/examples/cxx/tree/binary/xdr/xdr-7.1.sln new file mode 100644 index 0000000..0a3d261 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-7.1.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xdr", "xdr-7.1.vcproj", "{D9696808-1B73-43C9-A3BB-18DD29776EC5}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug.ActiveCfg = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug.Build.0 = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release.ActiveCfg = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-7.1.vcproj b/dist/examples/cxx/tree/binary/xdr/xdr-7.1.vcproj new file mode 100644 index 0000000..8d43d7f --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-8.0.sln b/dist/examples/cxx/tree/binary/xdr/xdr-8.0.sln new file mode 100644 index 0000000..139be58 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-8.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xdr", "xdr-8.0.vcproj", "{D9696808-1B73-43C9-A3BB-18DD29776EC5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.ActiveCfg = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.Build.0 = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.ActiveCfg = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.Build.0 = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.ActiveCfg = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.Build.0 = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.ActiveCfg = Release|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-8.0.vcproj b/dist/examples/cxx/tree/binary/xdr/xdr-8.0.vcproj new file mode 100644 index 0000000..f83c026 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-9.0.sln b/dist/examples/cxx/tree/binary/xdr/xdr-9.0.sln new file mode 100644 index 0000000..65f094f --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-9.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xdr", "xdr-9.0.vcproj", "{D9696808-1B73-43C9-A3BB-18DD29776EC5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.ActiveCfg = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.Build.0 = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.ActiveCfg = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.Build.0 = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.ActiveCfg = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.Build.0 = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.ActiveCfg = Release|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-9.0.vcproj b/dist/examples/cxx/tree/binary/xdr/xdr-9.0.vcproj new file mode 100644 index 0000000..34ca6b4 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.sln b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.sln new file mode 100644 index 0000000..5526613 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xdr", "xdr-xerces2-7.1.vcproj", "{D9696808-1B73-43C9-A3BB-18DD29776EC5}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug.ActiveCfg = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug.Build.0 = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release.ActiveCfg = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.vcproj b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.vcproj new file mode 100644 index 0000000..c592fbd --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-7.1.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.sln b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.sln new file mode 100644 index 0000000..9ee2ee2 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xdr", "xdr-xerces2-8.0.vcproj", "{D9696808-1B73-43C9-A3BB-18DD29776EC5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.ActiveCfg = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.Build.0 = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.ActiveCfg = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.Build.0 = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.ActiveCfg = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.Build.0 = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.ActiveCfg = Release|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.vcproj b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.vcproj new file mode 100644 index 0000000..23f2030 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-8.0.vcproj @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.sln b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.sln new file mode 100644 index 0000000..6e0a25a --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.sln @@ -0,0 +1,25 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xdr", "xdr-xerces2-9.0.vcproj", "{D9696808-1B73-43C9-A3BB-18DD29776EC5}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.ActiveCfg = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|Win32.Build.0 = Debug|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.ActiveCfg = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Debug|x64.Build.0 = Debug|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.ActiveCfg = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|Win32.Build.0 = Release|Win32 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.ActiveCfg = Release|x64 + {D9696808-1B73-43C9-A3BB-18DD29776EC5}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.vcproj b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.vcproj new file mode 100644 index 0000000..75b0331 --- /dev/null +++ b/dist/examples/cxx/tree/binary/xdr/xdr-xerces2-9.0.vcproj @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.1