2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:18 +04:00
|
|
|
# vim: set filetype=python:
|
2012-05-21 15:12:37 +04:00
|
|
|
# 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/.
|
1998-08-20 00:42:14 +04:00
|
|
|
|
2013-07-10 23:08:21 +04:00
|
|
|
NO_DIST_INSTALL = True
|
2013-07-03 01:40:17 +04:00
|
|
|
DIRS += ['inject']
|
2013-08-22 10:56:02 +04:00
|
|
|
|
2013-09-21 00:46:57 +04:00
|
|
|
if not CONFIG['CROSS_COMPILE']:
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-09-21 00:46:57 +04:00
|
|
|
'dummy.c',
|
2014-07-25 02:10:15 +04:00
|
|
|
'test-array.c',
|
|
|
|
'test-ctors.c',
|
2013-09-21 00:46:57 +04:00
|
|
|
]
|
|
|
|
|
2013-10-25 03:23:05 +04:00
|
|
|
HOST_SOURCES += [
|
2013-09-12 21:32:27 +04:00
|
|
|
'elf.cpp',
|
|
|
|
'elfhack.cpp',
|
|
|
|
]
|
2013-11-02 03:44:11 +04:00
|
|
|
|
|
|
|
HOST_PROGRAM = 'elfhack'
|
2013-11-27 17:55:07 +04:00
|
|
|
|
|
|
|
DEFINES['ELFHACK_BUILD'] = True
|
2013-12-09 08:39:26 +04:00
|
|
|
|
|
|
|
NO_PGO = True
|