Rename o3tl::underlyingEnumValue to o3tl::to_underlying to match C++23
[LibreOffice.git] / Makefile.in
blobd74dba59344c4bb6125cc7f1301d0e58d74788ac
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 gb_Top_MODULE_CHECK_TARGETS := slowcheck unitcheck subsequentcheck perfcheck uicheck screenshot
12 .PHONY : check-if-root bootstrap gbuild build build-non-l10n-only build-l10n-only check clean clean-build clean-host test-install distclean distro-pack-install docs download etags fetch get-submodules id install install-gdb-printers install-strip tags debugrun help showmodules translations packageinfo internal.clean $(gb_Top_MODULE_CHECK_TARGETS)
14 MAKECMDGOALS?=build
15 build_goal:=$(if $(filter build build-nocheck uicheck,$(MAKECMDGOALS)),build)\
16 $(if $(filter check,$(MAKECMDGOALS)),unitcheck slowcheck subsequentcheck $(if $(filter Linux, $(shell uname)), uicheck))\
17 $(filter build-l10n-only build-non-l10n-only debugrun help showmodules translations $(gb_Top_MODULE_CHECK_TARGETS) check packageinfo gbuildtojson,$(MAKECMDGOALS))
19 SRCDIR := @SRC_ROOT@
20 BUILDDIR := @BUILDDIR@
21 COMPILER_PLUGINS := @COMPILER_PLUGINS@
22 GIT_BUILD := $(if $(wildcard $(SRCDIR)/.git),T)
24 # Run autogen.sh if needed and force make to restart itself.
25 # ... but there are several cases where we do not want to run
26 # autogen.sh:
27 # 1. if we are building from tarballs, not git checkout (I do not
28 # think packagers would ever want that. I certainly do not.)
29 # 2. if we are making help, clean or distclean, because they do not
30 # need updated configuration
31 ifeq (,$(MAKE_RESTARTS)$(if $(GIT_BUILD),,T)$(if $(filter-out help showmodules clean distclean,$(MAKECMDGOALS)),,T))
33 # note: this must touch both Makefile and $(BUILDDIR)/Makefile, because make
34 # may be invoked using either of these paths, and it will restart itself only
35 # if the updated target is exactly the same path as the Makefile it is using
36 .PHONY : force-restart
37 Makefile $(BUILDDIR)/Makefile: $(BUILDDIR)/config_host.mk $(BUILDDIR)/config_host_lang.mk force-restart
38 @touch $@
40 # run configure in an environment not polluted by config_host.mk
41 $(BUILDDIR)/config_host.mk : $(wildcard \
42 $(SRCDIR)/config_host.mk.in \
43 $(SRCDIR)/config_host_lang.mk.in \
44 $(SRCDIR)/Makefile.in \
45 $(SRCDIR)/instsetoo_native/util/openoffice.lst.in \
46 $(SRCDIR)/configure.ac \
47 $(SRCDIR)/config_host/*.h.in \
48 $(SRCDIR)/download.lst \
49 $(BUILDDIR)/autogen.input \
50 $(BUILDDIR)/autogen.lastrun \
51 $(BUILDDIR)/autogen.sh \
52 ) \
53 $(shell . $(SRCDIR)/bin/get_config_variables JAVA_HOME && \
54 if test -n "$${JAVA_HOME}" -a ! -d "$${JAVA_HOME}/bin"; then echo force-restart; fi)
55 sh -c $(SRCDIR)/autogen.sh
57 else # MAKE_RESTARTS
59 .DEFAULT_GOAL := build
61 # Nested test is to check if the systemd-detect-virt command doesn't exist or it reports we're not
62 # in a container:
63 check-if-root:
64 @if test ! `uname` = 'Haiku' -a `id -u` = 0; then \
65 if test ! -x "$$(command -v systemd-detect-virt)" || ! systemd-detect-virt -c -q; then \
66 echo; \
67 echo 'Building LibreOffice as root is a very bad idea, use a regular user.'; \
68 echo; \
69 exit 1; \
70 fi \
73 gb_Side ?= host
75 include $(BUILDDIR)/config_$(gb_Side).mk
77 export GMAKE_OPTIONS?=-r$(if $(verbose),,s)$(value $(MAKEFLAGS))
79 PARALLELISM_OPTION := $(if $(filter-out 0,$(PARALLELISM)),-j $(PARALLELISM),)
81 IWYU_OPTION := $(if $(IWYU_PATH),-k CC=$(IWYU_PATH) CXX=$(IWYU_PATH),)
83 # don't want to have a dependency to iwyudummy.generate because it's
84 # useful to manually edit the generated StaticLibrary_iwyudummy.mk
85 iwyudummy: bootstrap fetch
86 $(if $(wildcard $(BUILDDIR)/iwyudummy),,$(error first call "make iwyudummy.generate"))
87 cd $(BUILDDIR)/iwyudummy && $(MAKE) $(IWYU_OPTION) $(GMAKE_OPTIONS)
89 iwyudummy.generate:
90 $(SRCDIR)/bin/gen-iwyu-dummy-lib
93 # Partial Build
95 define gb_Top_GbuildModuleRules
96 .PHONY: $(1) $(1).build $(1).all $(1).check $(1).clean $(1).showdeliverables $(foreach target,$(gb_Top_MODULE_CHECK_TARGETS),$(1).$(target))
98 $(1): bootstrap fetch
99 cd $(SRCDIR)/$(2) && $$(MAKE) $(IWYU_OPTION) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS)
101 $(1).build $(1).check $(foreach target,$(gb_Top_MODULE_CHECK_TARGETS),$(1).$(target)): bootstrap fetch
102 cd $(SRCDIR)/$(2) && $$(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) $$(patsubst $(1).%,%,$$@)
104 $(1).clean $(1).showdeliverables:
105 cd $(SRCDIR)/$(2) && $$(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) $$(patsubst $(1).%,%,$$@)
107 $(1).all: bootstrap fetch
108 $$(MAKE) $(PARALLELISM_OPTION) $(IWYU_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $(WORKDIR)/Module/$(1) $(WORKDIR)/Module/check/$(1) $(WORKDIR)/Module/slowcheck/$(1)
110 endef
112 define gb_Top_GbuildModulesRules
113 $(foreach m,$(1),$(call gb_Top_GbuildModuleRules,$(notdir $(m)),$(m)))
114 endef
116 gbuild_modules := $(patsubst $(SRCDIR)/%/,%,$(dir $(wildcard $(SRCDIR)/*/Module_*.mk $(SRCDIR)/external/*/Module_*.mk)))
118 gbuild_internal_modules := $(filter-out odk external,$(patsubst $(SRCDIR)/%/,%,$(dir $(wildcard $(SRCDIR)/*/Module_*.mk))))
120 internal.clean: $(addsuffix .clean,$(gbuild_internal_modules))
123 $(eval $(call gb_Top_GbuildModulesRules,$(gbuild_modules)))
125 gbuild_TARGETS := AllLangHelp \
126 AllLangMoTarget \
127 AllLangPackage \
128 AutoInstall \
129 CliLibrary \
130 CliNativeLibrary \
131 CliUnoApi \
132 CompilerTest \
133 Configuration \
134 CppunitTest \
135 CustomTarget \
136 Dictionary \
137 Executable \
138 Extension \
139 ExtensionPackage \
140 ExtensionPackageSet \
141 ExternalPackage \
142 ExternalProject \
143 Gallery \
144 GeneratedPackage \
145 InstallModule \
146 InstallScript \
147 InternalUnoApi \
148 Jar \
149 JunitTest \
150 Library \
151 Module \
152 Package \
153 PackageSet \
154 Pagein \
155 Postprocess \
156 Pyuno \
157 PythonTest \
158 Rdb \
159 SdiTarget \
160 StaticLibrary \
161 UIConfig \
162 UITest \
163 UnoApi \
164 UnpackedTarball \
165 WinResTarget \
166 Zip \
168 # build a generic gbuild target
169 $(foreach target,$(gbuild_TARGETS),$(target)_% $(foreach module,$(gbuild_modules),$(target)_$(module)/%)) UIConfig_modules/% %.genpatch: bootstrap fetch
170 $(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $@
172 $(gbuild_TARGETS):
173 $(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $@
176 # Clean
178 clean: clean-host clean-build
180 clean-host:
181 rm -fr $(TESTINSTALLDIR)
182 rm -fr $(INSTDIR)
183 rm -fr $(WORKDIR)
185 clean-build:
186 ifneq ($(CROSS_COMPILING),)
187 rm -fr $(INSTDIR_FOR_BUILD)
188 rm -fr $(WORKDIR_FOR_BUILD)
189 ifeq ($(OS),ANDROID)
190 rm -fr $(BUILDDIR)/android/obj
191 rm -fr $(BUILDDIR)/android/jniLibs
192 rm -fr $(SRCDIR)/android/source/build
193 rm -fr $(SRCDIR)/android/source/assets
194 rm -fr $(SRCDIR)/android/source/assets_fullUI
195 rm -fr $(SRCDIR)/android/source/assets_strippedUI
196 endif
197 endif
199 include $(SRCDIR)/compilerplugins/Makefile.mk
202 # Distclean
204 distclean : clean compilerplugins-clean
205 rm -fr \
206 $(BUILDDIR)/Makefile \
207 $(BUILDDIR)/aclocal.m4 \
208 $(BUILDDIR)/autom4te.cache \
209 $(BUILDDIR)/bin/bffvalidator.sh \
210 $(BUILDDIR)/bin/odfvalidator.sh \
211 $(BUILDDIR)/bin/officeotron.sh \
212 $(BUILDDIR)/config.Build.log \
213 $(BUILDDIR)/config.Build.warn \
214 $(BUILDDIR)/config.log \
215 $(BUILDDIR)/config.status \
216 $(BUILDDIR)/config.warn \
217 $(BUILDDIR)/config_build.mk \
218 $(BUILDDIR)/config_build_lang.mk \
219 $(BUILDDIR)/config_build \
220 $(BUILDDIR)/config_host.mk \
221 $(BUILDDIR)/config_host.mk.stamp \
222 $(BUILDDIR)/config_host_lang.mk \
223 $(BUILDDIR)/config_host_lang.mk.stamp \
224 $(BUILDDIR)/config_host/*.h \
225 $(BUILDDIR)/configure \
226 $(BUILDDIR)/hardened_runtime.xcent \
227 $(BUILDDIR)/instsetoo_native/util/openoffice.lst \
228 $(BUILDDIR)/sysui/desktop/macosx/Info.plist \
229 $(BUILDDIR)/vs-code-template.code-workspace
230 $(if $(filter WNT,$(OS)),env -i PATH="$$PATH") $(FIND) $(SRCDIR)/solenv/gdb -name \*.pyc -exec rm {} \;
233 # custom command
235 cmd:
236 $(if $(verbose),echo "custom cmd" &&) ( $(cmd) )
239 # Fetch
241 ifneq ($(DO_FETCH_TARBALLS),)
242 include $(SRCDIR)/Makefile.fetch
243 fetch: download
244 fetch: get-submodules
246 ifneq (,$(wildcard $(SRCDIR)/.git))
247 get-submodules:
248 ifneq ($(foreach i,$(GIT_NEEDED_SUBMODULES),$(SRCDIR)/$(i)/.git),$(wildcard $(foreach i,$(GIT_NEEDED_SUBMODULES),$(SRCDIR)/$(i)/.git)))
249 cd $(SRCDIR) && ./g -f clone
250 endif
251 ifeq ($(shell test -d $(SRCDIR)/.git; echo $$?),0)
252 @cd $(SRCDIR) && ./g -z # make sure the git hooks are in place even if no submodules are needed
253 endif
255 else # these sources are from a tarball, so get the other source tarballs
256 gb_LO_VER := $(shell . $(SRCDIR)/sources.ver && echo $$lo_sources_ver)
257 $(if $(gb_LO_VER),,$(error Error while retrieving $$lo_sources_ver from $(SRCDIR)/sources.ver))
259 get-submodules: | download
260 ifneq ($(foreach i,$(subst helpcontent2,help,$(GIT_NEEDED_SUBMODULES)),$(SRCDIR)/src/libreoffice-$(i)-$(gb_LO_VER)),$(wildcard $(foreach i,$(subst helpcontent2,help,$(GIT_NEEDED_SUBMODULES)),$(SRCDIR)/src/libreoffice-$(i)-$(gb_LO_VER))))
261 $(foreach i,$(subst helpcontent2,help,$(GIT_NEEDED_SUBMODULES)),\
262 $(call fetch_Download_item_unchecked,http://download.documentfoundation.org/libreoffice/src/$(shell echo $(gb_LO_VER) | sed -e "s/\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/"),libreoffice-$(i)-$(gb_LO_VER).tar.xz))
263 $(SRCDIR)/bin/unpack-sources $(SRCDIR) $(foreach i,$(subst helpcontent2,help,$(GIT_NEEDED_SUBMODULES)),\
264 $(TARFILE_LOCATION)/libreoffice-$(i)-$(gb_LO_VER).tar.xz)
265 endif
267 endif
269 else
270 fetch:
271 @echo "Automatic fetching of external tarballs is disabled."
273 endif
276 # Bootstrap
278 bootstrap: check-if-root compilerplugins
281 # Build
283 # Note: this will pipe through all gbuild targets to ... gbuild
284 # with some translations like "check"->"unitcheck subsequentcheck uicheck" for historic reasons
286 build: bootstrap fetch $(if $(CROSS_COMPILING),cross-toolset,install-gdb-printers) \
287 $(if $(filter check,$(MAKECMDGOALS)),$(if $(COMPILER_PLUGINS),$(if $(LODE_HOME),clang-format-check)))
288 $(MAKE) $(PARALLELISM_OPTION) $(IWYU_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $(build_goal)
289 ifeq ($(OS),iOS)
290 $(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) ios
291 endif
293 build-non-l10n-only build-l10n-only build-nocheck check debugrun translations packageinfo $(gb_Top_MODULE_CHECK_TARGETS): build
295 help showmodules gbuildtojson:
296 $(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $@
298 cross-toolset: bootstrap fetch install-gdb-printers
299 # fetch again in case there are externals only needed on build platform
300 ifneq ($(OS),iOS)
301 $(MAKE) gb_Side=build $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(BUILDDIR)/Makefile fetch
302 endif
303 $(MAKE) gb_Side=build $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild build-tools
305 install-gdb-printers:
306 ifneq ($(filter-out WNT MACOSX iOS,$(OS)),)
307 ifneq ($(INSTDIR_FOR_BUILD),$(INSTDIR))
308 mkdir -p $(INSTDIR_FOR_BUILD)
309 $(SRCDIR)/solenv/bin/install-gdb-printers -a $(INSTDIR_FOR_BUILD) -c
310 endif
311 mkdir -p $(INSTDIR)
312 $(SRCDIR)/solenv/bin/install-gdb-printers -a $(INSTDIR) -c
313 endif
317 # Install
320 define gb_Top_DoInstall
321 echo "$(1) in $(INSTALLDIR) ..." && \
322 $(SRCDIR)/solenv/bin/ooinstall $(2) "$(INSTALLDIR)"
324 endef
326 ifneq ($(OS),MACOSX)
327 define gb_Top_InstallFinished
328 echo && echo "If you want to edit the .ui files with glade first execute:" && \
329 echo && echo "export GLADE_CATALOG_SEARCH_PATH=$(2)/share/glade" && \
330 echo && echo "$(1) finished, you can now execute:" && \
331 echo "$(2)/program/soffice"
333 endef
334 else
335 define gb_Top_InstallFinished
336 echo && echo "$(1) finished, you can now run: " && \
337 echo "open $(2)/$(PRODUCTNAME).app" && \
338 echo "" && \
339 echo "To debug: gdb $(2)/$(PRODUCTNAME).app/Contents/MacOS/soffice"
341 endef
342 endif
344 ifneq ($(OS),MACOSX)
345 install:
346 @$(call gb_Top_DoInstall,Installing,)
347 @$(call gb_Top_InstallFinished,Installation,$(INSTALLDIR))
349 install-strip:
350 @$(call gb_Top_DoInstall,Installing and stripping binaries,--strip)
351 @$(call gb_Top_InstallFinished,Installation,$(INSTALLDIR))
352 endif # !MACOSX
354 test-install: build
355 @rm -rf $(TESTINSTALLDIR)
356 @mkdir -p $(TESTINSTALLDIR)
357 ifeq ($(OS_FOR_BUILD),WNT)
358 cd $(SRCDIR)/instsetoo_native && $(MAKE) LIBO_TEST_INSTALL=TRUE $(GMAKE_OPTIONS)
359 else
360 @$(SRCDIR)/solenv/bin/ooinstall $(TESTINSTALLDIR)
361 ifeq ($(OS),MACOSX)
363 # Create Resources/*.lproj directories for languages supported by macOS
364 set -x; for lang in ca cs da de el en es fi fr hr hu id it ja ko ms nl no pl pt pt_PT ro ru sk sv th tr uk vi zh_CN zh_TW; do \
365 lproj=$(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/Resources/$$lang.lproj; \
366 mkdir "$$lproj"; \
367 done
369 # Remove unnecessary executables in the LibreOfficePython framework
370 rm -rf $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/Frameworks/LibreOfficePython.framework/Versions/[1-9]*/bin
372 # Remove the python.o object file which is weird and interferes with app store uploading
373 # And with it removed, presumably the other stuff in the Python lib/python3.3/config-3.3m probably does not make sense either.
374 rm -rf $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/Frameworks/LibreOfficePython.framework/Versions/[1-9]*/lib/python[1-9]*/config-[1-9]*
376 ifneq ($(ENABLE_MACOSX_SANDBOX),)
378 # Remove the gengal binary that we hardly need and the shell scripts
379 # for which code signatures (stored as extended attributes) won't
380 # survive upload to the App Store anyway. See
381 # https://developer.apple.com/library/content/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html#//apple_ref/doc/uid/TP40005929-CH4-TNTAG201
382 # We could put the shell scripts somewhere in Resources instead, but
383 # no 3rd-party code that would be interested in them would look there
384 # anyway.
385 rm $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/MacOS/gengal
386 rm $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/MacOS/unopkg
387 rm $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app/Contents/MacOS/unoinfo
388 endif
390 ifneq ($(MACOSX_CODESIGNING_IDENTITY),)
391 # Then use the macosx-codesign-app-bundle script
392 @$(SRCDIR)/solenv/bin/macosx-codesign-app-bundle $(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app
393 endif
394 endif
395 endif
396 @$(call gb_Top_InstallFinished,Test Installation,$(TESTINSTALLDIR))
398 mac-app-store-package: test-install
399 ifneq ($(MACOSX_PACKAGE_SIGNING_IDENTITY),)
400 rm -rf "$(PRODUCTNAME).app"
401 mv "$(TESTINSTALLDIR)/$(PRODUCTNAME_WITHOUT_SPACES).app" "$(PRODUCTNAME).app"
402 productbuild --component "$(PRODUCTNAME).app" /Applications --sign $(MACOSX_PACKAGE_SIGNING_IDENTITY) $(PRODUCTNAME_WITHOUT_SPACES).pkg
403 else
404 @echo You did not provide an installer signing identity with --enable-macosx-package-signing
405 @exit 1
406 endif
408 distro-pack-install: install
409 $(SRCDIR)/bin/distro-install-clean-up
410 $(SRCDIR)/bin/distro-install-desktop-integration
411 $(SRCDIR)/bin/distro-install-sdk
412 $(SRCDIR)/bin/distro-install-file-lists
414 install-package-%:
415 $(MAKE) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $@
418 @$(SRCDIR)/solenv/bin/create-ids
420 tags:
421 @$(SRCDIR)/solenv/bin/create-tags
423 etags:
424 @$(SRCDIR)/solenv/bin/create-tags -e
426 docs:
427 @$(SRCDIR)/solenv/bin/mkdocs.sh $(SRCDIR)/docs $(SRCDIR)/solenv/inc/doxygen.cfg
429 findunusedheaders:
430 $(SRCDIR)/bin/find-unusedheaders.py
432 symbols:
433 rm -fr $(WORKDIR)/symbols/
434 mkdir -p $(WORKDIR)/symbols/
435 ifeq ($(OS),WNT)
436 $(SRCDIR)/bin/symbolstore.py $(WORKDIR)/UnpackedTarball/breakpad/src/tools/windows/dump_syms/Release/dump_syms.exe $(WORKDIR)/symbols/ $(INSTDIR)/program/
437 $(SRCDIR)/bin/symstore.sh
438 else
439 $(SRCDIR)/bin/symbolstore.py $(WORKDIR)/UnpackedTarball/breakpad/src/tools/linux/dump_syms/dump_syms $(WORKDIR)/symbols/ $(INSTDIR)/program/*
440 endif
442 cd $(WORKDIR)/symbols/ && zip -r $(WORKDIR)/symbols.zip *
444 create-mar:
445 rm -fr $(WORKDIR)/installation/mar/
446 rm -fr $(WORKDIR)/installation/temp/
447 mkdir -p $(WORKDIR)/installation/temp/
448 mkdir -p $(WORKDIR)/installation/mar/
449 tar -xzf $(WORKDIR)/installation/LibreOfficeDev/archive/install/en-US/LibreOffice* -C $(WORKDIR)/installation/temp/
450 $(SRCDIR)/bin/update/make_full_update.sh $(WORKDIR)/installation/mar/test.mar $(WORKDIR)/installation/temp/*/
452 upload-symbols:
453 $(MAKE) -f $(SRCDIR)/Makefile.gbuild upload-symbols
455 create-update-info:
456 $(MAKE) -f $(SRCDIR)/Makefile.gbuild create-update-info
458 upload-update-info:
459 $(MAKE) -f $(SRCDIR)/Makefile.gbuild upload-update-info
461 create-partial-info:
462 $(MAKE) -f $(SRCDIR)/Makefile.gbuild create-partial-info
464 dump-deps:
465 @$(SRCDIR)/bin/module-deps.pl $(MAKE) $(SRCDIR)/Makefile.gbuild
467 dump-deps-png:
468 @$(SRCDIR)/bin/module-deps.pl $(MAKE) $(SRCDIR)/Makefile.gbuild | dot -Tpng -o lo.png
470 dump-deps-sort:
471 @$(SRCDIR)/bin/module-deps.pl -t $(MAKE) $(SRCDIR)/Makefile.gbuild
473 clang-format-check:
474 @$(SRCDIR)/solenv/clang-format/check-last-commit
476 define gb_Top_GbuildToIdeIntegration
477 $(1)-ide-integration: gbuildtojson $(if $(filter MACOSX,$(OS_FOR_BUILD)),python3.all)
478 cd $(SRCDIR) && \
479 $(if $(filter MACOSX,$(OS_FOR_BUILD)),PATH="$(INSTROOT_FOR_BUILD)/Frameworks/LibreOfficePython.framework/Versions/Current/bin:$(PATH)") \
480 $(SRCDIR)/bin/gbuild-to-ide --ide $(1) --make $(MAKE)
482 endef
484 $(foreach ide,\
485 codelite \
486 vs \
487 kdevelop \
488 vim \
489 qtcreator \
490 xcode \
491 eclipsecdt,\
492 $(eval $(call gb_Top_GbuildToIdeIntegration,$(ide))))
494 fuzzers: StaticLibrary_dtoa StaticLibrary_zlib StaticLibrary_libjpeg-turbo Library_sal Library_salhelper Library_reg Library_store Library_unoidl codemaker Library_cppu Library_i18nlangtag Library_cppuhelper Library_comphelper StaticLibrary_ulingu StaticLibrary_findsofficepath Library_tl Library_basegfx Library_canvastools Library_cppcanvas Library_dbtools Library_deploymentmisc Library_editeng Library_i18nutil Library_localebe1 Library_sax Library_sofficeapp Library_ucbhelper Rdb_services udkapi offapi Library_icg Library_reflection Library_invocadapt Library_bootstrap Library_introspection Library_stocservices Library_xmlreader Library_gcc3_uno instsetoo_native StaticLibrary_boost_locale StaticLibrary_fuzzerstubs StaticLibrary_fuzzer_core StaticLibrary_fuzzer_calc StaticLibrary_fuzzer_draw StaticLibrary_fuzzer_writer StaticLibrary_fuzzer_math Library_forui Library_binaryurp Library_io Library_invocation Library_namingservice Library_proxyfac Library_uuresolver Module_ure Library_wpftwriter Library_sb Library_file Executable_pptfuzzer Executable_cgmfuzzer Executable_ww2fuzzer Executable_ww6fuzzer Executable_ww8fuzzer Executable_qpwfuzzer Executable_slkfuzzer Executable_fodtfuzzer Executable_fodsfuzzer Executable_fodpfuzzer Executable_xlsfuzzer Executable_scrtffuzzer Executable_wksfuzzer Executable_diffuzzer Executable_docxfuzzer Executable_xlsxfuzzer Executable_pptxfuzzer Executable_htmlfuzzer Executable_rtffuzzer Executable_mmlfuzzer Executable_mtpfuzzer Executable_olefuzzer Executable_lwpfuzzer Executable_hwpfuzzer Executable_wmffuzzer Executable_dxffuzzer Executable_sftfuzzer Executable_svmfuzzer Executable_tiffuzzer Executable_epsfuzzer Executable_jpgfuzzer Executable_metfuzzer Executable_bmpfuzzer Executable_giffuzzer Executable_pngfuzzer Executable_602fuzzer Executable_tgafuzzer Executable_pcxfuzzer Executable_psdfuzzer Executable_ppmfuzzer Executable_pcdfuzzer Executable_rasfuzzer Executable_pctfuzzer Executable_xpmfuzzer Executable_xbmfuzzer Executable_dbffuzzer
496 endif # MAKE_RESTARTS
498 # vim: set noet sw=4 ts=4: