diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-04-19 13:35:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-04-19 14:02:18 +0200 |
commit | 5051209534c8a2034dcb0016d4a8fe29dcb2947b (patch) | |
tree | 4348b7b3d087c28586f73ad30242d9ee683b27a7 /odk/examples/java | |
parent | 04a54e7180c2cf9f4855211055ecbc6a41deff56 (diff) |
Adapt SDK to usage of msvcrtd for Windows --enable-dbgutil
* Re-use existing settings/dk.mk to tunnel ENABLE_DEBUG into the SDK. Turns out
this was explicitly included in ~all examples Makefiles, but only after
settings.mk where it is now used, so include it in settings.mk now and dropped
it from all the exmaples Makefiles.
* The old settings.mk was apparently confused with using /MT ("link with
LIBCMT.LIB") on cl command line and /MD ("link with MSVCRT.LIB") on link
command line (where it was ignored), and you apparently can't pass both
together to cl, so I settled on /MD (resp. /MDd) now and dropped /MT (resp.
/MTd). No idea if that is exactly right, however.
* Introduced client-facing LIBO_SDK_LDFLAGS_STDLIBS that covers kernel32.lib and
msvcrt.lib vs. msvcrtd.lib on Windows. Adapted examples Makefiles and
/ure/source/uretest/Makefile accordingly. Some examples Makefiles
additionally use msvcprt.lib, no idea whether that still needs to be
addressed.
Change-Id: Ia8d9d177e415abfbaf6f9fa6239f0ef9998868be
Diffstat (limited to 'odk/examples/java')
-rw-r--r-- | odk/examples/java/ConverterServlet/Makefile | 1 | ||||
-rw-r--r-- | odk/examples/java/DocumentHandling/Makefile | 1 | ||||
-rw-r--r-- | odk/examples/java/Drawing/Makefile | 1 | ||||
-rw-r--r-- | odk/examples/java/EmbedDocument/Container1/Makefile | 1 | ||||
-rwxr-xr-x | odk/examples/java/EmbedDocument/EmbeddedObject/Makefile | 1 | ||||
-rw-r--r-- | odk/examples/java/Inspector/Makefile | 1 | ||||
-rw-r--r-- | odk/examples/java/MinimalComponent/Makefile | 1 | ||||
-rw-r--r-- | odk/examples/java/NotesAccess/Makefile | 1 | ||||
-rw-r--r-- | odk/examples/java/PropertySet/Makefile | 1 | ||||
-rw-r--r-- | odk/examples/java/Spreadsheet/Makefile | 1 | ||||
-rw-r--r-- | odk/examples/java/Storage/Makefile | 1 | ||||
-rw-r--r-- | odk/examples/java/Text/Makefile | 1 | ||||
-rw-r--r-- | odk/examples/java/ToDo/Makefile | 1 |
13 files changed, 0 insertions, 13 deletions
diff --git a/odk/examples/java/ConverterServlet/Makefile b/odk/examples/java/ConverterServlet/Makefile index 8c1828cea7b2..2dff683c3f1b 100644 --- a/odk/examples/java/ConverterServlet/Makefile +++ b/odk/examples/java/ConverterServlet/Makefile @@ -39,7 +39,6 @@ SETTINGS=$(PRJ)/settings include $(SETTINGS)/settings.mk include $(SETTINGS)/std.mk -include $(SETTINGS)/dk.mk # Define non-platform/compiler specific settings COMPONENT_NAME=ConverterServletExample diff --git a/odk/examples/java/DocumentHandling/Makefile b/odk/examples/java/DocumentHandling/Makefile index 0cf208330bfd..08e8f0f79ee8 100644 --- a/odk/examples/java/DocumentHandling/Makefile +++ b/odk/examples/java/DocumentHandling/Makefile @@ -39,7 +39,6 @@ SETTINGS=$(PRJ)/settings include $(SETTINGS)/settings.mk include $(SETTINGS)/std.mk -include $(SETTINGS)/dk.mk # Define non-platform/compiler specific settings SAMPLE_NAME=JavaDocumentHandlingExamples diff --git a/odk/examples/java/Drawing/Makefile b/odk/examples/java/Drawing/Makefile index 6281c2462a16..861ab96ff439 100644 --- a/odk/examples/java/Drawing/Makefile +++ b/odk/examples/java/Drawing/Makefile @@ -39,7 +39,6 @@ SETTINGS=$(PRJ)/settings include $(SETTINGS)/settings.mk include $(SETTINGS)/std.mk -include $(SETTINGS)/dk.mk # Define non-platform/compiler specific settings EXAMPLE_NAME=JavaDrawingExample diff --git a/odk/examples/java/EmbedDocument/Container1/Makefile b/odk/examples/java/EmbedDocument/Container1/Makefile index 88103f2f230f..88279bbe54dc 100644 --- a/odk/examples/java/EmbedDocument/Container1/Makefile +++ b/odk/examples/java/EmbedDocument/Container1/Makefile @@ -23,7 +23,6 @@ SETTINGS=$(PRJ)/settings include $(SETTINGS)/settings.mk include $(SETTINGS)/std.mk -include $(SETTINGS)/dk.mk # Define non-platform/compiler specific settings COMPONENT_NAME=EmbedDocument.Container1 diff --git a/odk/examples/java/EmbedDocument/EmbeddedObject/Makefile b/odk/examples/java/EmbedDocument/EmbeddedObject/Makefile index 59e71869b0fe..b568c39c2a98 100755 --- a/odk/examples/java/EmbedDocument/EmbeddedObject/Makefile +++ b/odk/examples/java/EmbedDocument/EmbeddedObject/Makefile @@ -37,7 +37,6 @@ SETTINGS=$(PRJ)/settings include $(SETTINGS)/settings.mk include $(SETTINGS)/std.mk -# include $(SETTINGS)/dk.mk # Define non-platform/compiler specific settings diff --git a/odk/examples/java/Inspector/Makefile b/odk/examples/java/Inspector/Makefile index 4a3ed71c29e2..0b90edf42296 100644 --- a/odk/examples/java/Inspector/Makefile +++ b/odk/examples/java/Inspector/Makefile @@ -39,7 +39,6 @@ SETTINGS=$(PRJ)/settings include $(SETTINGS)/settings.mk include $(SETTINGS)/std.mk -include $(SETTINGS)/dk.mk # Define non-platform/compiler specific settings diff --git a/odk/examples/java/MinimalComponent/Makefile b/odk/examples/java/MinimalComponent/Makefile index 876ecb928020..13dc762966f6 100644 --- a/odk/examples/java/MinimalComponent/Makefile +++ b/odk/examples/java/MinimalComponent/Makefile @@ -39,7 +39,6 @@ SETTINGS=$(PRJ)/settings include $(SETTINGS)/settings.mk include $(SETTINGS)/std.mk -include $(SETTINGS)/dk.mk # Define non-platform/compiler specific settings diff --git a/odk/examples/java/NotesAccess/Makefile b/odk/examples/java/NotesAccess/Makefile index 87e41d3c1e7a..f403e58b48b0 100644 --- a/odk/examples/java/NotesAccess/Makefile +++ b/odk/examples/java/NotesAccess/Makefile @@ -39,7 +39,6 @@ SETTINGS=$(PRJ)/settings include $(SETTINGS)/settings.mk include $(SETTINGS)/std.mk -include $(SETTINGS)/dk.mk # Define non-platform/compiler specific settings EXAMPLE_NAME=NotesAccessExample diff --git a/odk/examples/java/PropertySet/Makefile b/odk/examples/java/PropertySet/Makefile index 7a79f340d79c..2ab04e13ed94 100644 --- a/odk/examples/java/PropertySet/Makefile +++ b/odk/examples/java/PropertySet/Makefile @@ -39,7 +39,6 @@ SETTINGS=$(PRJ)/settings include $(SETTINGS)/settings.mk include $(SETTINGS)/std.mk -include $(SETTINGS)/dk.mk # Define non-platform/compiler specific settings COMP_NAME=PropTest diff --git a/odk/examples/java/Spreadsheet/Makefile b/odk/examples/java/Spreadsheet/Makefile index 43ba6d0325b2..e246628496f5 100644 --- a/odk/examples/java/Spreadsheet/Makefile +++ b/odk/examples/java/Spreadsheet/Makefile @@ -39,7 +39,6 @@ SETTINGS=$(PRJ)/settings include $(SETTINGS)/settings.mk include $(SETTINGS)/std.mk -include $(SETTINGS)/dk.mk # Define non-platform/compiler specific settings EXAMPLE_NAME=JavaSpreadsheetExamples diff --git a/odk/examples/java/Storage/Makefile b/odk/examples/java/Storage/Makefile index 05f1755209fe..3bf990b5df67 100644 --- a/odk/examples/java/Storage/Makefile +++ b/odk/examples/java/Storage/Makefile @@ -23,7 +23,6 @@ SETTINGS=$(PRJ)/settings include $(SETTINGS)/settings.mk include $(SETTINGS)/std.mk -include $(SETTINGS)/dk.mk # Define non-platform/compiler specific settings COMPONENT_NAME=JavaStorageTestExample diff --git a/odk/examples/java/Text/Makefile b/odk/examples/java/Text/Makefile index 9fb4b6226407..cdfdcb29fdcd 100644 --- a/odk/examples/java/Text/Makefile +++ b/odk/examples/java/Text/Makefile @@ -39,7 +39,6 @@ SETTINGS=$(PRJ)/settings include $(SETTINGS)/settings.mk include $(SETTINGS)/std.mk -include $(SETTINGS)/dk.mk # Define non-platform/compiler specific settings EXAMPLE_NAME=JavaTextExamples diff --git a/odk/examples/java/ToDo/Makefile b/odk/examples/java/ToDo/Makefile index 7ab59a047315..94fc4dde8a00 100644 --- a/odk/examples/java/ToDo/Makefile +++ b/odk/examples/java/ToDo/Makefile @@ -39,7 +39,6 @@ SETTINGS=$(PRJ)/settings include $(SETTINGS)/settings.mk include $(SETTINGS)/std.mk -include $(SETTINGS)/dk.mk # Define non-platform/compiler specific settings COMP_NAME=ToDo |