Commit ff7b829d authored by slamm%netscape.com's avatar slamm%netscape.com
Browse files

Set MOZILLA_FIVE_HOME for run_apprunner and run_viewer targets. Change the...

Set MOZILLA_FIVE_HOME for run_apprunner and run_viewer targets. Change the message on the depend target when using compiler-based depend.
parent 2db0e89f
Loading
Loading
Loading
Loading
+15 −3
Original line number Diff line number Diff line
@@ -401,13 +401,13 @@ checkout:

run_viewer: $(DIST)/bin/viewer
	cd $(DIST)/bin; \
	MOZILLA_FIVE_HOME= ; \
	MOZILLA_FIVE_HOME=`pwd` \
	LD_LIBRARY_PATH=".:$(LIBS_PATH):$$LD_LIBRARY_PATH" \
	viewer

run_apprunner: $(DIST)/bin/apprunner
	cd $(DIST)/bin; \
	MOZILLA_FIVE_HOME= ; \
	MOZILLA_FIVE_HOME=`pwd` \
	LD_LIBRARY_PATH=".:$(LIBS_PATH):$$LD_LIBRARY_PATH" \
	apprunner

@@ -958,7 +958,19 @@ endif
#############################################################################
ifdef COMPILER_DEPEND
depend::
	@echo "$(MAKE): Skipping depend. Using compiler-based depend instead (--enable-md)." 2>&1
	@echo "$(MAKE): No need to run depend target.\
			Using compiler-based depend." 1>&2
ifeq ($(GNU_CC)$(GNU_CXX),)
# Non-GNU compilers
	@echo "`echo '$(MAKE):'|sed 's/./ /g'`"\
	'(Compiler-based depend was turned on by "--enable-depend".)' 1>&2
else
# GNU compilers
	@space="`echo '$(MAKE): '|sed 's/./ /g'`";\
	echo "$$space"'Since you are using a GNU compiler,\
		it is on by default.' 1>&2; \
	echo "$$space"'To turn it off, pass --disable-md to configure.' 1>&2
endif
else
$(MKDEPENDENCIES)::
	touch $(MKDEPENDENCIES)