xref: /aoo42x/main/solenv/gbuild/platform/macosx.mk (revision 1bb309c6)
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# AsmObject class
177
178gb_AsmObject_EXT := .s
179
180define gb_AsmObject__command
181$(call gb_Output_announce,$(2),$(true),ASM,3)
182$(call gb_Helper_abbreviate_dirs,\
183	mkdir -p $(dir $(1)) && \
184	$(gb_CC) \
185		$(DEFS) \
186		$(T_CFLAGS) \
187		$(CFLAGS) \
188		-c $(3) \
189		-o $(1) \
190		-MT $(1) \
191		-I$(dir $(3)) \
192		$(INCLUDE))
193endef
194
195# CObject class
196
197define gb_CObject__command
198$(call gb_Output_announce,$(2),$(true),C  ,3)
199$(call gb_Helper_abbreviate_dirs,\
200	mkdir -p $(dir $(1)) $(dir $(4)) && \
201	$(gb_CC) \
202		$(DEFS) \
203		$(T_CFLAGS) \
204		$(CFLAGS) \
205		-c $(3) \
206		-o $(1) \
207		-MMD -MT $(1) \
208		-MF $(4) \
209		-I$(dir $(3)) \
210		$(INCLUDE))
211endef
212
213
214# CxxObject class
215
216# N.B: $(CXXFLAGS) may contain -x objective-c++, which must come before -c
217define gb_CxxObject__command
218$(call gb_Output_announce,$(2),$(true),CXX,3)
219$(call gb_Helper_abbreviate_dirs,\
220	mkdir -p $(dir $(1)) $(dir $(4)) && \
221	$(gb_CXX) \
222		$(DEFS) \
223		$(T_CXXFLAGS) \
224		$(CXXFLAGS) \
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# ObjCxxObject class
235
236define gb_ObjCxxObject__command
237$(call gb_Output_announce,$(2),$(true),OCX,3)
238$(call gb_Helper_abbreviate_dirs,\
239	mkdir -p $(dir $(1)) $(dir $(4)) && \
240	$(gb_CXX) \
241		$(DEFS) \
242		$(T_OBJCXXFLAGS) \
243		$(OBJCXXFLAGS) \
244		-c $(3) \
245		-o $(1) \
246		-MMD -MT $(1) \
247		-MF $(4) \
248		-I$(dir $(3)) \
249		$(INCLUDE_STL) $(INCLUDE))
250endef
251
252
253# LinkTarget class
254
255define gb_LinkTarget__get_rpath_for_layer
256$(patsubst $(1):%,%,$(filter $(1):%,$(gb_LinkTarget__RPATHS)))
257endef
258
259gb_LinkTarget__RPATHS := \
260	URELIB:@__________________________________________________URELIB/ \
261	UREBIN: \
262	OOO:@__________________________________________________OOO/ \
263	BRAND: \
264	SDKBIN: \
265	NONEBIN: \
266
267define gb_LinkTarget__get_installname
268$(if $(2),-install_name '$(2)$(1)',)
269endef
270
271gb_LinkTarget_CFLAGS := $(gb_CFLAGS) $(gb_CFLAGS_WERROR)
272gb_LinkTarget_CXXFLAGS := $(gb_CXXFLAGS) $(gb_CXXFLAGS_WERROR)
273gb_LinkTarget_OBJCXXFLAGS := $(gb_CXXFLAGS) $(gb_CXXFLAGS_WERROR) $(gb_OBJCXXFLAGS)
274
275gb_LinkTarget_INCLUDE := $(filter-out %/stl, $(subst -I. , ,$(SOLARINC)))
276gb_LinkTarget_INCLUDE_STL := $(filter %/stl, $(subst -I. , ,$(SOLARINC)))
277
278# FIXME framework handling very hackish
279define gb_LinkTarget__get_liblinkflags
280$(patsubst lib%.dylib,-l%,$(foreach lib,$(filter-out $(gb_Library__FRAMEWORKS),$(1)),$(call gb_Library_get_filename,$(lib)))) \
281$(addprefix -framework ,$(filter $(gb_Library__FRAMEWORKS),$(1)))
282endef
283
284define gb_LinkTarget__get_layer
285$(if $(filter Executable,$(1)),\
286	$$(call gb_Executable_get_layer,$(2)),\
287	$$(call gb_Library_get_layer,$(2)))
288endef
289
290# FIXME the DYLIB_FILE mess is only necessary because
291# solver layout is different from installation layout
292define gb_LinkTarget__command_dynamiclink
293$(call gb_Helper_abbreviate_dirs,\
294	mkdir -p $(dir $(1)) && \
295	DYLIB_FILE=`$(gb_MKTEMP)` && \
296	$(PERL) $(SOLARENV)/bin/macosx-dylib-link-list.pl \
297		$(if $(filter Executable,$(TARGETTYPE)),$(gb_Executable_TARGETTYPEFLAGS)) \
298		$(if $(filter Library,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \
299		$(subst \d,$$,$(RPATH)) \
300		$(T_LDFLAGS) \
301		$(patsubst lib%.dylib,-l%,$(foreach lib,$(LINKED_LIBS),$(call gb_Library_get_filename,$(lib)))) \
302		$(patsubst %,-l%,$(EXTERNAL_LIBS)) \
303		> $${DYLIB_FILE} && \
304	$(gb_CXX) \
305		$(if $(filter Executable,$(TARGETTYPE)),$(gb_Executable_TARGETTYPEFLAGS)) \
306		$(if $(filter Library,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \
307		$(subst \d,$$,$(RPATH)) \
308		$(T_LDFLAGS) $(gb_macos_LDFLAGS) \
309		$(call gb_LinkTarget__get_liblinkflags,$(LINKED_LIBS)) \
310		$(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \
311		$(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \
312		$(foreach object,$(OBJCXXOBJECTS),$(call gb_ObjCxxObject_get_target,$(object))) \
313		$(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \
314		$(foreach lib,$(LINKED_STATIC_LIBS),$(call gb_StaticLibrary_get_target,$(lib))) \
315		$(LIBS) \
316		-o $(1) \
317		`cat $${DYLIB_FILE}` && \
318	$(if $(filter Library,$(TARGETTYPE)),\
319		$(PERL) $(SOLARENV)/bin/macosx-change-install-names.pl Library $(LAYER) $(1) && \
320		ln -f $(1) $(patsubst %.dylib,%.jnilib,$(1)) &&) \
321	rm -f $${DYLIB_FILE})
322endef
323
324define gb_LinkTarget__command_symlink_udk_versioned_library
325	$(if $(call gb_Library_is_udk_versioned,$(1)),
326		$(call gb_Helper_abbreviate_dirs,\
327			rm -f $(1).$(gb_UDK_MAJOR) && \
328			mv $(1) $(1).$(gb_UDK_MAJOR) && \
329			ln -shf $(1).$(gb_UDK_MAJOR) $(1)))
330endef
331
332# parameters: 1-linktarget 2-cobjects 3-cxxobjects
333define gb_LinkTarget__command_staticlink
334$(call gb_Helper_abbreviate_dirs,\
335	mkdir -p $(dir $(1)) && \
336	$(gb_AR) -rsu $(1) \
337		$(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \
338		$(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \
339		$(foreach object,$(OBJCXXOBJECTS),$(call gb_ObjCxxObject_get_target,$(object))) \
340		$(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \
341		2> /dev/null)
342endef
343
344define gb_LinkTarget__command
345$(call gb_Output_announce,$(2),$(true),LNK,4)
346$(if $(filter Library GoogleTest Executable,$(TARGETTYPE)),$(call gb_LinkTarget__command_dynamiclink,$(1),$(2)))
347$(if $(filter Library,$(TARGETTYPE)),$(call gb_LinkTarget__command_symlink_udk_versioned_library,$(1)))
348$(if $(filter StaticLibrary,$(TARGETTYPE)),$(call gb_LinkTarget__command_staticlink,$(1)))
349endef
350
351
352# Library class
353
354gb_Library_DEFS :=
355gb_Library_TARGETTYPEFLAGS := -dynamiclib -single_module
356gb_Library_SYSPRE := lib
357gb_Library_UNOVERPRE := $(gb_Library_SYSPRE)uno_
358gb_Library_PLAINEXT := .dylib
359gb_Library_RTEXT := $(COMID)$(gb_Library_PLAINEXT)
360
361gb_Library_OOOEXT := $(gb_Library_PLAINEXT)
362gb_Library_UNOEXT := .uno$(gb_Library_PLAINEXT)
363
364gb_Library__FRAMEWORKS := \
365	Cocoa \
366
367gb_Library_PLAINLIBS_NONE += \
368	Cocoa \
369	objc \
370	m \
371	pthread
372
373gb_Library_FILENAMES := \
374	$(foreach lib,$(gb_Library_OOOLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_OOOEXT)) \
375	$(foreach lib,$(gb_Library_PLAINLIBS_NONE),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_PLAINEXT)) \
376	$(foreach lib,$(gb_Library_PLAINLIBS_URE),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_PLAINEXT)) \
377	$(foreach lib,$(gb_Library_PLAINLIBS_OOO),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_PLAINEXT)) \
378	$(foreach lib,$(gb_Library_RTLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_RTEXT)) \
379	$(foreach lib,$(gb_Library_RTVERLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_RTEXT)) \
380	$(foreach lib,$(gb_Library_STLLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_STLEXT)) \
381	$(foreach lib,$(gb_Library_UNOLIBS_URE),$(lib):$(lib)$(gb_Library_UNOEXT)) \
382	$(foreach lib,$(gb_Library_UNOLIBS_OOO),$(lib):$(lib)$(gb_Library_UNOEXT)) \
383	$(foreach lib,$(gb_Library_UNOVERLIBS),$(lib):$(gb_Library_UNOVERPRE)$(lib)$(gb_Library_PLAINEXT)) \
384
385
386gb_Library_LAYER := \
387	$(foreach lib,$(gb_Library_OOOLIBS),$(lib):OOO) \
388	$(foreach lib,$(gb_Library_PLAINLIBS_URE),$(lib):URELIB) \
389	$(foreach lib,$(gb_Library_PLAINLIBS_OOO),$(lib):OOO) \
390	$(foreach lib,$(gb_Library_RTLIBS),$(lib):OOO) \
391	$(foreach lib,$(gb_Library_RTVERLIBS),$(lib):URELIB) \
392	$(foreach lib,$(gb_Library_STLLIBS),$(lib):URELIB) \
393	$(foreach lib,$(gb_Library_UNOLIBS_URE),$(lib):URELIB) \
394	$(foreach lib,$(gb_Library_UNOLIBS_OOO),$(lib):OOO) \
395	$(foreach lib,$(gb_Library_UNOVERLIBS),$(lib):URELIB) \
396
397define gb_Library_get_rpath
398$(call gb_LinkTarget__get_installname,$(call gb_Library_get_filename,$(1)),$(call gb_LinkTarget__get_rpath_for_layer,$(call gb_Library_get_layer,$(1))))
399endef
400
401define gb_Library_Library_platform
402$(call gb_LinkTarget_get_target,$(2)) : RPATH := $(call gb_Library_get_rpath,$(1))
403$(call gb_LinkTarget_get_target,$(2)) : LAYER := $(call gb_Library_get_layer,$(1))
404ifneq (,$(call gb_Library_is_udk_versioned,$(call gb_Library_get_target,$(1))))
405$(call gb_Library_get_target,$(1)) \
406$(call gb_Library_get_clean_target,$(1)) : AUXTARGETS +=  \
407	$(call gb_Library_get_target,$(1)).$(gb_UDK_MAJOR)
408endif
409$(call gb_Library_get_target,$(1)) \
410$(call gb_Library_get_clean_target,$(1)) : AUXTARGETS += \
411	$(patsubst %.dylib,%.jnilib,$(call gb_Library_get_target,$(1)))
412
413endef
414
415
416# StaticLibrary class
417
418gb_StaticLibrary_DEFS :=
419gb_StaticLibrary_SYSPRE := lib
420gb_StaticLibrary_PLAINEXT := .a
421gb_StaticLibrary_JPEGEXT := lib$(gb_StaticLibrary_PLAINEXT)
422
423gb_StaticLibrary_FILENAMES := \
424	$(foreach lib,$(gb_StaticLibrary_JPEGLIBS),$(lib):$(gb_StaticLibrary_SYSPRE)$(lib)$(gb_StaticLibrary_JPEGEXT)) \
425	$(foreach lib,$(gb_StaticLibrary_PLAINLIBS),$(lib):$(gb_StaticLibrary_SYSPRE)$(lib)$(gb_StaticLibrary_PLAINEXT)) \
426
427gb_StaticLibrary_StaticLibrary_platform =
428
429
430# Executable class
431
432gb_Executable_EXT :=
433gb_Executable_TARGETTYPEFLAGS := -bind_at_load
434
435gb_Executable_LAYER := \
436	$(foreach exe,$(gb_Executable_UREBIN),$(exe):UREBIN) \
437	$(foreach exe,$(gb_Executable_SDK),$(exe):SDKBIN) \
438	$(foreach exe,$(gb_Executable_OOO),$(exe):OOO) \
439	$(foreach exe,$(gb_Executable_BRAND),$(exe):BRAND) \
440	$(foreach exe,$(gb_Executable_NONE),$(exe):NONEBIN) \
441
442
443define gb_Executable_get_rpath
444$(call gb_LinkTarget__get_installname,$(1),$(call gb_LinkTarget__get_rpath_for_layer,$(call gb_Executable_get_layer,$(1))))
445endef
446
447define gb_Executable_Executable_platform
448$(call gb_LinkTarget_get_target,$(2)) : RPATH := $(call gb_Executable_get_rpath,$(1))
449$(call gb_LinkTarget_get_target,$(2)) : LAYER := $(call gb_Executable_get_layer,$(1))
450
451endef
452
453
454# GoogleTest class
455
456gb_GoogleTest_GTESTPRECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib
457gb_GoogleTest_get_filename = $(1)$(gb_Executable_EXT)
458
459define gb_GoogleTest_GoogleTest_platform
460$(call gb_LinkTarget_get_target,$(2)) : RPATH :=
461endef
462
463# JunitTest class
464
465define gb_JunitTest_JunitTest_platform
466$(call gb_JunitTest_get_target,$(1)) : DEFS := \
467	-Dorg.openoffice.test.arg.soffice="$$$${OOO_TEST_SOFFICE:-path:$(SRCDIR)/instsetoo_native/$(INPATH)/Apache_OpenOffice/installed/install/en-US/openoffice4/program/soffice}" \
468    -Dorg.openoffice.test.arg.env=DYLD_LIBRARY_PATH \
469    -Dorg.openoffice.test.arg.user=file://$(call gb_JunitTest_get_userdir,$(1)) \
470
471endef
472
473# SdiTarget class
474
475gb_SdiTarget_SVIDLPRECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib
476
477# SrsPartMergeTarget
478
479gb_SrsPartMergeTarget_TRANSEXPRECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib
480
481# SrsPartTarget class
482
483gb_SrsPartTarget_RSCTARGET := $(OUTDIR)/bin/rsc
484gb_SrsPartTarget_RSCCOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_SrsPartTarget_RSCTARGET)
485
486define gb_SrsPartTarget__command_dep
487$(call gb_Helper_abbreviate_dirs,\
488	$(gb_GCCP) \
489		-MM -MT $(call gb_SrsPartTarget_get_target,$(1)) \
490		$(INCLUDE) \
491		$(DEFS) \
492		-c -x c++-header $(2) \
493		-o $(call gb_SrsPartTarget_get_dep_target,$(1)))
494endef
495
496
497# ComponentTarget
498
499gb_XSLTPROCPRECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib
500gb_Library_COMPONENTPREFIXES := \
501    OOO:vnd.sun.star.expand:\dOOO_BASE_DIR/program/ \
502    URELIB:vnd.sun.star.expand:\dURE_INTERNAL_LIB_DIR/ \
503    NONE:vnd.sun.star.expand:\dOOO_INBUILD_SHAREDLIB_DIR/ \
504
505# UnoApiTarget
506
507gb_UnoApiTarget_IDLCTARGET := $(OUTDIR)/bin/idlc
508gb_UnoApiTarget_IDLCCOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_IDLCTARGET)
509gb_UnoApiTarget_REGMERGETARGET := $(OUTDIR)/bin/regmerge
510gb_UnoApiTarget_REGMERGECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_REGMERGETARGET)
511gb_UnoApiTarget_REGCOMPARETARGET := $(OUTDIR)/bin/regcompare
512gb_UnoApiTarget_REGCOMPARECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_REGCOMPARETARGET)
513gb_UnoApiTarget_CPPUMAKERTARGET := $(OUTDIR)/bin/cppumaker
514gb_UnoApiTarget_CPPUMAKERCOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_CPPUMAKERTARGET)
515gb_UnoApiTarget_REGVIEWTARGET := $(OUTDIR)/bin/regview
516gb_UnoApiTarget_REGVIEWCOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_REGVIEWTARGET)
517
518
519# vim: set noet sw=4 ts=4:
520