Merge pull request #148 from davidgiven/dtrg-windows
Make the ACK build on Windows again.
This commit is contained in:
		
						commit
						74f0eb90fa
					
				
					 46 changed files with 59 additions and 44 deletions
				
			
		
							
								
								
									
										17
									
								
								.appveyor.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								.appveyor.yml
									
										
									
									
									
										Normal 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"' | ||||
| 
 | ||||
|  | @ -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) | ||||
|  |  | |||
|  | @ -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); | ||||
|  |  | |||
|  | @ -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" | ||||
| 
 | ||||
|  |  | |||
|  | @ -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 | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
| 
 | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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 */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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) | ||||
| 
 | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -36,7 +36,7 @@ clibrary { | |||
| 		"./files.c", | ||||
| 		"./go.c", | ||||
| 		"./map.c", | ||||
| 		"./aux.c", | ||||
| 		"./utils.c", | ||||
| 		"./get.c", | ||||
| 		"./put.c", | ||||
| 		"./alloc.c", | ||||
|  |  | |||
|  | @ -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 */ | ||||
|  |  | |||
|  | @ -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" | ||||
| 
 | ||||
|  |  | |||
|  | @ -12,7 +12,7 @@ | |||
| #include "alloc.h" | ||||
| #include "global.h" | ||||
| #include "lset.h" | ||||
| #include "aux.h" | ||||
| #include "utils.h" | ||||
| 
 | ||||
| struct class { | ||||
| 	byte	src_class; | ||||
|  |  | |||
|  | @ -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" | ||||
| 
 | ||||
|  | @ -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" | ||||
| 
 | ||||
|  |  | |||
|  | @ -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" | ||||
| 
 | ||||
|  |  | |||
|  | @ -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" | ||||
| 
 | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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 */ | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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) | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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" | ||||
|  |  | |||
|  | @ -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 */ | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue