|
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
|
2 # vim: set filetype=python: |
|
3 # This Source Code Form is subject to the terms of the Mozilla Public |
|
4 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
6 |
|
7 if CONFIG['OS_ARCH'] == 'WINNT': |
|
8 PROGRAM = 'redit' |
|
9 SOURCES += [ |
|
10 'redit.cpp', |
|
11 ] |
|
12 for var in ('WIN32_LEAN_AND_MEAN', 'UNICODE', '_UNICODE', 'XPCOM_GLUE'): |
|
13 DEFINES[var] = True |
|
14 if CONFIG['GNU_CC']: |
|
15 WIN32_EXE_LDFLAGS += ['-municode'] |