1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/library/gtest/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.6 +# You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +# Enforce that the clean/distclean rules removes everything that needs 1.9 +# to be removed from this directory. 1.10 +ifneq (,$(filter clean distclean,$(MAKECMDGOALS))) 1.11 +LINK_GTEST = 1 1.12 +endif 1.13 + 1.14 +ifndef LINK_GTEST 1.15 +# Force to not include backend.mk unless LINK_GTEST is defined. 1.16 +# Not including backend.mk makes traversing this directory do nothing. 1.17 +STANDALONE_MAKEFILE = 1 1.18 + 1.19 +else 1.20 + 1.21 +include $(topsrcdir)/toolkit/library/libxul.mk 1.22 + 1.23 +ifdef COMPILE_ENVIRONMENT 1.24 +libs:: $(DIST)/bin/dependentlibs.list.gtest 1.25 +endif 1.26 + 1.27 +$(DIST)/bin/dependentlibs.list.gtest: $(DIST)/bin/dependentlibs.list 1.28 + sed -e 's|$(SHARED_LIBRARY)|gtest/$(SHARED_LIBRARY)|' $< > $@ 1.29 + 1.30 +LINK_PDBFILE = xul-gtest.pdb 1.31 + 1.32 +endif