Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f2e7365e
Kaydet (Commit)
f2e7365e
authored
Şub 27, 2013
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
various small cleanups
Change-Id: I81898c622279e97403efa05d7d2179102db6676a
üst
bdd92145
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
37 deletions
+10
-37
Makefile.in
Makefile.in
+10
-37
No files found.
Makefile.in
Dosyayı görüntüle @
f2e7365e
...
...
@@ -7,7 +7,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
.PHONY
:
all bootstrap build check clean clean-build clean-host dev-install distclean distro-pack-install docs download fetch findunusedcode get-submodules
help
id install install-strip install-tb subsequentcheck tags
.PHONY
:
all bootstrap build check clean clean-build clean-host dev-install distclean distro-pack-install docs download fetch findunusedcode get-submodules id install install-strip install-tb subsequentcheck tags
ifeq
($(MAKECMDGOALS),)
MAKECMDGOALS
:=
all
...
...
@@ -46,11 +46,10 @@ else # MAKE_RESTARTS
all
:
build
ifeq
($(gb_Side),)
export
gb_Side
:=
host
gb_Side
:=
host
endif
include
$(BUILDDIR)/config_$(gb_Side).mk
SRCDIR
:=
$(SRC_ROOT)
ifeq
($(GMAKE_OPTIONS),)
ifeq
($(verbose)$(VERBOSE),)
...
...
@@ -60,17 +59,9 @@ export GMAKE_OPTIONS:=-r
endif
endif
# This list tells which modules are gbuild ones. It does *not* tell which modules to build. That is directed
# by the module being mentioned in postprocess/prj/build.lst, etc, recursively.
$(WORKDIR)/modules.mk
:
$(wildcard */Module_*.mk) $(BUILDDIR)/config_host.mk
mkdir
-p
$
(
dir
$@
)
echo
"gbuild_modules:= tail_build
\\
"
>
$@
for
m
in
`
cd
$(SRCDIR)
&&
ls
*
/Module_
*
.mk
`
;
do
echo
$$
m |
sed
-e
's/\/.*$$/ \\/'
;
done
>>
$@
echo
>>
$@
-include
$(WORKDIR)/modules.mk
include
$(SRCDIR)/solenv/gbuild/Output.mk
#
# Partial Build
#
define
gbuild_module_rules
.PHONY
:
$(1) $(1).all $(1).build $(1).check $(1).clean $(1).showdeliverables $(1).subsequentcheck
...
...
@@ -92,11 +83,7 @@ define gbuild_modules_rules
$(foreach
m,$(1),$(call
gbuild_module_rules,$(m)))
endef
#
# Partial Build
#
$(eval
$(call
gbuild_modules_rules,$(gbuild_modules)))
$(eval
$(call
gbuild_modules_rules,$(filter-out
Module%,$(subst
/,
,$(subst
$(SRCDIR)/,,$(wildcard
$(SRCDIR)/*/Module_*.mk))))))
# run a JunitTest - relies on naming convention (module prefix)
$(WORKDIR)/JunitTest/%/done
:
...
...
@@ -106,12 +93,6 @@ $(WORKDIR)/JunitTest/%/done :
$(WORKDIR)/CppunitTest/%.test
:
cd
$
(
firstword
$
(
subst _, ,
$*
))
&&
$(GNUMAKE)
$(GMAKE_OPTIONS)
$@
#
# Help
#
help
:
@
cat
$(SRCDIR)
/solenv/gbuild/gbuild.help.txt
#
# Clean
#
...
...
@@ -121,14 +102,12 @@ clean-host:
rm
-fr
$(DEVINSTALLDIR)
rm
-fr
$(OUTDIR)
rm
-fr
$(WORKDIR)
rm
-fr
$(SRCDIR)
/
*
/
$(INPATH)
rm
-fr
$(SRCDIR)
/solenv/
$(OUTPATH)
rm
-fr
install
clean-build
:
ifeq
($(CROSS_COMPILING),YES)
rm
-
rf
$(SOLARVER)/$(INPATH_FOR_BUILD)
# not necessarily below SRCDIR
rm
-
rf
$(SRCDIR)/*/$(INPATH
_FOR_BUILD)
rm
-
fr
$(OUTDIR_FOR_BUILD)
rm
-
fr
$(WORKDIR
_FOR_BUILD)
endif
include
$(SRCDIR)/compilerplugins/Makefile.mk
...
...
@@ -157,13 +136,9 @@ distclean : clean compilerplugins-clean
#
# custom command
#
ifneq
(
$(MAKECMDGOALS),cmd)
cmd
:
echo
"custom cmd"
&&
(
$(cmd)
)
endif
ifneq
($(filter-out
clean
distclean,$(MAKECMDGOALS)),)
#
# Fetch
#
...
...
@@ -416,12 +391,10 @@ check: dev-install subsequentcheck
subsequentcheck
:
| $(if $(filter-out subsequentcheck
,
$(MAKECMDGOALS))
,
dev-install)
$(GNUMAKE)
-j
$(CHECK_PARALLELISM)
$(GMAKE_OPTIONS)
-f
$(SRCDIR)
/Makefile.build
$@
.PHONY
:
unitcheck slowcheck debugrun translations
unitcheck slowcheck debugrun translations
:
.PHONY
:
debugrun help slowcheck translations unitcheck
debugrun help slowcheck translations unitcheck
:
$(GNUMAKE)
-j
$(PARALLELISM)
$(GMAKE_OPTIONS)
-f
$(SRCDIR)
/Makefile.build
$@
endif
# not clean or distclean
endif
# MAKE_RESTARTS
# vim: set noet sw=4 ts=4:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment