xref: /aoo42x/main/solenv/gbuild/platform/freebsd.mk (revision 52d905a6)
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
22GUI := UNX
23
24# BSD mktemp -t expects a prefix, not a pattern
25gb_MKTEMP ?= /usr/bin/mktemp -t gbuild.
26
27gb_CC := cc
28gb_CXX := c++
29gb_GCCP := cc
30gb_AR := ar
31gb_AWK := awk
32gb_CLASSPATHSEP := :
33
34# normalize setsolar and configure env.
35ifeq ($(CPU),X)
36CPUNAME := X86_64
37endif
38
39ifeq ($(CPU),P)
40CPUNAME := POWERPC64
41endif
42
43# use CC/CXX if they are nondefaults
44ifneq ($(origin CC),default)
45gb_CC := $(CC)
46gb_GCCP := $(CC)
47endif
48ifneq ($(origin CXX),default)
49gb_CXX := $(CXX)
50endif
51
52gb_OSDEFS := \
53	-D$(OS) \
54	-D_PTHREADS \
55	-DUNIX \
56	-DUNX \
57	$(PTHREAD_CFLAGS) \
58
59gb_COMPILERDEFS := \
60	-D$(COM) \
61	-DHAVE_GCC_VISIBILITY_FEATURE \
62	-DCPPU_ENV=$(COMNAME) \
63
64gb_CPUDEFS := -D$(ALIGN) -D$(CPUNAME)
65ifeq ($(CPUNAME),INTEL)
66gb_CPUDEFS += -DX86
67endif
68
69gb_CFLAGS := \
70	-Wall \
71	-Wendif-labels \
72	-Wextra \
73	-Wshadow \
74	-fPIC \
75	-fmessage-length=0 \
76	-fno-common \
77	-fno-strict-aliasing \
78	-fvisibility=hidden \
79	-pipe \
80
81gb_CXXFLAGS := \
82	-Wall \
83	-Wendif-labels \
84	-Wextra \
85	-Wno-ctor-dtor-privacy \
86	-Wno-non-virtual-dtor \
87	-Wshadow \
88	-fPIC \
89	-fmessage-length=0 \
90	-fno-common \
91	-fno-strict-aliasing \
92	-fno-use-cxa-atexit \
93	-fvisibility-inlines-hidden \
94	-fvisibility=hidden \
95	-std=gnu++98 \
96	-pipe
97ifeq ($(COM),CLANG)
98gb_CXXFLAGS += -DHAVE_STL_INCLUDE_PATH
99else
100gb_CXXFLAGS += -DBOOST_TR1_DISABLE_INCLUDE_NEXT -DBOOST_TR1_GCC_INCLUDE_PATH=c++
101endif
102
103ifneq ($(EXTERNAL_WARNINGS_NOT_ERRORS),TRUE)
104gb_CFLAGS_WERROR := -Werror
105gb_CXXFLAGS_WERROR := -Werror
106endif
107
108ifneq ($(strip $(SYSBASE)),)
109gb_CXXFLAGS += --sysroot=$(SYSBASE)
110gb_CFLAGS += --sysroot=$(SYSBASE)
111gb_LinkTarget_LDFLAGS := -Wl,--sysroot=$(SYSBASE)
112endif
113gb_LinkTarget_EXCEPTIONFLAGS := \
114	-DEXCEPTIONS_ON \
115	-fexceptions
116ifeq ($(COM),GCC)
117gb_LinkTarget_EXCEPTIONFLAGS +=  -fno-enforce-eh-specs
118endif
119
120gb_LinkTarget_NOEXCEPTIONFLAGS := \
121	-DEXCEPTIONS_OFF \
122	-fno-exceptions \
123
124gb_LinkTarget_LDFLAGS += \
125	-Wl,-rpath-link,$(SYSBASE)/lib:$(SYSBASE)/usr/lib \
126	-Wl,-z,combreloc \
127	-Wl,-z,defs \
128	$(subst -L../lib , ,$(SOLARLIB)) \
129	${FBSD_GCC_RPATH} \
130	 \
131
132ifeq ($(HAVE_LD_HASH_STYLE),TRUE)
133gb_LinkTarget_LDFLAGS += \
134	-Wl,--hash-style=both \
135
136endif
137
138ifneq ($(HAVE_LD_BSYMBOLIC_FUNCTIONS),)
139gb_LinkTarget_LDFLAGS += \
140	-Wl,--dynamic-list-cpp-new \
141	-Wl,--dynamic-list-cpp-typeinfo \
142	-Wl,-Bsymbolic-functions \
143
144endif
145
146ifneq ($(filter $(CPUNAME),INTEL X86_64),)
147gb_CFLAGS += -fstack-protector
148gb_CXXFLAGS += -fstack-protector
149gb_LinkTarget_LDFLAGS += -fstack-protector
150endif
151
152ifeq ($(gb_DEBUGLEVEL),2)
153gb_COMPILEROPTFLAGS := -O0
154gb_COMPILEROPT1FLAGS := -O0
155else
156# Clang versions 3.6.x and 3.7.x generate bad DWARF CFI for stack unwinding
157# on 32-bit Intel when compiling with -Os optimization.  See
158# <https://llvm.org/bugs/show_bug.cgi?id=24792>
159# Work around this by using "-O2 -fno-unroll-loops" instead.
160ifeq ($(COM)$(CPUNAME)$(shell expr $(CCNUMVER) '>=' 000300060000 '&' $(CCNUMVER) '<' 000300080000),CLANGINTEL1)
161gb_COMPILEROPTFLAGS := -O2 -fno-unroll-loops
162else
163gb_COMPILEROPTFLAGS := -Os
164endif
165gb_COMPILEROPT1FLAGS := -O1
166endif
167
168gb_COMPILERNOOPTFLAGS := -O0
169
170# Helper class
171
172gb_Helper_abbreviate_dirs_native = $(gb_Helper_abbreviate_dirs)
173
174# convert parametters filesystem root to native notation
175# does some real work only on windows, make sure not to
176# break the dummy implementations on unx*
177define gb_Helper_convert_native
178$(1)
179endef
180
181# AsmObject class
182
183gb_AsmObject_EXT := .s
184
185define gb_AsmObject__command
186$(call gb_Output_announce,$(2),$(true),ASM,3)
187$(call gb_Helper_abbreviate_dirs,\
188	mkdir -p $(dir $(1)) && \
189	$(gb_CC) \
190		$(DEFS) \
191		$(T_CFLAGS) \
192		$(CFLAGS) \
193		-c $(3) \
194		-o $(1) \
195		-MT $(1) \
196		-I$(dir $(3)) \
197		$(INCLUDE))
198endef
199
200# CObject class
201
202# $(call gb_CObject__command,object,relative-source,source,dep-file)
203define gb_CObject__command
204$(call gb_Output_announce,$(2),$(true),C  ,3)
205$(call gb_Helper_abbreviate_dirs,\
206	mkdir -p $(dir $(1)) $(dir $(4)) && \
207	$(gb_CC) \
208		$(DEFS) \
209		$(T_CFLAGS) \
210		$(CFLAGS) \
211		-c $(3) \
212		-o $(1) \
213		-MMD -MT $(1) \
214		-MF $(4) \
215		-I$(dir $(3)) \
216		$(INCLUDE))
217endef
218
219# convert parametters filesystem root to native notation
220# does some real work only on windows, make sure not to
221# break the dummy implementations on unx*
222define gb_Helper_convert_native
223$(1)
224endef
225
226# CxxObject class
227
228# $(call gb_CxxObject__command,object,relative-source,source,dep-file)
229define gb_CxxObject__command
230$(call gb_Output_announce,$(2),$(true),CXX,3)
231$(call gb_Helper_abbreviate_dirs,\
232	mkdir -p $(dir $(1)) $(dir $(4)) && \
233	$(gb_CXX) \
234		$(DEFS) \
235		$(T_CXXFLAGS) \
236		$(CXXFLAGS) \
237		-c $(3) \
238		-o $(1) \
239		-MMD -MT $(1) \
240		-MF $(4) \
241		-I$(dir $(3)) \
242		$(INCLUDE_STL) $(INCLUDE))
243endef
244
245
246# LinkTarget class
247
248define gb_LinkTarget__get_rpath_for_layer
249$(patsubst $(1):%,%,$(filter $(1):%,$(gb_LinkTarget__RPATHS)))
250endef
251
252gb_LinkTarget__RPATHS := \
253	URELIB:\dORIGIN \
254	UREBIN:\dORIGIN/../lib:\dORIGIN \
255	OOO:\dORIGIN:\dORIGIN/../ure-link/lib \
256	BRAND:\dORIGIN:\dORIGIN/../basis-link/program:\dORIGIN/../basis-link/ure-link/lib \
257	SDKBIN:\dORIGIN/../../ure-link/lib \
258	NONEBIN:\dORIGIN/../lib:\dORIGIN \
259
260gb_LinkTarget_CFLAGS := $(gb_CFLAGS) $(gb_CFLAGS_WERROR)
261gb_LinkTarget_CXXFLAGS := $(gb_CXXFLAGS) $(gb_CXXFLAGS_WERROR)
262
263ifeq ($(gb_DEBUGLEVEL),0)
264gb_LinkTarget_LDFLAGS += -Wl,-O1
265endif
266
267ifeq ($(COM),CLANG)
268ifeq ($(ENABLE_SYMBOLS),SMALL)
269gb_DEBUG_CFLAGS := -ggdb1 -fno-inline
270else
271gb_DEBUG_CFLAGS := -ggdb3 -fno-inline
272endif
273else
274ifeq ($(ENABLE_SYMBOLS),SMALL)
275gb_DEBUG_CFLAGS := -ggdb1 -finline-limit=0 -fno-inline -fno-default-inline
276else
277gb_DEBUG_CFLAGS := -ggdb3 -finline-limit=0 -fno-inline -fno-default-inline
278endif
279endif
280
281gb_LinkTarget_INCLUDE := $(filter-out %/stl, $(subst -I. , ,$(SOLARINC)))
282gb_LinkTarget_INCLUDE_STL := $(filter %/stl, $(subst -I. , ,$(SOLARINC)))
283
284define gb_LinkTarget__command_dynamiclink
285$(call gb_Helper_abbreviate_dirs,\
286	mkdir -p $(dir $(1)) && \
287	$(gb_CXX) \
288		$(if $(filter Library,$(TARGETTYPE)),$(gb_Library_TARGETTYPEFLAGS)) \
289		$(if $(VERSIONMAP),$(gb_Library_VERSIONMAPFLAG) $(VERSIONMAP)) \
290		$(if $(call gb_Library_is_udk_versioned,$(1)),-Wl$(COMMA)-h$(notdir $(1)).$(gb_UDK_MAJOR)) \
291		$(subst \d,$$,$(RPATH)) \
292		$(T_LDFLAGS) \
293		$(foreach object,$(ASMOBJECTS),$(call gb_AsmObject_get_target,$(object))) \
294		$(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \
295		$(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \
296		$(foreach object,$(GENCOBJECTS),$(call gb_GenCObject_get_target,$(object))) \
297		$(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \
298		-Wl$(COMMA)--start-group $(foreach lib,$(LINKED_STATIC_LIBS),$(call gb_StaticLibrary_get_target,$(lib))) -Wl$(COMMA)--end-group \
299		$(patsubst lib%.so,-l%,$(foreach lib,$(LINKED_LIBS),$(call gb_Library_get_filename,$(lib)))) \
300		$(patsubst %,-l%,$(EXTERNAL_LIBS)) \
301		$(LIBS) \
302		-o $(if $(call gb_Library_is_udk_versioned,$(1)),$(1).$(gb_UDK_MAJOR),$(1)))
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) && ln -s $(notdir $(1)).$(gb_UDK_MAJOR) $(1)))
309endef
310
311define gb_LinkTarget__command_staticlink
312$(call gb_Helper_abbreviate_dirs,\
313	mkdir -p $(dir $(1)) && \
314	$(gb_AR) -rsu $(1) \
315		$(foreach object,$(COBJECTS),$(call gb_CObject_get_target,$(object))) \
316		$(foreach object,$(CXXOBJECTS),$(call gb_CxxObject_get_target,$(object))) \
317		$(foreach object,$(GENCOBJECTS),$(call gb_GenCObject_get_target,$(object))) \
318		$(foreach object,$(GENCXXOBJECTS),$(call gb_GenCxxObject_get_target,$(object))) \
319		2> /dev/null)
320endef
321
322define gb_LinkTarget__command
323$(call gb_Output_announce,$(2),$(true),LNK,4)
324$(if $(filter Library GoogleTest Executable,$(TARGETTYPE)),$(call gb_LinkTarget__command_dynamiclink,$(1)))
325$(if $(filter Library,$(TARGETTYPE)),$(call gb_LinkTarget__command_symlink_udk_versioned_library,$(1)))
326$(if $(filter StaticLibrary,$(TARGETTYPE)),$(call gb_LinkTarget__command_staticlink,$(1)))
327endef
328
329
330# Library class
331
332gb_Library_DEFS :=
333gb_Library_TARGETTYPEFLAGS := -shared -Wl,-z,noexecstack
334gb_Library_SYSPRE := lib
335gb_Library_UNOVERPRE := $(gb_Library_SYSPRE)uno_
336gb_Library_PLAINEXT := .so
337gb_Library_RTEXT := gcc3$(gb_Library_PLAINEXT)
338ifeq ($(gb_PRODUCT),$(true))
339gb_Library_STLEXT := port_gcc$(gb_Library_PLAINEXT)
340else
341gb_Library_STLEXT := port_gcc_stldebug$(gb_Library_PLAINEXT)
342endif
343gb_Library_VERSIONMAPFLAG := -Wl,--version-script
344
345ifeq ($(CPUNAME),X86_64)
346gb_Library_OOOEXT := $(gb_Library_PLAINEXT)
347gb_Library_UNOEXT := .uno$(gb_Library_PLAINEXT)
348else
349gb_Library_OOOEXT := $(gb_Library_PLAINEXT)
350gb_Library_UNOEXT := .uno$(gb_Library_PLAINEXT)
351endif
352
353gb_Library_PLAINLIBS_NONE += \
354	fontconfig \
355	Xrender \
356	dl \
357	freetype \
358	m \
359	pthread \
360	X11 \
361	Xext \
362	SM \
363	ICE
364
365gb_Library_FILENAMES := \
366	$(foreach lib,$(gb_Library_OOOLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_OOOEXT)) \
367	$(foreach lib,$(gb_Library_PLAINLIBS_NONE),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_PLAINEXT)) \
368	$(foreach lib,$(gb_Library_PLAINLIBS_URE),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_PLAINEXT)) \
369	$(foreach lib,$(gb_Library_PLAINLIBS_OOO),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_PLAINEXT)) \
370	$(foreach lib,$(gb_Library_RTLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_RTEXT)) \
371	$(foreach lib,$(gb_Library_RTVERLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_RTEXT)) \
372	$(foreach lib,$(gb_Library_STLLIBS),$(lib):$(gb_Library_SYSPRE)$(lib)$(gb_Library_STLEXT)) \
373	$(foreach lib,$(gb_Library_UNOLIBS_URE),$(lib):$(lib)$(gb_Library_UNOEXT)) \
374	$(foreach lib,$(gb_Library_UNOLIBS_OOO),$(lib):$(lib)$(gb_Library_UNOEXT)) \
375	$(foreach lib,$(gb_Library_UNOVERLIBS),$(lib):$(gb_Library_UNOVERPRE)$(lib)$(gb_Library_PLAINEXT)) \
376
377
378gb_Library_LAYER := \
379	$(foreach lib,$(gb_Library_OOOLIBS),$(lib):OOO) \
380	$(foreach lib,$(gb_Library_PLAINLIBS_URE),$(lib):URELIB) \
381	$(foreach lib,$(gb_Library_PLAINLIBS_OOO),$(lib):OOO) \
382	$(foreach lib,$(gb_Library_RTLIBS),$(lib):OOO) \
383	$(foreach lib,$(gb_Library_RTVERLIBS),$(lib):URELIB) \
384	$(foreach lib,$(gb_Library_STLLIBS),$(lib):URELIB) \
385	$(foreach lib,$(gb_Library_UNOLIBS_URE),$(lib):URELIB) \
386	$(foreach lib,$(gb_Library_UNOLIBS_OOO),$(lib):OOO) \
387	$(foreach lib,$(gb_Library_UNOVERLIBS),$(lib):URELIB) \
388
389define gb_Library_get_rpath
390-Wl,-z,origin '-Wl,-rpath,$(call gb_LinkTarget__get_rpath_for_layer,$(call gb_Library_get_layer,$(1)))' \
391'-Wl,-rpath-link,$(gb_Library_OUTDIRLOCATION)'
392endef
393
394define gb_Library_Library_platform
395$(call gb_LinkTarget_get_target,$(2)) : RPATH := $(call gb_Library_get_rpath,$(1))
396
397ifneq (,$(call gb_Library_is_udk_versioned,$(call gb_Library_get_target,$(1))))
398$(call gb_Library_get_target,$(1)) \
399$(call gb_Library_get_clean_target,$(1)) : AUXTARGETS +=  \
400	$(call gb_Library_get_target,$(1)).$(gb_UDK_MAJOR)
401
402endif
403endef
404
405
406# StaticLibrary class
407
408gb_StaticLibrary_DEFS :=
409gb_StaticLibrary_SYSPRE := lib
410gb_StaticLibrary_PLAINEXT := .a
411gb_StaticLibrary_JPEGEXT := lib$(gb_StaticLibrary_PLAINEXT)
412
413gb_StaticLibrary_FILENAMES := \
414	$(foreach lib,$(gb_StaticLibrary_JPEGLIBS),$(lib):$(gb_StaticLibrary_SYSPRE)$(lib)$(gb_StaticLibrary_JPEGEXT)) \
415	$(foreach lib,$(gb_StaticLibrary_PLAINLIBS),$(lib):$(gb_StaticLibrary_SYSPRE)$(lib)$(gb_StaticLibrary_PLAINEXT)) \
416
417gb_StaticLibrary_StaticLibrary_platform =
418
419
420# Executable class
421
422gb_Executable_EXT :=
423
424gb_InBuild_Library_Path := $(OUTDIR)/lib
425gb_Augment_Library_Path := LD_LIBRARY_PATH=$(gb_InBuild_Library_Path)
426
427gb_Executable_LAYER := \
428	$(foreach exe,$(gb_Executable_UREBIN),$(exe):UREBIN) \
429	$(foreach exe,$(gb_Executable_SDK),$(exe):SDKBIN) \
430	$(foreach exe,$(gb_Executable_OOO),$(exe):OOO) \
431	$(foreach exe,$(gb_Executable_BRAND),$(exe):BRAND) \
432	$(foreach exe,$(gb_Executable_NONE),$(exe):NONEBIN) \
433
434
435define gb_Executable_get_rpath
436'-Wl,-rpath,$(call gb_LinkTarget__get_rpath_for_layer,$(call gb_Executable_get_layer,$(1)))' \
437-Wl,-rpath-link,$(gb_Library_OUTDIRLOCATION)
438endef
439
440define gb_Executable_Executable_platform
441$(call gb_LinkTarget_get_target,$(2)) : RPATH := $(call gb_Executable_get_rpath,$(1))
442
443endef
444
445
446# GoogleTest class
447
448gb_GoogleTest_GTESTPRECOMMAND := LD_LIBRARY_PATH=$(OUTDIR)/lib
449gb_GoogleTest_get_filename = $(1)$(gb_Executable_EXT)
450
451define gb_GoogleTest_GoogleTest_platform
452$(call gb_LinkTarget_get_target,$(2)) : RPATH := -Wl,-rpath-link,$(gb_Library_OUTDIRLOCATION)
453endef
454
455# JunitTest class
456
457define gb_JunitTest_JunitTest_platform
458$(call gb_JunitTest_get_target,$(1)) : DEFS := \
459	-Dorg.openoffice.test.arg.soffice="$$$${OOO_TEST_SOFFICE:-path:$(SRCDIR)/instsetoo_native/$(INPATH)/Apache_OpenOffice/installed/install/en-US/openoffice4/program/soffice}" \
460    -Dorg.openoffice.test.arg.env=LD_LIBRARY_PATH \
461    -Dorg.openoffice.test.arg.user=file://$(call gb_JunitTest_get_userdir,$(1)) \
462
463endef
464
465
466# Ant class
467
468define gb_Ant_add_dependencies
469__ant_out:=$(shell $(gb_Ant_ANTCOMMAND) -v -Ddependencies.outfile=$(WORKDIR)/Ant/$(1)/deps -f $(2) dependencies)
470$$(eval $(foreach dep,$(shell cat $(WORKDIR)/Ant/$(1)/deps),$$(call gb_Ant_add_dependency,$(call gb_Ant_get_target,$(1)),$(dep))))
471
472endef
473
474
475# SdiTarget class
476
477gb_SdiTarget_SVIDLPRECOMMAND := LD_LIBRARY_PATH=$(OUTDIR)/lib
478
479# SrsPartMergeTarget
480
481gb_SrsPartMergeTarget_TRANSEXPRECOMMAND := LD_LIBRARY_PATH=$(OUTDIR)/lib
482
483# SrsPartTarget class
484
485gb_SrsPartTarget_RSCTARGET := $(OUTDIR)/bin/rsc
486gb_SrsPartTarget_RSCCOMMAND := LD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_SrsPartTarget_RSCTARGET)
487
488define gb_SrsPartTarget__command_dep
489$(call gb_Helper_abbreviate_dirs,\
490	$(gb_GCCP) \
491		-MM -MT $(call gb_SrsPartTarget_get_target,$(1)) \
492		$(INCLUDE) \
493		$(DEFS) \
494		-c -x c++-header $(2) \
495		-o $(call gb_SrsPartTarget_get_dep_target,$(1)))
496endef
497
498
499# ComponentTarget
500
501gb_XSLTPROCPRECOMMAND := LD_LIBRARY_PATH=$(OUTDIR)/lib
502gb_Library_COMPONENTPREFIXES := \
503    OOO:vnd.sun.star.expand:\dOOO_BASE_DIR/program/ \
504    URELIB:vnd.sun.star.expand:\dURE_INTERNAL_LIB_DIR/ \
505    NONE:vnd.sun.star.expand:\dOOO_INBUILD_SHAREDLIB_DIR/ \
506
507# UnoApiTarget
508
509gb_UnoApiTarget_IDLCTARGET := $(OUTDIR)/bin/idlc
510gb_UnoApiTarget_IDLCCOMMAND := LD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_IDLCTARGET)
511gb_UnoApiTarget_REGMERGETARGET := $(OUTDIR)/bin/regmerge
512gb_UnoApiTarget_REGMERGECOMMAND := LD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_REGMERGETARGET)
513gb_UnoApiTarget_REGCOMPARETARGET := $(OUTDIR)/bin/regcompare
514gb_UnoApiTarget_REGCOMPARECOMMAND := LD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_REGCOMPARETARGET)
515gb_UnoApiTarget_CPPUMAKERTARGET := $(OUTDIR)/bin/cppumaker
516gb_UnoApiTarget_CPPUMAKERCOMMAND := LD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_CPPUMAKERTARGET)
517gb_UnoApiTarget_REGVIEWTARGET := $(OUTDIR)/bin/regview
518gb_UnoApiTarget_REGVIEWCOMMAND := LD_LIBRARY_PATH=$(OUTDIR)/lib SOLARBINDIR=$(OUTDIR)/bin $(gb_UnoApiTarget_REGVIEWTARGET)
519
520# vim: set noet sw=4 ts=4:
521