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: DIST_PROGRAM = maintenanceservice$(BIN_SUFFIX) michael@0: michael@0: # Don't link the maintenanceservice against mozglue.dll. See bug 687139 and michael@0: # bug 725876 michael@0: MOZ_GLUE_LDFLAGS = michael@0: MOZ_GLUE_PROGRAM_LDFLAGS = michael@0: michael@0: ifeq ($(OS_ARCH),WINNT) michael@0: LIBS += $(call EXPAND_LIBNAME_PATH,updatecommon-standalone,../../mozapps/update/common-standalone) michael@0: else michael@0: LIBS += $(call EXPAND_LIBNAME_PATH,updatecommon,../../mozapps/update/common) michael@0: endif michael@0: michael@0: OS_LIBS += $(call EXPAND_LIBNAME,comctl32 ws2_32 shell32) 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/rules.mk