unix: Prefix includes with py/; remove need for -I../py.

This commit is contained in:
Damien George 2015-01-01 20:40:19 +00:00
parent 3765ea419a
commit 6d7e47087f
10 changed files with 31 additions and 66 deletions

View File

@ -15,7 +15,6 @@ include ../py/py.mk
INC = -I.
INC += -I..
INC += -I$(PY_SRC)
INC += -I$(BUILD)
# compiler settings

View File

@ -31,13 +31,9 @@
#include <sys/stat.h>
#include <sys/types.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "stream.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/stream.h"
#ifdef _WIN32
#define fsync _commit

View File

@ -25,11 +25,8 @@
*/
#include <stdio.h>
#include <stdint.h>
#include "mpconfig.h"
#include "misc.h"
#include "gc.h"
#include "py/gc.h"
#if MICROPY_ENABLE_GC

View File

@ -25,15 +25,11 @@
*/
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "py/nlr.h"
#include "py/obj.h"
#include "input.h"
#if MICROPY_USE_READLINE

View File

@ -35,20 +35,17 @@
#include <sys/types.h>
#include <errno.h>
#include "mpconfig.h"
#include "nlr.h"
#include "obj.h"
#include "parsehelper.h"
#include "compile.h"
#include "runtime0.h"
#include "runtime.h"
#include "builtin.h"
#include "repl.h"
#include "gc.h"
#include "py/nlr.h"
#include "py/compile.h"
#include "py/parsehelper.h"
#include "py/runtime.h"
#include "py/builtin.h"
#include "py/repl.h"
#include "py/gc.h"
#include "py/stackctrl.h"
#include "py/pfenv.h"
#include "genhdr/py-version.h"
#include "input.h"
#include "stackctrl.h"
#include "pfenv.h"
// Command line options, with their defaults
STATIC bool compile_only = false;

View File

@ -31,13 +31,9 @@
#include <dlfcn.h>
#include <ffi.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "binary.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/binary.h"
/*
* modffi uses character codes to encode a value type, based on "struct"

View File

@ -31,13 +31,9 @@
#include <errno.h>
#include <stdlib.h>
#include "mpconfig.h"
#include "misc.h"
#include "nlr.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "objtuple.h"
#include "py/nlr.h"
#include "py/runtime.h"
#include "py/objtuple.h"
#define RAISE_ERRNO(err_flag, error_val) \
{ if (err_flag == -1) \

View File

@ -38,16 +38,12 @@
#include <netdb.h>
#include <errno.h>
#include "mpconfig.h"
#include "nlr.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "objtuple.h"
#include "objstr.h"
#include "runtime.h"
#include "stream.h"
#include "builtin.h"
#include "py/nlr.h"
#include "py/objtuple.h"
#include "py/objstr.h"
#include "py/runtime.h"
#include "py/stream.h"
#include "py/builtin.h"
/*
The idea of this module is to implement reasonable minimum of

View File

@ -29,13 +29,9 @@
#include <unistd.h>
#include <errno.h>
#include "mpconfig.h"
#include "misc.h"
#include "nlr.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "objlist.h"
#include "py/nlr.h"
#include "py/objlist.h"
#include "py/runtime.h"
#define RAISE_ERRNO(err_flag, error_val) \
{ if (err_flag == -1) \

View File

@ -30,11 +30,7 @@
#include <sys/time.h>
#include <math.h>
#include "mpconfig.h"
#include "misc.h"
#include "qstr.h"
#include "obj.h"
#include "runtime.h"
#include "py/runtime.h"
#ifdef _WIN32
void msec_sleep_tv(struct timeval *tv) {