Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mullvad Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Mullvad Browser
Commits
a8f92c03
Commit
a8f92c03
authored
24 years ago
by
cls%seawood.org
Browse files
Options
Downloads
Patches
Plain Diff
Add support for pulling individual modules from cvs via client.mk.
parent
c9ebd126
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/unix/modules.mk
+10
-0
10 additions, 0 deletions
build/unix/modules.mk
client.mk
+27
-9
27 additions, 9 deletions
client.mk
with
37 additions
and
9 deletions
build/unix/modules.mk
+
10
−
0
View file @
a8f92c03
...
...
@@ -21,6 +21,11 @@ BUILD_MODULE_DIRS := config build
_BUILD_MODS
=
NSPRPUB_DIR
=
# client.mk does not have topsrcdir set
ifndef
topsrcdir
topsrcdir
=
$(
TOPSRCDIR
)
endif
ifndef
MOZ_NATIVE_NSPR
# Do not regenerate Makefile for NSPR
ifdef
USE_NSPR_AUTOCONF
...
...
@@ -46,11 +51,16 @@ BUILD_MODULE_DIRS += $(foreach mod,$(BUILD_MODULES), $(BUILD_MODULE_DIRS_$(mod))
# Remove dups from the list to speed up the build
#
ifdef
PERL
BUILD_MODULE_DIRS
:=
$(
shell
$(
PERL
)
-e
'undef @out; \
foreach $$d (@ARGV
)
{ \
push @out, $$d if (!grep(/$$d/, @out)); \
}; \
print "@out\n"; '
$(
BUILD_MODULE_DIRS
)
)
else
# Since PERL isn't defined, client.mk must've called us so order doesn't matter
BUILD_MODULE_DIRS
:=
$(
sort
$(
BUILD_MODULE_DIRS
))
endif
endif
# BUILD_MODULES
...
...
This diff is collapsed.
Click to expand it.
client.mk
+
27
−
9
View file @
a8f92c03
...
...
@@ -55,6 +55,7 @@
#MOZ_CO_TAG = <tag>
NSPR_CO_TAG
=
NSPRPUB_CLIENT_BRANCH
PSM_CO_TAG
=
SeaMonkey_M14_BRANCH
BUILD_MODULES
=
all
#######################################################################
# Defines
...
...
@@ -109,14 +110,16 @@ endif
# for how to set up mozconfig.
MOZCONFIG_LOADER
:=
mozilla/build/autoconf/mozconfig2client-mk
MOZCONFIG_FINDER
:=
mozilla/build/autoconf/mozconfig-find
MOZCONFIG_MODULES
:=
mozilla/build/unix/modules.mk
run_for_side_effects
:=
\
$(
shell
cd
$(
ROOTDIR
);
\
if
test
"
$(
_IS_FIRST_CHECKOUT
)
"
;
then
\
$(
CVSCO
)
$(
MOZCONFIG_FINDER
)
$(
MOZCONFIG_LOADER
);
\
$(
CVSCO
)
$(
MOZCONFIG_FINDER
)
$(
MOZCONFIG_LOADER
)
$(
MOZCONFIG_MODULES
)
;
\
else
true
;
\
fi
;
\
$(
MOZCONFIG_LOADER
)
$(
TOPSRCDIR
)
mozilla/.mozconfig.mk
>
mozilla/.mozconfig.out
)
include
$(TOPSRCDIR)/.mozconfig.mk
include
$(TOPSRCDIR)/build/unix/modules.mk
####################################
# Options that may come from mozconfig
...
...
@@ -164,14 +167,6 @@ else
MOZ_MAKE
:=
$(
MOZ_MAKE_ENV
)
$(
MAKE
)
endif
####################################
# CVS defines for SeaMonkey
#
ifndef
MOZ_CO_MODULE
MOZ_CO_MODULE
:=
SeaMonkeyAll
endif
CVSCO_SEAMONKEY
:=
$(
CVSCO
)
$(
CVS_CO_DATE_FLAGS
)
$(
MOZ_CO_MODULE
)
####################################
# CVS defines for PSM
#
...
...
@@ -192,6 +187,29 @@ ifdef NSPR_CO_TAG
endif
CVSCO_NSPR
=
cvs
$(
CVS_FLAGS
)
co
$(
NSPR_CO_FLAGS
)
$(
CVS_CO_DATE_FLAGS
)
$(
NSPR_CO_MODULE
)
####################################
# CVS defines for standalone modules
#
ifneq
($(BUILD_MODULES),all)
MOZ_CO_MODULE
:=
$(
filter-out
$(
NSPRPUB_DIR
)
security,
$(
BUILD_MODULE_DIRS
))
MOZ_CO_MODULE
+=
allmakefiles.sh client.mk aclocal.m4 configure configure.in
MOZ_CO_MODULE
+=
Makefile.in
MOZ_CO_MODULE
:=
$(
addprefix mozilla/,
$(
MOZ_CO_MODULE
))
ifeq
(,$(filter $(NSPRPUB_DIR), $(BUILD_MODULE_DIRS)))
CVSCO_NSPR
:=
endif
ifeq
(,$(filter security, $(BUILD_MODULE_DIRS)))
CVSCO_PSM
:=
endif
endif
####################################
# CVS defines for SeaMonkey
#
ifeq
($(MOZ_CO_MODULE),)
MOZ_CO_MODULE
:=
SeaMonkeyAll
endif
CVSCO_SEAMONKEY
:=
$(
CVSCO
)
$(
CVS_CO_DATE_FLAGS
)
$(
MOZ_CO_MODULE
)
#######################################################################
# Rules
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment