Author: arielch
Date: Thu Dec 6 13:30:29 2012
New Revision: 1417858
URL: http://svn.apache.org/viewvc?rev=1417858&view=rev
Log:
odk - Define OSL_DEBUG_LEVEL when DEBUG
Modified:
openoffice/trunk/main/odk/examples/cpp/custompanel/Makefile
openoffice/trunk/main/odk/settings/settings.mk
Modified: openoffice/trunk/main/odk/examples/cpp/custompanel/Makefile
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/odk/examples/cpp/custompanel/Makefile?rev=1417858&r1=1417857&r2=1417858&view=diff
==============================================================================
--- openoffice/trunk/main/odk/examples/cpp/custompanel/Makefile (original)
+++ openoffice/trunk/main/odk/examples/cpp/custompanel/Makefile Thu Dec 6
13:30:29 2012
@@ -60,10 +60,6 @@ CXXFILES = \
SLOFILES = $(patsubst %.cxx,$(OUT_COMP_SLO)/%.$(OBJ_EXT),$(CXXFILES))
-# Add OSL_DEBUG_LEVEL to compiler the flags (for OSL_TRACE et. al.)
-ifeq "$(DEBUG)" "yes"
-CC_FLAGS += -DOSL_DEBUG_LEVEL=2
-endif
# Targets
.PHONY: ALL
Modified: openoffice/trunk/main/odk/settings/settings.mk
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/odk/settings/settings.mk?rev=1417858&r1=1417857&r2=1417858&view=diff
==============================================================================
--- openoffice/trunk/main/odk/settings/settings.mk (original)
+++ openoffice/trunk/main/odk/settings/settings.mk Thu Dec 6 13:30:29 2012
@@ -1,5 +1,5 @@
#**************************************************************
-#
+#
# 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
@@ -7,16 +7,16 @@
# 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
-#
+#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-#
+#
#**************************************************************
# Global settings file for the minimal build environment of the SDK
@@ -657,3 +657,9 @@ URE_MISC=$(OO_SDK_URE_HOME)/share/misc
endif
endif
+
+
+# Add OSL_DEBUG_LEVEL to compiler the flags (for OSL_TRACE et. al.)
+ifeq "$(DEBUG)" "yes"
+CC_FLAGS += -DOSL_DEBUG_LEVEL=2
+endif