зеркало из https://github.com/mozilla/pjs.git
Fix problem of --enable-boehm not building.
Build nspr & ldap as a separate step at the beginning of the default build or at the beginning of the export phase.
This commit is contained in:
Родитель
cc63e88a56
Коммит
cce9b86b17
39
Makefile.in
39
Makefile.in
|
@ -41,12 +41,9 @@ else
|
||||||
# Tiers must be defined on module boundaries
|
# Tiers must be defined on module boundaries
|
||||||
#
|
#
|
||||||
default: $(SUBMAKEFILES)
|
default: $(SUBMAKEFILES)
|
||||||
$(MAKE) nspr
|
|
||||||
$(MAKE) tier_0
|
$(MAKE) tier_0
|
||||||
ifdef MOZ_LDAP_XPCOM
|
$(MAKE) nspr
|
||||||
$(MAKE) -C directory/c-sdk/ldap export
|
$(MAKE) ldap
|
||||||
$(MAKE) -C directory/c-sdk/ldap install
|
|
||||||
endif
|
|
||||||
$(MAKE) tier_1
|
$(MAKE) tier_1
|
||||||
$(MAKE) tier_9
|
$(MAKE) tier_9
|
||||||
ifdef MOZ_PSM
|
ifdef MOZ_PSM
|
||||||
|
@ -61,14 +58,14 @@ endif
|
||||||
$(MAKE) tier_99
|
$(MAKE) tier_99
|
||||||
|
|
||||||
# Make sure that the existing rulesets work
|
# Make sure that the existing rulesets work
|
||||||
DIRS = $(NSPRPUB_DIR) \
|
DIRS = \
|
||||||
$(tier_0_dirs) \
|
$(tier_0_dirs) \
|
||||||
$(tier_1_dirs) \
|
$(tier_1_dirs) \
|
||||||
$(tier_9_dirs) \
|
$(tier_9_dirs) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
ifdef MOZ_LDAP_XPCOM
|
ifdef GC_LEAK_DETECTOR
|
||||||
DIRS += directory/c-sdk/ldap
|
DIRS += gc/boehm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef MOZ_PSM
|
ifdef MOZ_PSM
|
||||||
|
@ -257,7 +254,7 @@ endif
|
||||||
|
|
||||||
endif # BUILD_MODULES == all
|
endif # BUILD_MODULES == all
|
||||||
|
|
||||||
STATIC_MAKEFILES := $(NSPRPUB_DIR) directory/c-sdk/ldap
|
STATIC_MAKEFILES := nsprpub directory/c-sdk/ldap
|
||||||
|
|
||||||
ifdef MOZ_PSM
|
ifdef MOZ_PSM
|
||||||
STATIC_MAKEFILES += security/nss
|
STATIC_MAKEFILES += security/nss
|
||||||
|
@ -269,8 +266,23 @@ DIST_GARBAGE = config.cache config.log config.status config-defs.h \
|
||||||
unallmakefiles \
|
unallmakefiles \
|
||||||
$(topsrcdir)/.mozconfig.mk $(topsrcdir)/.mozconfig.out
|
$(topsrcdir)/.mozconfig.mk $(topsrcdir)/.mozconfig.out
|
||||||
|
|
||||||
|
# Build psuedo-external modules first when export is explicitly called
|
||||||
|
export::
|
||||||
|
$(MAKE) -C config export
|
||||||
|
$(MAKE) nspr
|
||||||
|
$(MAKE) ldap
|
||||||
|
|
||||||
include $(topsrcdir)/config/rules.mk
|
include $(topsrcdir)/config/rules.mk
|
||||||
|
|
||||||
|
# Clean up after psuedo-external modules
|
||||||
|
clean clobber realclean clobber_all distclean::
|
||||||
|
ifndef MOZ_NATIVE_NSPR
|
||||||
|
$(MAKE) -C nsprpub $@
|
||||||
|
endif
|
||||||
|
ifdef MOZ_LDAP_XPCOM
|
||||||
|
$(MAKE) -C directory/c-sdk/ldap $@
|
||||||
|
endif
|
||||||
|
|
||||||
tier_%:
|
tier_%:
|
||||||
@echo "$@: $($@_dirs)"
|
@echo "$@: $($@_dirs)"
|
||||||
@$(EXIT_ON_ERROR) \
|
@$(EXIT_ON_ERROR) \
|
||||||
|
@ -290,8 +302,13 @@ ifdef GC_LEAK_DETECTOR
|
||||||
endif
|
endif
|
||||||
|
|
||||||
nspr: boehm
|
nspr: boehm
|
||||||
ifdef NSPRPUB_DIR
|
ifndef MOZ_NATIVE_NSPR
|
||||||
$(MAKE) -C $(NSPRPUB_DIR)
|
$(MAKE) -C nsprpub
|
||||||
|
endif
|
||||||
|
|
||||||
|
ldap:
|
||||||
|
ifdef MOZ_LDAP_XPCOM
|
||||||
|
$(MAKE) -C directory/c-sdk/ldap
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# For modules.mk standalone build
|
# For modules.mk standalone build
|
||||||
|
|
Загрузка…
Ссылка в новой задаче