2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:05:39 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-06-12 16:04:28 +04:00
|
|
|
if CONFIG['MOZ_WIDGET_GTK'] and CONFIG['MOZ_X11']:
|
2014-09-03 09:10:54 +04:00
|
|
|
Program('screentopng')
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'gdk-screenshot.cpp',
|
|
|
|
]
|
2014-07-24 19:55:33 +04:00
|
|
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|
2015-11-05 11:48:37 +03:00
|
|
|
LDFLAGS += CONFIG['XLDFLAGS']
|
2014-08-06 02:25:33 +04:00
|
|
|
OS_LIBS += CONFIG['TK_LIBS']
|
|
|
|
OS_LIBS += CONFIG['XSS_LIBS']
|
2013-05-01 22:05:40 +04:00
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
2014-09-03 09:10:54 +04:00
|
|
|
Program('screenshot')
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'win32-screenshot.cpp',
|
|
|
|
]
|
2014-02-11 18:12:33 +04:00
|
|
|
USE_STATIC_LIBS = True
|
2014-02-24 17:30:25 +04:00
|
|
|
if CONFIG['GNU_CC']:
|
2014-02-25 15:46:25 +04:00
|
|
|
WIN32_EXE_LDFLAGS += ['-municode']
|
2014-08-06 02:25:33 +04:00
|
|
|
OS_LIBS += [
|
|
|
|
'gdiplus',
|
|
|
|
]
|