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: if CONFIG['OS_ARCH'] == 'WINNT': michael@0: PROGRAM = 'redit' michael@0: SOURCES += [ michael@0: 'redit.cpp', michael@0: ] michael@0: for var in ('WIN32_LEAN_AND_MEAN', 'UNICODE', '_UNICODE', 'XPCOM_GLUE'): michael@0: DEFINES[var] = True michael@0: if CONFIG['GNU_CC']: michael@0: WIN32_EXE_LDFLAGS += ['-municode']