Merge pull request #148 from davidgiven/dtrg-windows

Make the ACK build on Windows again.
This commit is contained in:
David Given 2019-02-09 14:15:38 +01:00 committed by GitHub
commit 74f0eb90fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
46 changed files with 59 additions and 44 deletions

17
.appveyor.yml Normal file
View file

@ -0,0 +1,17 @@
environment:
matrix:
- CYGWIN: C:\cygwin64
clone_depth: 1
init:
- git config --global core.autocrlf input
install:
- '%CYGWIN%\bin\bash -lc "cygcheck -dc cygwin"'
- '%CYGWIN%\setup-x86_64 -q -P bison,flex,ninja'
build_script:
- 'echo building...'
- '%CYGWIN%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; make +ack"'

View file

@ -77,7 +77,7 @@ static void cmd_register(void)
if (w1 && w2)
{
Z80_REG_T reg = -1;
int reg = -1;
if (strcmp(w1, "sp") == 0)
reg = SP;
else if (strcmp(w1, "pc") == 0)

View file

@ -2,9 +2,7 @@
#define GLOBALS_H
#include <stdbool.h>
#include <z80ex/z80ex.h>
extern Z80EX_CONTEXT* z80;
extern uint8_t ram[0x10000];
extern void emulator_init(void);

View file

@ -24,7 +24,7 @@
#include "../share/lset.h"
#include "../share/map.h"
#include "../share/alloc.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/def.h"
#include "../share/go.h"

View file

@ -14,7 +14,7 @@
#include "../share/debug.h"
#include "../share/lset.h"
#include "../share/alloc.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "cf.h"
#define MARK_STRONG(b) b->b_flags |= BF_STRONG

View file

@ -22,7 +22,7 @@
#include "../share/lset.h"
#include "../share/map.h"
#include "../share/alloc.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/def.h"
#include "../share/stack_chg.h"
#include "../share/go.h"

View file

@ -5,7 +5,7 @@
*/
#include "../share/types.h"
#include "../share/debug.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/global.h"
#include "../share/lset.h"
#include "cs.h"

View file

@ -11,7 +11,7 @@
#include <em_mnem.h>
#include "../share/types.h"
#include "../share/debug.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/lset.h"
#include "../share/global.h"
#include "cs.h"

View file

@ -8,7 +8,7 @@
#include "../share/types.h"
#include "../share/alloc.h"
#include "../share/lset.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/global.h"
#include "../share/debug.h"
#include "cs.h"

View file

@ -5,7 +5,7 @@
*/
#include <em_mnem.h>
#include "../share/types.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/debug.h"
#include "../share/global.h"
#include "cs.h"

View file

@ -9,7 +9,7 @@
#include "../share/global.h"
#include "../share/lset.h"
#include "../share/cset.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/map.h"
#include "cs.h"
#include "cs_aux.h"

View file

@ -10,7 +10,7 @@
#include <em_reg.h>
#include <em_spec.h>
#include "../share/types.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/debug.h"
#include "../share/global.h"
#include "cs.h"

View file

@ -10,7 +10,7 @@
#include "../share/types.h"
#include "../share/debug.h"
#include "../share/global.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/cset.h"
#include "../share/lset.h"
#include "cs.h"

View file

@ -9,7 +9,7 @@
#include "../share/types.h"
#include "../share/global.h"
#include "../share/debug.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "cs.h"
#include "cs_aux.h"

View file

@ -10,7 +10,7 @@
#include "../share/types.h"
#include "../share/global.h"
#include "../share/debug.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "cs.h"
#include "cs_alloc.h"
#include "cs_aux.h"

View file

@ -27,7 +27,7 @@
#include "../share/global.h"
#include "../share/files.h"
#include "../share/put.h"
#include "../share/aux.h"
#include "../share/utils.h"
/* Global variables */

View file

@ -17,7 +17,7 @@
#include "../share/global.h"
#include "../share/debug.h"
#include "../share/def.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "ic.h"
#include "ic_io.h"
#include "ic_lookup.h"

View file

@ -17,7 +17,7 @@
#include "../share/alloc.h"
#include "../share/global.h"
#include "../share/lset.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "il1_aux.h"
#include "il1_formal.h"
#include "il1_cal.h"

View file

@ -21,7 +21,7 @@
#include "il_aux.h"
#include "il2_aux.h"
#include "../share/get.h"
#include "../share/aux.h"
#include "../share/utils.h"
#define USE_INDIR(p) (p->p_use->u_flags & UF_INDIR)

View file

@ -22,7 +22,7 @@
#include "../share/global.h"
#include "../share/def.h"
#include "../share/lset.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/get.h"
#include "../share/put.h"
#include "il_aux.h"

View file

@ -25,7 +25,7 @@
#include "../share/map.h"
#include "../share/get.h"
#include "../share/put.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/init_glob.h"
#include "../share/locals.h"
#include "../share/go.h"

View file

@ -18,7 +18,7 @@
#include "../share/global.h"
#include "../share/lset.h"
#include "../share/cset.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/alloc.h"
#include "../share/map.h"
#include "ra.h"

View file

@ -17,7 +17,7 @@
#include "../share/def.h"
#include "../share/global.h"
#include "../share/lset.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/alloc.h"
#include "ra.h"
#include "ra_aux.h"

View file

@ -19,7 +19,7 @@
#include "../share/def.h"
#include "../share/global.h"
#include "../share/lset.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/alloc.h"
#include "ra.h"
#include "ra_aux.h"

View file

@ -17,7 +17,7 @@
#include "../share/lset.h"
#include "../share/cset.h"
#include "../share/alloc.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "ra.h"
#include "ra_aux.h"
#include "ra_interv.h"

View file

@ -19,7 +19,7 @@
#include "../share/def.h"
#include "../share/global.h"
#include "../share/lset.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/alloc.h"
#include "ra.h"
#include "ra_interv.h"

View file

@ -36,7 +36,7 @@ clibrary {
"./files.c",
"./go.c",
"./map.c",
"./aux.c",
"./utils.c",
"./get.c",
"./put.c",
"./alloc.c",

View file

@ -22,7 +22,7 @@
#include "get.h"
#include "alloc.h"
#include "map.h"
#include "aux.h"
#include "utils.h"
FILE *curinp;
block_id lastbid; /* block identifying number */

View file

@ -20,7 +20,7 @@
#include "cset.h"
#include "def.h"
#include "get.h"
#include "aux.h"
#include "utils.h"
#include "alloc.h"
#include "locals.h"

View file

@ -12,7 +12,7 @@
#include "alloc.h"
#include "global.h"
#include "lset.h"
#include "aux.h"
#include "utils.h"
struct class {
byte src_class;

View file

@ -15,7 +15,7 @@
#include "debug.h"
#include "global.h"
#include "alloc.h"
#include "aux.h"
#include "utils.h"
#include "map.h"
#include "lset.h"

View file

@ -23,7 +23,7 @@
#include "../share/lset.h"
#include "../share/map.h"
#include "../share/alloc.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/go.h"
#include "../share/stack_chg.h"

View file

@ -20,7 +20,7 @@
#include "../share/map.h"
#include "../share/alloc.h"
#include "../share/go.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "sr_aux.h"
#include "sr_iv.h"

View file

@ -17,7 +17,7 @@
#include "../share/debug.h"
#include "../share/global.h"
#include "../share/lset.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "sr_aux.h"
#include "sr_xform.h"

View file

@ -17,7 +17,7 @@
#include "../share/debug.h"
#include "../share/global.h"
#include "../share/map.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "sr.h"
#include "sr_aux.h"
#include "sr_cand.h"

View file

@ -16,7 +16,7 @@
#include "sr.h"
#include "../share/debug.h"
#include "../share/global.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "sr_aux.h"
#include "../share/lset.h"
#include "sr_iv.h"

View file

@ -19,7 +19,7 @@
#include "../share/debug.h"
#include "../share/global.h"
#include "../share/alloc.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "sr_aux.h"
#include "sr_cand.h"
#include "sr_iv.h"

View file

@ -22,7 +22,7 @@
#include "../share/alloc.h"
#include "../share/def.h"
#include "../share/global.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "sr_aux.h"
#include "../share/lset.h"
#include "sr_xform.h"

View file

@ -24,7 +24,7 @@
#include "../share/get.h"
#include "sr_aux.h"
#include "../share/lset.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "sr_xform.h"
/* Transformations on EM texts */

View file

@ -21,7 +21,7 @@
#include "../share/get.h"
#include "../share/put.h"
#include "../share/alloc.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/init_glob.h"
#include "../share/locals.h"
#include "../share/go.h"

View file

@ -21,7 +21,7 @@
#include "../share/cset.h"
#include "../share/def.h"
#include "../share/locals.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "ud_defs.h"
repl_line(old,new,b)

View file

@ -16,7 +16,7 @@
#include "../share/lset.h"
#include "../share/cset.h"
#include "../share/def.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/locals.h"
#include "ud_defs.h"
#include "ud_const.h"

View file

@ -16,7 +16,7 @@
#include "../share/lset.h"
#include "../share/cset.h"
#include "../share/def.h"
#include "../share/aux.h"
#include "../share/utils.h"
#include "../share/locals.h"
#include "../ud/ud_defs.h"
#include "ud_copy.h"

View file

@ -20,7 +20,7 @@
#include "../share/locals.h"
#include "ud_defs.h"
#include "../share/alloc.h"
#include "../share/aux.h"
#include "../share/utils.h"
short nrdefs; /* total number of definitions */
short nrexpldefs; /* number of explicit definitions */