# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This file incorporates work covered by the following license notice: # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed # with this work for additional information regarding copyright # ownership. The ASF licenses this file to you under the Apache # License, Version 2.0 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.apache.org/licenses/LICENSE-2.0 . # $(eval $(call gb_Library_Library,desktop_detector)) $(eval $(call gb_Library_set_include,desktop_detector,\ $$(INCLUDE) \ -I$(SRCDIR)/vcl/inc \ )) $(eval $(call gb_Library_add_defs,desktop_detector,\ -DDESKTOP_DETECTOR_IMPLEMENTATION \ )) $(eval $(call gb_Library_use_sdk_api,desktop_detector)) $(eval $(call gb_Library_use_libraries,desktop_detector,\ vcl \ tl \ utl \ sot \ ucbhelper \ basegfx \ comphelper \ cppuhelper \ i18nlangtag \ i18nutil \ $(if $(ENABLE_JAVA), \ jvmaccess) \ cppu \ sal \ )) $(eval $(call gb_Library_use_externals,desktop_detector,\ boost_headers \ icuuc \ )) $(eval $(call gb_Library_add_libs,desktop_detector,\ -lX11 \ -lXext \ -lSM \ -lICE \ )) $(eval $(call gb_Library_add_exception_objects,desktop_detector,\ vcl/unx/generic/desktopdetect/desktopdetector \ )) ifeq ($(OS), $(filter LINUX %BSD SOLARIS, $(OS))) $(eval $(call gb_Library_add_libs,desktop_detector,\ -lm $(DLOPEN_LIBS) \ )) endif # vim: set noet sw=4 ts=4: t.libreoffice.org/17362 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com> gbuild: set _WIN32_WINNT globally instead of WINVER 2015-03-05T14:36:46+00:00 Michael Stahl mstahl@redhat.com 2015-03-04T12:51:36+00:00 d8dd6db19a9a37072a0dfbfc94f3690750ebd219 ... and remove the definitions in makefiles, except in fpicker, which defines a different value for the Vista file picker. The WINVER value is derived automatically from _WIN32_WINNT by SDK header sdkddkver.h. Change-Id: I73358a9bf5d070f71821654cae2a29335a754a21
... and remove the definitions in makefiles, except in fpicker, which
defines a different value for the Vista file picker.

The WINVER value is derived automatically from _WIN32_WINNT by SDK
header sdkddkver.h.

Change-Id: I73358a9bf5d070f71821654cae2a29335a754a21
setup_native: warning C4005: macro redefinition 2013-11-20T15:33:26+00:00 Michael Stahl mstahl@redhat.com 2013-11-20T15:24:42+00:00 806451556adcb010e1466d5bd1a170a35e36095d Change-Id: I34bea8aaedec8df47874c5230c87455aa1ce6883
Change-Id: I34bea8aaedec8df47874c5230c87455aa1ce6883
Windows: Require at least Windows XP SP2 2013-11-20T13:15:16+00:00 Thomas Arnhold thomas@arnhold.org 2013-11-06T10:23:15+00:00 f01580ce9c5f898c1fdb85e302a158f1a31205db * Windows XP SP2 is 0x0502, see http://msdn.microsoft.com/en-us/library/aa383745.aspx * If a module changes the Windows SDK version setting, this is done module wide now. So the overall behavior is as before. This seems to be the best compromise for now. * We need at least SP2 because of the bluetooth stuff used in sd/source/ui/remotecontrol. * Now, we require at least Internet Explorer 7.0. IE6 has been outdated for a long time. * Leave StdAfx.h file definitions, as those are Microsoft project specific precompiled header files. * All local definitions of WINVER are removed, because the global WINVER setting makes them obsolete now. To the relation of the three macros: Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION automatically to the same value as _WIN32_WINNT. WINVER and NTDDI_VERSION can be set idenpendently each for itself. Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb Reviewed-on: https://gerrit.libreoffice.org/6496 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
* Windows XP SP2 is 0x0502, see
  http://msdn.microsoft.com/en-us/library/aa383745.aspx
* If a module changes the Windows SDK version setting,
  this is done module wide now. So the overall behavior
  is as before. This seems to be the best compromise for
  now.
* We need at least SP2 because of the bluetooth stuff
  used in sd/source/ui/remotecontrol.
* Now, we require at least Internet Explorer 7.0. IE6
  has been outdated for a long time.
* Leave StdAfx.h file definitions, as those are Microsoft
  project specific precompiled header files.
* All local definitions of WINVER are removed, because
  the global WINVER setting makes them obsolete now.

To the relation of the three macros:

Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION
automatically to the same value as _WIN32_WINNT.

WINVER and NTDDI_VERSION can be set idenpendently each
for itself.

Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb
Reviewed-on: https://gerrit.libreoffice.org/6496
Reviewed-by: Thorsten Behrens <thb@documentfoundation.org>
Tested-by: Thorsten Behrens <thb@documentfoundation.org>
setup_native: remove Package_spell 2013-05-07T15:07:44+00:00 Michael Stahl mstahl@redhat.com 2013-05-07T14:59:27+00:00 a7b7f03a219c63632093a58ca998ae0382f2e77a Change-Id: I082956036843b6a88e3e1db3d799985599ae2980
Change-Id: I082956036843b6a88e3e1db3d799985599ae2980
gbuild: add support for building against MSVC debug runtime 2013-04-15T13:26:32+00:00 Michael Stahl mstahl@redhat.com 2013-04-11T12:43:19+00:00 3b65852f37f1c8daf8c5c0af1d810c68cc71d8e3 Mainly this means using /MDd instead of /MD and /MTd instead of /MT in the CFLAGS, and also re-mapping of .lib files to ones with "d". Change-Id: Ifc56b53a66d5eb522c1695a34d68b08cad1d8338
Mainly this means using /MDd instead of /MD and /MTd instead of /MT in
the CFLAGS, and also re-mapping of .lib files to ones with "d".

Change-Id: Ifc56b53a66d5eb522c1695a34d68b08cad1d8338