michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: # Don't create a dependency on mozglue michael@0: MOZ_GLUE_LDFLAGS = michael@0: michael@0: LIBS = \ michael@0: $(XPCOM_STANDALONE_STATICRUNTIME_GLUE_LDOPTS) \ michael@0: $(NULL) michael@0: michael@0: # Need to link with CoreFoundation on Mac michael@0: ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) michael@0: LIBS += \ michael@0: $(TK_LIBS) \ michael@0: $(NULL) michael@0: endif michael@0: michael@0: ifndef MOZ_WINCONSOLE michael@0: ifdef MOZ_DEBUG michael@0: MOZ_WINCONSOLE = 1 michael@0: else michael@0: MOZ_WINCONSOLE = 0 michael@0: endif michael@0: endif michael@0: michael@0: include $(topsrcdir)/config/config.mk michael@0: michael@0: include $(topsrcdir)/config/rules.mk michael@0: michael@0: ifeq ($(OS_ARCH),WINNT) michael@0: OS_LIBS += $(call EXPAND_LIBNAME,shell32) michael@0: endif