1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24GUI := UNX 25#COM := S5ABI 26COMID := s5abi 27 28# Darwin mktemp -t expects a prefix, not a pattern 29gb_MKTEMP ?= /usr/bin/mktemp -t gbuild. 30 31gb_CC := cc 32gb_CXX := g++ 33gb_GCCP := gcc 34gb_AR := ar 35gb_AWK := awk 36gb_CLASSPATHSEP := : 37 38# use CC/CXX if they are nondefaults 39ifneq ($(origin CC),default) 40gb_CC := $(CC) 41gb_GCCP := $(CC) 42endif 43ifneq ($(origin CXX),default) 44gb_CXX := $(CXX) 45endif 46 47gb_OSDEFS := \ 48 -D$(OS) \ 49 -D_PTHREADS \ 50 -DUNIX \ 51 -DUNX \ 52 -D_REENTRANT \ 53 -DNO_PTHREAD_PRIORITY \ 54 -DQUARTZ \ 55 $(EXTRA_CDEFS) \ 56 57gb_COMPILERDEFS := \ 58 -D$(COM) \ 59 -DHAVE_GCC_VISIBILITY_FEATURE \ 60 -DCPPU_ENV=$(COMNAME) \ 61 62gb_CPUDEFS := -D$(ALIGN) -D$(CPUNAME) 63ifeq ($(CPUNAME),POWERPC) 64gb_CPUDEFS += -DPOWERPC -DPPC 65else ifeq ($(CPUNAME),INTEL) 66gb_CPUDEFS += -DX86 67endif 68 69ifeq ($(strip $(SYSBASE)),) 70 gb_SDKDIR := $(MACOSX_SDK_PATH) 71else 72 gb_SDKDIR := $(SYSBASE)/MacOSX$(MACOSX_DEPLOYMENT_TARGET).sdk 73endif 74 75 76gb_CFLAGS := \ 77 -isysroot $(gb_SDKDIR) \ 78 -Wall \ 79 -Wendif-labels \ 80 -Wextra \ 81 -Wshadow \ 82 -fPIC \ 83 -fmessage-length=0 \ 84 -fno-common \ 85 -fno-strict-aliasing \ 86 -pipe \ 87 88gb_CXXFLAGS := \ 89 -isysroot $(gb_SDKDIR) \ 90 -Wall \ 91 -Wendif-labels \ 92 -Wextra \ 93 -Wno-ctor-dtor-privacy \ 94 -Wno-non-virtual-dtor \ 95 -fPIC \ 96 -fmessage-length=0 \ 97 -fno-common \ 98 -fno-strict-aliasing \ 99 -fsigned-char \ 100 -pipe 101 102ifneq ($(COM),GCC) 103 gb_CXXFLAGS += -DHAVE_STL_INCLUDE_PATH -I../v1/ 104endif 105 106ifeq ($(MACOSX_DEPLOYMENT_TARGET),$(filter $(MACOSX_DEPLOYMENT_TARGET), 10.7 10.8)) 107 gb_CXXFLAGS += -std=c++11 -stdlib=libc++ 108 gb_macos_LDFLAGS := -std=c++11 -stdlib=libc++ 109endif 110 111# these are to get g++ to switch to Objective-C++ mode 112# (see toolkit module for a case where it is necessary to do it this way) 113gb_OBJCXXFLAGS := -x objective-c++ -fobjc-exceptions 114 115ifneq ($(MACOSX_DEPLOYMENT_TARGET),) 116 gb_CXXFLAGS += -DMAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_$(subst .,_,$(MACOSX_DEPLOYMENT_TARGET)) 117endif 118 119ifneq ($(EXTERNAL_WARNINGS_NOT_ERRORS),TRUE) 120gb_CFLAGS_WERROR := -Werror -Wno-error=deprecated 121gb_CXXFLAGS_WERROR := -Werror -Wno-error=deprecated 122endif 123 124gb_LinkTarget_EXCEPTIONFLAGS := \ 125 -DEXCEPTIONS_ON \ 126 -fexceptions 127 128ifeq ($(COM),GCC) 129 gb_LinkTarget_EXCEPTIONFLAGS += -fno-enforce-eh-specs 130endif 131 132gb_LinkTarget_NOEXCEPTIONFLAGS := \ 133 -DEXCEPTIONS_OFF \ 134 -fno-exceptions 135 136gb_LinkTarget_LDFLAGS := \ 137 -Wl,-syslibroot,$(gb_SDKDIR) \ 138 $(subst -L../lib , ,$(SOLARLIB)) \ 139#man ld says: obsolete -Wl,-multiply_defined,suppress \ 140 141ifeq ($(ENABLE_SYMBOLS),SMALL) 142gb_DEBUG_CFLAGS := -g1 143else 144gb_DEBUG_CFLAGS := -g3 145endif 146 147ifeq ($(gb_DEBUGLEVEL),2) 148gb_COMPILEROPTFLAGS := -O0 149gb_COMPILEROPT1FLAGS := -O0 150else 151gb_COMPILEROPTFLAGS := -O2 152gb_COMPILEROPT1FLAGS := -O1 153endif 154 155gb_COMPILERNOOPTFLAGS := -O0 156 157# Helper class 158 159gb_Helper_abbreviate_dirs_native = $(gb_Helper_abbreviate_dirs) 160 161# convert parametters filesystem root to native notation 162# does some real work only on windows, make sure not to 163# break the dummy implementations on unx* 164define gb_Helper_convert_native 165$(1) 166endef 167 168# convert parametters filesystem root to native notation 169# does some real work only on windows, make sure not to 170# break the dummy implementations on unx* 171define gb_Helper_convert_native 172$(1) 173endef 174 175 176# CObject class 177 178define gb_CObject__command 179$(call gb_Output_announce,$(2),$(true),C ,3) 180$(call gb_Helper_abbreviate_dirs,\ 181 mkdir -p $(dir $(1)) $(dir $(4)) && \ 182 $(gb_CC) \ 183 $(DEFS) \ 184 $(T_CFLAGS) \ 185 $(CFLAGS) \ 186 -c $(3) \ 187 -o $(1) \ 188 -MMD -MT $(1) \ 189 -MF $(4) \ 190 -I$(dir $(3)) \ 191 $(INCLUDE)) 192endef 193 194 195# CxxObject class 196 197# N.B: $(CXXFLAGS) may contain -x objective-c++, which must come before -c 198define gb_CxxObject__command 199$(call gb_Output_announce,$(2),$(true),CXX,3) 200$(call gb_Helper_abbreviate_dirs,\ 201 mkdir -p $(dir $(1)) $(dir $(4)) && \ 202 $(gb_CXX) \ 203 $(DEFS) \ 204 $(T_CXXFLAGS) \ 205 $(CXXFLAGS) \ 206 -c $(3) \ 207 -o $(1) \ 208 -MMD -MT $(1) \ 209 -MF $(4) \ 210 -I$(dir $(3)) \ 211 $(INCLUDE_STL) $(INCLUDE)) 212endef 213 214 215# ObjCxxObject class 216 217define gb_ObjCxxObject__command 218$(call gb_Output_announce,$(2),$(true),OCX,3) 219$(call gb_Helper_abbreviate_dirs,\ 220 mkdir -p $(dir $(1)) $(dir $(4)) && \ 221 $(gb_CXX) \ 222 $(DEFS) \ 223 $(T_OBJCXXFLAGS) \ 224 $(OBJCXXFLAGS) \ 225 -c $(3) \ 226 -o $(1) \ 227 -MMD -MT $(1) \ 228 -MF $(4) \ 229 -I$(dir $(3)) \ 230 $(INCLUDE_STL) $(INCLUDE)) 231endef 232 233 234# LinkTarget class 235 236define gb_LinkTarget__get_rpath_for_layer 237$(patsubst $(1):%,%,$(filter $(1):%,$(gb_LinkTarget__RPATHS))) 238endef 239 240gb_LinkTarget__RPATHS := \ 241 URELIB:@__________________________________________________URELIB/ \ 242 UREBIN: \ 243 OOO:@__________________________________________________OOO/ \ 244 BRAND: \ 245 SDKBIN: \ 246 NONEBIN: \ 247 248define gb_LinkTarget__get_installname 249$(if $(2),-install_name '$(2)$(1)',) 250endef 251 252gb_LinkTarget_CFLAGS := $(gb_CFLAGS) $(gb_CFLAGS_WERROR) 253gb_LinkTarget_CXXFLAGS := $(gb_CXXFLAGS) $(gb_CXXFLAGS_WERROR) 254gb_LinkTarget_OBJCXXFLAGS := $(gb_CXXFLAGS) $(gb_CXXFLAGS_WERROR) $(gb_OBJCXXFLAGS) 255 256gb_LinkTarget_INCLUDE := $(filter-out %/stl, $(subst -I. , ,$(SOLARINC))) 257gb_LinkTarget_INCLUDE_STL := $(filter %/stl, $(subst -I. , ,$(SOLARINC))) 258 259# FIXME framework handling very hackish 260define gb_LinkTarget__get_liblinkflags 261$(patsubst lib%.dylib,-l%,$(foreach lib,$(filter-out $(gb_Library__FRAMEWORKS),$(1)),$(call gb_Library_get_filename,$(lib)))) \ 262$(addprefix -framework ,$(filter $(gb_Library__FRAMEWORKS),$(1))) 263endef 264 265define gb_LinkTarget__get_layer 266$(if $(filter Executable,$(1)),\ 267 $$(call gb_Executable_get_layer,$(2)),\ 268 $$(call gb_Library_get_layer,$(2))) 269endef 270 271# FIXME the DYLIB_FILE mess is only necessary because 272# solver layout is different from installation layout 273define gb_LinkTarget__command_dynamiclink 274$(call gb_Helper_abbreviate_dirs,\ 275 mkdir -p $(dir $(1)) && \ 276 DYLIB_FILE=`$(gb_MKTEMP)` && \ 277 $(PERL) $(SOLARENV)/bin/macosx-dylib-link-list.pl \ 278 $(if $(filter Executable,$(TARGETTYPE)),$(gb_Executable_TARGETTYPEFLAGS)) \ 279 $(if $(filter Library,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \ 280 $(subst \d,$$,$(RPATH)) \ 281 $(T_LDFLAGS) \ 282 $(patsubst lib%.dylib,-l%,$(foreach lib,$(LINKED_LIBS),$(call gb_Library_get_filename,$(lib)))) \ 283 $(patsubst %,-l%,$(EXTERNAL_LIBS)) \ 284 > $${DYLIB_FILE} && \ 285 $(gb_CXX) \ 286 $(if $(filter Executable,$(TARGETTYPE)),$(gb_Executable_TARGETTYPEFLAGS)) \ 287 $(if $(filter Library,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \ 288 $(subst \d,$$,$(RPATH)) \ 289 $(T_LDFLAGS) $(gb_macos_LDFLAGS) \ 290 $(call gb_LinkTarget__get_liblinkflags,$(LINKED_LIBS)) \ 291 $(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \ 292 $(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \ 293 $(foreach object,$(OBJCXXOBJECTS),$(call gb_ObjCxxObject_get_target,$(object))) \ 294 $(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \ 295 $(foreach lib,$(LINKED_STATIC_LIBS),$(call gb_StaticLibrary_get_target,$(lib))) \ 296 $(LIBS) \ 297 -o $(1) \ 298 `cat $${DYLIB_FILE}` && \ 299 $(if $(filter Library,$(TARGETTYPE)),\ 300 $(PERL) $(SOLARENV)/bin/macosx-change-install-names.pl Library $(LAYER) $(1) && \ 301 ln -f $(1) $(patsubst %.dylib,%.jnilib,$(1)) &&) \ 302 rm -f $${DYLIB_FILE}) 303endef 304 305define gb_LinkTarget__command_symlink_udk_versioned_library 306 $(if $(call gb_Library_is_udk_versioned,$(1)), 307 $(call gb_Helper_abbreviate_dirs,\ 308 rm -f $(1).$(gb_UDK_MAJOR) && \ 309 mv $(1) $(1).$(gb_UDK_MAJOR) && \ 310 ln -shf $(1).$(gb_UDK_MAJOR) $(1))) 311endef 312 313# parameters: 1-linktarget 2-cobjects 3-cxxobjects 314define gb_LinkTarget__command_staticlink 315$(call gb_Helper_abbreviate_dirs,\ 316 mkdir -p $(dir $(1)) && \ 317 $(gb_AR) -rsu $(1) \ 318 $(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \ 319 $(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \ 320 $(foreach object,$(OBJCXXOBJECTS),$(call gb_ObjCxxObject_get_target,$(object))) \ 321 $(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \ 322 2> /dev/null) 323endef 324 325define gb_LinkTarget__command 326$(call gb_Output_announce,$(2),$(true),LNK,4) 327$(if $(filter Library GoogleTest Executable,$(TARGETTYPE)),$(call gb_LinkTarget__command_dynamiclink,$(1),$(2))) 328$(if $(filter Library,$(TARGETTYPE)),$(call gb_LinkTarget__command_symlink_udk_versioned_library,$(1))) 329$(if $(filter StaticLibrary,$(TARGETTYPE)),$(call gb_LinkTarget__command_staticlink,$(1))) 330endef 331 332 333# Library class 334 335gb_Library_DEFS := 336gb_Library_TARGETTYPEFLAGS := -dynamiclib -single_module 337gb_Library_SYSPRE := lib 338gb_Library_UNOVERPRE := $(gb_Library_SYSPRE)uno_ 339gb_Library_PLAINEXT := .dylib 340gb_Library_RTEXT := $(COMID)$(gb_Library_PLAINEXT) 341 342gb_Library_OOOEXT := $(gb_Library_PLAINEXT) 343gb_Library_UNOEXT := .uno$(gb_Library_PLAINEXT) 344 345gb_Library__FRAMEWORKS := \ 346 Cocoa \ 347 348gb_Library_PLAINLIBS_NONE += \ 349 Cocoa \ 350 objc \ 351 m \ 352 pthread 353 354gb_Library_FILENAMES := \ 355 $(foreach lib,$(gb_Library_OOOLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_OOOEXT)) \ 356 $(foreach lib,$(gb_Library_PLAINLIBS_NONE),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_PLAINEXT)) \ 357 $(foreach lib,$(gb_Library_PLAINLIBS_URE),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_PLAINEXT)) \ 358 $(foreach lib,$(gb_Library_PLAINLIBS_OOO),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_PLAINEXT)) \ 359 $(foreach lib,$(gb_Library_RTLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_RTEXT)) \ 360 $(foreach lib,$(gb_Library_RTVERLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_RTEXT)) \ 361 $(foreach lib,$(gb_Library_STLLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_STLEXT)) \ 362 $(foreach lib,$(gb_Library_UNOLIBS_URE),$(lib):$(lib)$(gb_Library_UNOEXT)) \ 363 $(foreach lib,$(gb_Library_UNOLIBS_OOO),$(lib):$(lib)$(gb_Library_UNOEXT)) \ 364 $(foreach lib,$(gb_Library_UNOVERLIBS),$(lib):$(gb_Library_UNOVERPRE)$(lib)$(gb_Library_PLAINEXT)) \ 365 366 367gb_Library_LAYER := \ 368 $(foreach lib,$(gb_Library_OOOLIBS),$(lib):OOO) \ 369 $(foreach lib,$(gb_Library_PLAINLIBS_URE),$(lib):URELIB) \ 370 $(foreach lib,$(gb_Library_PLAINLIBS_OOO),$(lib):OOO) \ 371 $(foreach lib,$(gb_Library_RTLIBS),$(lib):OOO) \ 372 $(foreach lib,$(gb_Library_RTVERLIBS),$(lib):URELIB) \ 373 $(foreach lib,$(gb_Library_STLLIBS),$(lib):URELIB) \ 374 $(foreach lib,$(gb_Library_UNOLIBS_URE),$(lib):URELIB) \ 375 $(foreach lib,$(gb_Library_UNOLIBS_OOO),$(lib):OOO) \ 376 $(foreach lib,$(gb_Library_UNOVERLIBS),$(lib):URELIB) \ 377 378define gb_Library_get_rpath 379$(call gb_LinkTarget__get_installname,$(call gb_Library_get_filename,$(1)),$(call gb_LinkTarget__get_rpath_for_layer,$(call gb_Library_get_layer,$(1)))) 380endef 381 382define gb_Library_Library_platform 383$(call gb_LinkTarget_get_target,$(2)) : RPATH := $(call gb_Library_get_rpath,$(1)) 384$(call gb_LinkTarget_get_target,$(2)) : LAYER := $(call gb_Library_get_layer,$(1)) 385ifneq (,$(call gb_Library_is_udk_versioned,$(call gb_Library_get_target,$(1)))) 386$(call gb_Library_get_target,$(1)) \ 387$(call gb_Library_get_clean_target,$(1)) : AUXTARGETS += \ 388 $(call gb_Library_get_target,$(1)).$(gb_UDK_MAJOR) 389endif 390 391endef 392 393 394# StaticLibrary class 395 396gb_StaticLibrary_DEFS := 397gb_StaticLibrary_SYSPRE := lib 398gb_StaticLibrary_PLAINEXT := .a 399gb_StaticLibrary_JPEGEXT := lib$(gb_StaticLibrary_PLAINEXT) 400 401gb_StaticLibrary_FILENAMES := \ 402 $(foreach lib,$(gb_StaticLibrary_JPEGLIBS),$(lib):$(gb_StaticLibrary_SYSPRE)$(lib)$(gb_StaticLibrary_JPEGEXT)) \ 403 $(foreach lib,$(gb_StaticLibrary_PLAINLIBS),$(lib):$(gb_StaticLibrary_SYSPRE)$(lib)$(gb_StaticLibrary_PLAINEXT)) \ 404 405gb_StaticLibrary_StaticLibrary_platform = 406 407 408# Executable class 409 410gb_Executable_EXT := 411gb_Executable_TARGETTYPEFLAGS := -bind_at_load 412 413gb_Executable_LAYER := \ 414 $(foreach exe,$(gb_Executable_UREBIN),$(exe):UREBIN) \ 415 $(foreach exe,$(gb_Executable_SDK),$(exe):SDKBIN) \ 416 $(foreach exe,$(gb_Executable_OOO),$(exe):OOO) \ 417 $(foreach exe,$(gb_Executable_BRAND),$(exe):BRAND) \ 418 $(foreach exe,$(gb_Executable_NONE),$(exe):NONEBIN) \ 419 420 421define gb_Executable_get_rpath 422$(call gb_LinkTarget__get_installname,$(1),$(call gb_LinkTarget__get_rpath_for_layer,$(call gb_Executable_get_layer,$(1)))) 423endef 424 425define gb_Executable_Executable_platform 426$(call gb_LinkTarget_get_target,$(2)) : RPATH := $(call gb_Executable_get_rpath,$(1)) 427$(call gb_LinkTarget_get_target,$(2)) : LAYER := $(call gb_Executable_get_layer,$(1)) 428 429endef 430 431 432# GoogleTest class 433 434gb_GoogleTest_GTESTPRECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib 435gb_GoogleTest_get_filename = $(1)$(gb_Executable_EXT) 436 437define gb_GoogleTest_GoogleTest_platform 438$(call gb_LinkTarget_get_target,$(2)) : RPATH := 439endef 440 441# JunitTest class 442 443define gb_JunitTest_JunitTest_platform 444$(call gb_JunitTest_get_target,$(1)) : DEFS := \ 445 -Dorg.openoffice.test.arg.soffice="$$$${OOO_TEST_SOFFICE:-path:$(SRCDIR)/instsetoo_native/$(INPATH)/Apache_OpenOffice/installed/install/en-US/openoffice4/program/soffice}" \ 446 -Dorg.openoffice.test.arg.env=DYLD_LIBRARY_PATH \ 447 -Dorg.openoffice.test.arg.user=file://$(call gb_JunitTest_get_userdir,$(1)) \ 448 449endef 450 451# SdiTarget class 452 453gb_SdiTarget_SVIDLPRECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib 454 455# SrsPartMergeTarget 456 457gb_SrsPartMergeTarget_TRANSEXPRECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib 458 459# SrsPartTarget class 460 461gb_SrsPartTarget_RSCTARGET := $(OUTDIR)/bin/rsc 462gb_SrsPartTarget_RSCCOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_SrsPartTarget_RSCTARGET) 463 464define gb_SrsPartTarget__command_dep 465$(call gb_Helper_abbreviate_dirs,\ 466 $(gb_GCCP) \ 467 -MM -MT $(call gb_SrsPartTarget_get_target,$(1)) \ 468 $(INCLUDE) \ 469 $(DEFS) \ 470 -c -x c++-header $(2) \ 471 -o $(call gb_SrsPartTarget_get_dep_target,$(1))) 472endef 473 474 475# ComponentTarget 476 477gb_XSLTPROCPRECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib 478gb_Library_COMPONENTPREFIXES := \ 479 OOO:vnd.sun.star.expand:\dOOO_BASE_DIR/program/ \ 480 URELIB:vnd.sun.star.expand:\dURE_INTERNAL_LIB_DIR/ \ 481 NONE:vnd.sun.star.expand:\dOOO_INBUILD_SHAREDLIB_DIR/ \ 482 483# UnoApiTarget 484 485gb_UnoApiTarget_IDLCTARGET := $(OUTDIR)/bin/idlc 486gb_UnoApiTarget_IDLCCOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_IDLCTARGET) 487gb_UnoApiTarget_REGMERGETARGET := $(OUTDIR)/bin/regmerge 488gb_UnoApiTarget_REGMERGECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_REGMERGETARGET) 489gb_UnoApiTarget_REGCOMPARETARGET := $(OUTDIR)/bin/regcompare 490gb_UnoApiTarget_REGCOMPARECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_REGCOMPARETARGET) 491gb_UnoApiTarget_CPPUMAKERTARGET := $(OUTDIR)/bin/cppumaker 492gb_UnoApiTarget_CPPUMAKERCOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_CPPUMAKERTARGET) 493gb_UnoApiTarget_REGVIEWTARGET := $(OUTDIR)/bin/regview 494gb_UnoApiTarget_REGVIEWCOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_REGVIEWTARGET) 495 496 497# vim: set noet sw=4 ts=4: 498