michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: 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: PROGRAM = 'maintenanceservice' michael@0: michael@0: SOURCES += [ michael@0: 'certificatecheck.cpp', michael@0: 'maintenanceservice.cpp', michael@0: 'registrycertificates.cpp', michael@0: 'servicebase.cpp', michael@0: 'serviceinstall.cpp', michael@0: 'workmonitor.cpp', michael@0: ] michael@0: michael@0: # For debugging purposes only michael@0: #DEFINES['DISABLE_UPDATER_AUTHENTICODE_CHECK'] = True michael@0: michael@0: DEFINES['UNICODE'] = True michael@0: DEFINES['_UNICODE'] = True michael@0: DEFINES['NS_NO_XPCOM'] = True michael@0: michael@0: # Pick up nsWindowsRestart.cpp michael@0: LOCAL_INCLUDES += [ michael@0: '/toolkit/mozapps/update/common', michael@0: '/toolkit/xre', michael@0: ] michael@0: michael@0: USE_STATIC_LIBS = True michael@0: michael@0: if CONFIG['_MSC_VER']: michael@0: WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup'] michael@0: michael@0: RCINCLUDE = 'maintenanceservice.rc' michael@0: michael@0: DISABLE_STL_WRAPPING = True