Add dependency support for NSS to PSM by checking to see if any NSS files have changed during the checkout.

Bug #167927 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@130129 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
seawood%netscape.com 2002-09-20 08:46:21 +00:00
parent 85ee853575
commit 672dbe6a97

View File

@ -77,6 +77,14 @@ SUBMAKEFILES = boot/Makefile ssl/Makefile pki/Makefile
include $(topsrcdir)/config/rules.mk
# Attempt to properly handle NSS' refusal to implement a dependency system
export:: $(topsrcdir)/../cvsco.log
if test `grep -c '^U mozilla/security/nss' $< 2>/dev/null` != 0 -o \
`grep -c '^U mozilla/security/coreconf' $< 2>/dev/null` != 0; then \
$(MAKE) -C $(topsrcdir)/security/coreconf $(DEFAULT_GMAKE_FLAGS) clean ; \
$(MAKE) -C $(topsrcdir)/security/nss/lib $(DEFAULT_GMAKE_FLAGS) clean ; \
fi
dependclean export::
$(MAKE) -C boot $@
$(MAKE) -C ssl $@
@ -124,7 +132,7 @@ endif
$(MAKE) -C boot $@
$(MAKE) -C ssl $@
$(MAKE) -C pki $@
clean clobber clobber_all realclean distclean depend::
$(MAKE) -C boot $@
$(MAKE) -C ssl $@