1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xpcom/sample/Makefile.in Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +# 1.5 +# This Source Code Form is subject to the terms of the Mozilla Public 1.6 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.8 + 1.9 +# EXTRA_DSO_LDOPTS specifies linker flags when building a shared library 1.10 +# from this Makefile. We link against the "dependent glue" and against the 1.11 +# frozen XPCOM shared library. 1.12 +EXTRA_DSO_LDOPTS = \ 1.13 + $(DIST)/lib/$(LIB_PREFIX)xpcomglue_s.$(LIB_SUFFIX) \ 1.14 + $(XPCOM_FROZEN_LDOPTS) \ 1.15 + $(NSPR_LIBS) \ 1.16 + $(NULL) 1.17 + 1.18 +# Need to link with CoreFoundation on Mac 1.19 +ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) 1.20 +EXTRA_DSO_LDOPTS += \ 1.21 + $(TK_LIBS) \ 1.22 + $(NULL) 1.23 +endif