Strip internal SourcePawn dependencies on SM relative paths.

This commit is contained in:
David Anderson 2015-03-07 11:07:20 -08:00
parent 23ac0b4637
commit 6f1eefbdbe
7 changed files with 10 additions and 11 deletions

View File

@ -44,9 +44,8 @@ compiler.includes += [
os.path.join(builder.sourcePath, 'public'),
os.path.join(builder.sourcePath, 'public', 'amtl'),
os.path.join(builder.sourcePath, 'public', 'sourcepawn'),
os.path.join(builder.sourcePath, 'sourcepawn', 'compiler'),
os.path.join(builder.sourcePath, 'sourcepawn', 'include'),
os.path.join(builder.sourcePath, 'sourcepawn', 'third_party'),
os.path.join(builder.currentSourcePath, '..', 'include'),
os.path.join(builder.currentSourcePath, '..', 'third_party'),
os.path.join(builder.buildPath, 'includes'),
os.path.join(builder.buildPath, builder.buildFolder),
]

View File

@ -31,7 +31,7 @@
#define __FreeBSD__
#endif
#if defined LINUX || defined __FreeBSD__ || defined __OpenBSD__
#include <sclinux.h>
#include "sclinux.h"
#endif
#if defined HAVE_STDINT_H

View File

@ -37,8 +37,8 @@
#endif
#if defined LINUX || defined __FreeBSD__ || defined __OpenBSD__ || defined DARWIN
#include <sclinux.h>
#include <binreloc.h> /* from BinReloc, see www.autopackage.org */
#include "sclinux.h"
#include "binreloc.h" /* from BinReloc, see www.autopackage.org */
#include <unistd.h>
#endif

View File

@ -31,7 +31,7 @@
#include "sc.h"
#include "tokenbuffer.h"
#if defined LINUX || defined __FreeBSD__ || defined __OpenBSD__
#include <sclinux.h>
#include "sclinux.h"
#endif
#include "sp_symhash.h"

View File

@ -34,7 +34,7 @@
#include "sc.h"
#include "amxdbg.h"
#if defined LINUX || defined __FreeBSD__ || defined __OpenBSD__
#include <sclinux.h>
#include "sclinux.h"
#endif
#include <am-utility.h>
#include <am-string.h>

View File

@ -52,7 +52,7 @@
#include <string.h>
#include "sc.h"
#if defined LINUX || defined __FreeBSD__ || defined __OpenBSD__
#include <sclinux.h>
#include "sclinux.h"
#endif
#if defined FORTIFY

View File

@ -3,8 +3,8 @@ import os
Includes = [
os.path.join(SM.mms_root, 'core', 'sourcehook'),
os.path.join(builder.sourcePath, 'sourcepawn', 'vm'),
os.path.join(builder.sourcePath, 'sourcepawn', 'third_party'),
os.path.join(builder.currentSourcePath),
os.path.join(builder.currentSourcePath, '..', 'third_party'),
os.path.join(builder.sourcePath, 'public'),
os.path.join(builder.sourcePath, 'public', 'sourcepawn'),
os.path.join(builder.sourcePath, 'public', 'amtl'),