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