xref: /trunk/main/solenv/gbuild/platform/macosx.mk (revision 87d312e1)
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
106# these are to get g++ to switch to Objective-C++ mode
107# (see toolkit module for a case where it is necessary to do it this way)
108gb_OBJCFLAGS := -x objective-c -fobjc-exceptions
109gb_OBJCXXFLAGS := -x objective-c++ -fobjc-exceptions
110
111ifneq ($(MACOSX_DEPLOYMENT_TARGET),)
112	gb_CXXFLAGS += -DMAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_$(subst .,_,$(MACOSX_DEPLOYMENT_TARGET))
113endif
114
115ifneq ($(EXTERNAL_WARNINGS_NOT_ERRORS),TRUE)
116gb_CFLAGS_WERROR := -Werror -Wno-error=deprecated
117gb_CXXFLAGS_WERROR := -Werror -Wno-error=deprecated
118endif
119
120gb_LinkTarget_EXCEPTIONFLAGS := \
121	-DEXCEPTIONS_ON \
122	-fexceptions
123
124ifeq ($(COM),GCC)
125    gb_LinkTarget_EXCEPTIONFLAGS += -fno-enforce-eh-specs
126endif
127
128gb_LinkTarget_NOEXCEPTIONFLAGS := \
129	-DEXCEPTIONS_OFF \
130	-fno-exceptions
131
132gb_LinkTarget_LDFLAGS := \
133	-Wl,-syslibroot,$(gb_SDKDIR) \
134	$(subst -L../lib , ,$(SOLARLIB)) \
135#man ld says: obsolete	-Wl,-multiply_defined,suppress \
136
137ifeq ($(ENABLE_SYMBOLS),SMALL)
138gb_DEBUG_CFLAGS := -g1
139else
140gb_DEBUG_CFLAGS := -g3
141endif
142
143ifeq ($(gb_DEBUGLEVEL),2)
144gb_COMPILEROPTFLAGS := -O0
145gb_COMPILEROPT1FLAGS := -O0
146else
147gb_COMPILEROPTFLAGS := -O2
148gb_COMPILEROPT1FLAGS := -O1
149endif
150
151gb_COMPILERNOOPTFLAGS := -O0
152
153# Helper class
154
155gb_Helper_abbreviate_dirs_native = $(gb_Helper_abbreviate_dirs)
156
157# convert parametters filesystem root to native notation
158# does some real work only on windows, make sure not to
159# break the dummy implementations on unx*
160define gb_Helper_convert_native
161$(1)
162endef
163
164# convert parametters filesystem root to native notation
165# does some real work only on windows, make sure not to
166# break the dummy implementations on unx*
167define gb_Helper_convert_native
168$(1)
169endef
170
171
172# AsmObject class
173
174gb_AsmObject_EXT := .s
175
176define gb_AsmObject__command
177$(call gb_Output_announce,$(2),$(true),ASM,3)
178$(call gb_Helper_abbreviate_dirs,\
179	mkdir -p $(dir $(1)) && \
180	$(gb_CC) \
181		$(DEFS) \
182		$(T_CFLAGS) \
183		$(CFLAGS) \
184		-c $(3) \
185		-o $(1) \
186		-MT $(1) \
187		-I$(dir $(3)) \
188		$(INCLUDE))
189endef
190
191# CObject class
192
193define gb_CObject__command
194$(call gb_Output_announce,$(2),$(true),C  ,3)
195$(call gb_Helper_abbreviate_dirs,\
196	mkdir -p $(dir $(1)) $(dir $(4)) && \
197	$(gb_CC) \
198		$(DEFS) \
199		$(T_CFLAGS) \
200		$(CFLAGS) \
201		-c $(3) \
202		-o $(1) \
203		-MMD -MT $(1) \
204		-MF $(4) \
205		-I$(dir $(3)) \
206		$(INCLUDE))
207endef
208
209
210# CxxObject class
211
212# N.B: $(CXXFLAGS) may contain -x objective-c++, which must come before -c
213define gb_CxxObject__command
214$(call gb_Output_announce,$(2),$(true),CXX,3)
215$(call gb_Helper_abbreviate_dirs,\
216	mkdir -p $(dir $(1)) $(dir $(4)) && \
217	$(gb_CXX) \
218		$(DEFS) \
219		$(T_CXXFLAGS) \
220		$(CXXFLAGS) \
221		-c $(3) \
222		-o $(1) \
223		-MMD -MT $(1) \
224		-MF $(4) \
225		-I$(dir $(3)) \
226		$(INCLUDE_STL) $(INCLUDE))
227endef
228
229
230# ObjCObject class
231
232define gb_ObjCObject__command
233$(call gb_Output_announce,$(2),$(true),OC,3)
234$(call gb_Helper_abbreviate_dirs,\
235	mkdir -p $(dir $(1)) $(dir $(4)) && \
236	$(gb_CC) \
237		$(DEFS) \
238		$(T_OBJCFLAGS) \
239		$(OBJCFLAGS) \
240		-c $(3) \
241		-o $(1) \
242		-MMD -MT $(1) \
243		-MF $(4) \
244		-I$(dir $(3)) \
245		$(INCLUDE_STL) $(INCLUDE))
246endef
247
248
249# ObjCxxObject class
250
251define gb_ObjCxxObject__command
252$(call gb_Output_announce,$(2),$(true),OCX,3)
253$(call gb_Helper_abbreviate_dirs,\
254	mkdir -p $(dir $(1)) $(dir $(4)) && \
255	$(gb_CXX) \
256		$(DEFS) \
257		$(T_OBJCXXFLAGS) \
258		$(OBJCXXFLAGS) \
259		-c $(3) \
260		-o $(1) \
261		-MMD -MT $(1) \
262		-MF $(4) \
263		-I$(dir $(3)) \
264		$(INCLUDE_STL) $(INCLUDE))
265endef
266
267
268# LinkTarget class
269
270define gb_LinkTarget__get_rpath_for_layer
271$(patsubst $(1):%,%,$(filter $(1):%,$(gb_LinkTarget__RPATHS)))
272endef
273
274gb_LinkTarget__RPATHS := \
275	URELIB:@_______URELIB/ \
276	UREBIN: \
277	OOO:@_______OOO/ \
278	BRAND: \
279	SDKBIN: \
280	NONEBIN: \
281
282define gb_LinkTarget__get_installname
283$(if $(2),-install_name '$(2)$(1)',)
284endef
285
286gb_LinkTarget_CFLAGS := $(gb_CFLAGS) $(gb_CFLAGS_WERROR)
287gb_LinkTarget_CXXFLAGS := $(gb_CXXFLAGS) $(gb_CXXFLAGS_WERROR)
288gb_LinkTarget_OBJCFLAGS := $(gb_CFLAGS) $(gb_CFLAGS_WERROR) $(gb_OBJCFLAGS)
289gb_LinkTarget_OBJCXXFLAGS := $(gb_CXXFLAGS) $(gb_CXXFLAGS_WERROR) $(gb_OBJCXXFLAGS)
290
291gb_LinkTarget_INCLUDE := $(filter-out %/stl, $(subst -I. , ,$(SOLARINC)))
292gb_LinkTarget_INCLUDE_STL := $(filter %/stl, $(subst -I. , ,$(SOLARINC)))
293
294# FIXME framework handling very hackish
295define gb_LinkTarget__get_liblinkflags
296$(patsubst lib%.dylib,-l%,$(foreach lib,$(filter-out $(gb_Library__FRAMEWORKS),$(1)),$(call gb_Library_get_filename,$(lib)))) \
297$(addprefix -framework ,$(filter $(gb_Library__FRAMEWORKS),$(1)))
298endef
299
300define gb_LinkTarget__get_layer
301$(if $(filter Executable,$(1)),\
302	$$(call gb_Executable_get_layer,$(2)),\
303	$$(call gb_Library_get_layer,$(2)))
304endef
305
306# FIXME the DYLIB_FILE mess is only necessary because
307# solver layout is different from installation layout
308define gb_LinkTarget__command_dynamiclink
309$(call gb_Helper_abbreviate_dirs,\
310	mkdir -p $(dir $(1)) && \
311	DYLIB_FILE=`$(gb_MKTEMP)` && \
312	$(PERL) $(SOLARENV)/bin/macosx-dylib-link-list.pl \
313		$(if $(filter Executable,$(TARGETTYPE)),$(gb_Executable_TARGETTYPEFLAGS)) \
314		$(if $(filter Library,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \
315		$(subst \d,$$,$(RPATH)) \
316		$(T_LDFLAGS) \
317		$(patsubst lib%.dylib,-l%,$(foreach lib,$(LINKED_LIBS),$(call gb_Library_get_filename,$(lib)))) \
318		$(patsubst %,-l%,$(EXTERNAL_LIBS)) \
319		> $${DYLIB_FILE} && \
320	$(gb_CXX) \
321		$(if $(filter Executable,$(TARGETTYPE)),$(gb_Executable_TARGETTYPEFLAGS)) \
322		$(if $(filter Library,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \
323		$(subst \d,$$,$(RPATH)) \
324		$(T_LDFLAGS) $(gb_macos_LDFLAGS) \
325		$(call gb_LinkTarget__get_liblinkflags,$(LINKED_LIBS)) \
326		$(foreach object,$(ASMOBJECTS),$(call gb_AsmObject_get_target,$(object))) \
327		$(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \
328		$(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \
329		$(foreach object,$(OBJCOBJECTS),$(call gb_ObjCObject_get_target,$(object))) \
330		$(foreach object,$(OBJCXXOBJECTS),$(call gb_ObjCxxObject_get_target,$(object))) \
331		$(foreach object,$(GENCOBJECTS),$(call gb_GenCObject_get_target,$(object))) \
332		$(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \
333		$(foreach lib,$(LINKED_STATIC_LIBS),$(call gb_StaticLibrary_get_target,$(lib))) \
334		$(LIBS) \
335		-o $(1) \
336		`cat $${DYLIB_FILE}` && \
337	$(if $(filter Library,$(TARGETTYPE)),\
338		$(PERL) $(SOLARENV)/bin/macosx-change-install-names.pl Library $(LAYER) $(1) && \
339		$(if $(filter %.dylib,$(1)),ln -shf $(1) $(patsubst %.dylib,%.jnilib,$(1)) &&)) \
340	rm -f $${DYLIB_FILE})
341endef
342
343# parameters: 1-linktarget 2-cobjects 3-cxxobjects
344define gb_LinkTarget__command_staticlink
345$(call gb_Helper_abbreviate_dirs,\
346	mkdir -p $(dir $(1)) && \
347	$(gb_AR) -rsu $(1) \
348		$(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \
349		$(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \
350		$(foreach object,$(OBJCOBJECTS),$(call gb_ObjCObject_get_target,$(object))) \
351		$(foreach object,$(OBJCXXOBJECTS),$(call gb_ObjCxxObject_get_target,$(object))) \
352		$(foreach object,$(GENCOBJECTS),$(call gb_GenCObject_get_target,$(object))) \
353		$(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \
354		2> /dev/null)
355endef
356
357define gb_LinkTarget__command
358$(call gb_Output_announce,$(2),$(true),LNK,4)
359$(if $(filter Library GoogleTest Executable,$(TARGETTYPE)),$(call gb_LinkTarget__command_dynamiclink,$(1),$(2)))
360$(if $(filter StaticLibrary,$(TARGETTYPE)),$(call gb_LinkTarget__command_staticlink,$(1)))
361endef
362
363
364# Library class
365
366gb_Library_DEFS :=
367gb_Library_TARGETTYPEFLAGS := -dynamiclib -single_module
368gb_Library_SYSPRE := lib
369gb_Library_UNOVERPRE := $(gb_Library_SYSPRE)uno_
370gb_Library_PLAINEXT := .dylib
371gb_Library_RTEXT := $(COMID)$(gb_Library_PLAINEXT)
372
373gb_Library_OOOEXT := $(gb_Library_PLAINEXT)
374gb_Library_UNOEXT := .uno$(gb_Library_PLAINEXT)
375
376gb_Library__FRAMEWORKS := \
377	Cocoa \
378
379gb_Library_PLAINLIBS_NONE += \
380	Cocoa \
381	objc \
382	m \
383	pthread
384
385gb_Library_FILENAMES := \
386	$(foreach lib,$(gb_Library_OOOLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_OOOEXT)) \
387	$(foreach lib,$(gb_Library_PLAINLIBS_NONE),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_PLAINEXT)) \
388	$(foreach lib,$(gb_Library_PLAINLIBS_URE),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_PLAINEXT)) \
389	$(foreach lib,$(gb_Library_PLAINLIBS_OOO),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_PLAINEXT)) \
390	$(foreach lib,$(gb_Library_RTLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_RTEXT)) \
391	$(foreach lib,$(gb_Library_RTVERLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_RTEXT)) \
392	$(foreach lib,$(gb_Library_STLLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_STLEXT)) \
393	$(foreach lib,$(gb_Library_UNOLIBS_URE),$(lib):$(lib)$(gb_Library_UNOEXT)) \
394	$(foreach lib,$(gb_Library_UNOLIBS_OOO),$(lib):$(lib)$(gb_Library_UNOEXT)) \
395	$(foreach lib,$(gb_Library_UNOVERLIBS),$(lib):$(gb_Library_UNOVERPRE)$(lib)$(gb_Library_PLAINEXT)) \
396
397
398gb_Library_LAYER := \
399	$(foreach lib,$(gb_Library_OOOLIBS),$(lib):OOO) \
400	$(foreach lib,$(gb_Library_PLAINLIBS_URE),$(lib):URELIB) \
401	$(foreach lib,$(gb_Library_PLAINLIBS_OOO),$(lib):OOO) \
402	$(foreach lib,$(gb_Library_RTLIBS),$(lib):OOO) \
403	$(foreach lib,$(gb_Library_RTVERLIBS),$(lib):URELIB) \
404	$(foreach lib,$(gb_Library_STLLIBS),$(lib):URELIB) \
405	$(foreach lib,$(gb_Library_UNOLIBS_URE),$(lib):URELIB) \
406	$(foreach lib,$(gb_Library_UNOLIBS_OOO),$(lib):OOO) \
407	$(foreach lib,$(gb_Library_UNOVERLIBS),$(lib):URELIB) \
408
409define gb_Library_get_rpath
410$(call gb_LinkTarget__get_installname,$(call gb_Library_get_filename,$(1)),$(call gb_LinkTarget__get_rpath_for_layer,$(call gb_Library_get_layer,$(1))))
411endef
412
413define gb_Library_Library_platform
414$(call gb_LinkTarget_get_target,$(2)) : RPATH := $(call gb_Library_get_rpath,$(1))
415$(call gb_LinkTarget_get_target,$(2)) : LAYER := $(call gb_Library_get_layer,$(1))
416$(call gb_Library_get_target,$(1)) \
417$(call gb_Library_get_clean_target,$(1)) : AUXTARGETS += \
418	$(patsubst %.dylib,%.jnilib,$(call gb_Library_get_target,$(1)))
419
420endef
421
422
423# StaticLibrary class
424
425gb_StaticLibrary_DEFS :=
426gb_StaticLibrary_SYSPRE := lib
427gb_StaticLibrary_PLAINEXT := .a
428gb_StaticLibrary_JPEGEXT := lib$(gb_StaticLibrary_PLAINEXT)
429
430gb_StaticLibrary_FILENAMES := \
431	$(foreach lib,$(gb_StaticLibrary_JPEGLIBS),$(lib):$(gb_StaticLibrary_SYSPRE)$(lib)$(gb_StaticLibrary_JPEGEXT)) \
432	$(foreach lib,$(gb_StaticLibrary_PLAINLIBS),$(lib):$(gb_StaticLibrary_SYSPRE)$(lib)$(gb_StaticLibrary_PLAINEXT)) \
433
434gb_StaticLibrary_StaticLibrary_platform =
435
436
437# Executable class
438
439gb_Executable_EXT :=
440gb_Executable_TARGETTYPEFLAGS := -bind_at_load
441
442gb_InBuild_Library_Path := $(OUTDIR)/lib
443gb_Augment_Library_Path := DYLD_LIBRARY_PATH=$(gb_InBuild_Library_Path)
444
445gb_Executable_LAYER := \
446	$(foreach exe,$(gb_Executable_UREBIN),$(exe):UREBIN) \
447	$(foreach exe,$(gb_Executable_SDK),$(exe):SDKBIN) \
448	$(foreach exe,$(gb_Executable_OOO),$(exe):OOO) \
449	$(foreach exe,$(gb_Executable_BRAND),$(exe):BRAND) \
450	$(foreach exe,$(gb_Executable_NONE),$(exe):NONEBIN) \
451
452
453define gb_Executable_get_rpath
454$(call gb_LinkTarget__get_installname,$(1),$(call gb_LinkTarget__get_rpath_for_layer,$(call gb_Executable_get_layer,$(1))))
455endef
456
457define gb_Executable_Executable_platform
458$(call gb_LinkTarget_get_target,$(2)) : RPATH := $(call gb_Executable_get_rpath,$(1))
459$(call gb_LinkTarget_get_target,$(2)) : LAYER := $(call gb_Executable_get_layer,$(1))
460
461endef
462
463
464# GoogleTest class
465
466gb_GoogleTest_GTESTPRECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib
467gb_GoogleTest_get_filename = $(1)$(gb_Executable_EXT)
468
469define gb_GoogleTest_GoogleTest_platform
470$(call gb_LinkTarget_get_target,$(2)) : RPATH :=
471endef
472
473# JunitTest class
474
475define gb_JunitTest_JunitTest_platform
476$(call gb_JunitTest_get_target,$(1)) : DEFS := \
477	-Dorg.openoffice.test.arg.soffice="$$$${OOO_TEST_SOFFICE:-path:$(SRCDIR)/instsetoo_native/$(INPATH)/Apache_OpenOffice/installed/install/en-US/openoffice4/program/soffice}" \
478    -Dorg.openoffice.test.arg.env=DYLD_LIBRARY_PATH \
479    -Dorg.openoffice.test.arg.user=file://$(call gb_JunitTest_get_userdir,$(1)) \
480
481endef
482
483
484# Ant class
485
486define gb_Ant_add_dependencies
487__ant_out:=$(shell $(gb_Ant_ANTCOMMAND) -v -Ddependencies.outfile=$(WORKDIR)/Ant/$(1)/deps -f $(2) dependencies)
488$$(eval $(foreach dep,$(shell cat $(WORKDIR)/Ant/$(1)/deps),$$(call gb_Ant_add_dependency,$(call gb_Ant_get_target,$(1)),$(dep))))
489
490endef
491
492
493# SdiTarget class
494
495gb_SdiTarget_SVIDLPRECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib
496
497# SrsPartMergeTarget
498
499gb_SrsPartMergeTarget_TRANSEXPRECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib
500
501# SrsPartTarget class
502
503gb_SrsPartTarget_RSCTARGET := $(OUTDIR)/bin/rsc
504gb_SrsPartTarget_RSCCOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_SrsPartTarget_RSCTARGET)
505
506define gb_SrsPartTarget__command_dep
507$(call gb_Helper_abbreviate_dirs,\
508	$(gb_GCCP) \
509		-MM -MT $(call gb_SrsPartTarget_get_target,$(1)) \
510		$(INCLUDE) \
511		$(DEFS) \
512		-c -x c++-header $(2) \
513		-o $(call gb_SrsPartTarget_get_dep_target,$(1)))
514endef
515
516
517# ComponentTarget
518
519gb_XSLTPROCPRECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib
520gb_Library_COMPONENTPREFIXES := \
521    OOO:vnd.sun.star.expand:\dOOO_BASE_DIR/program/ \
522    URELIB:vnd.sun.star.expand:\dURE_INTERNAL_LIB_DIR/ \
523    NONE:vnd.sun.star.expand:\dOOO_INBUILD_SHAREDLIB_DIR/ \
524
525# UnoApiTarget
526
527gb_UnoApiTarget_IDLCTARGET := $(OUTDIR)/bin/idlc
528gb_UnoApiTarget_IDLCCOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_IDLCTARGET)
529gb_UnoApiTarget_REGMERGETARGET := $(OUTDIR)/bin/regmerge
530gb_UnoApiTarget_REGMERGECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_REGMERGETARGET)
531gb_UnoApiTarget_REGCOMPARETARGET := $(OUTDIR)/bin/regcompare
532gb_UnoApiTarget_REGCOMPARECOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_REGCOMPARETARGET)
533gb_UnoApiTarget_CPPUMAKERTARGET := $(OUTDIR)/bin/cppumaker
534gb_UnoApiTarget_CPPUMAKERCOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_CPPUMAKERTARGET)
535gb_UnoApiTarget_REGVIEWTARGET := $(OUTDIR)/bin/regview
536gb_UnoApiTarget_REGVIEWCOMMAND := DYLD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_REGVIEWTARGET)
537
538
539# vim: set noet sw=4 ts=4:
540