Merge the macho32 and macho64 (outmac32/64) backends
[nasm.git] / Mkfiles / openwcom.mak
blobc673c4714eb47939817daa24462e56109372a987
1 # -*- makefile -*-
3 # Makefile for building NASM using OpenWatcom
4 # cross-compile on a DOS/Win32/OS2/Linux platform host
7 top_srcdir = .
8 srcdir = .
9 VPATH = .;$(srcdir)/output;$(srcdir)/lib
10 prefix = C:\Program Files\NASM
11 exec_prefix = $(prefix)
12 bindir = $(prefix)\bin
13 mandir = $(prefix)\man
15 CC = *wcl386
16 DEBUG =
17 CFLAGS = -zq -6 -ox -wx -ze -fpi $(DEBUG)
18 BUILD_CFLAGS = $(CFLAGS) $(%TARGET_CFLAGS)
19 INTERNAL_CFLAGS = -I$(srcdir) -I. -DHAVE_CONFIG_H
20 ALL_CFLAGS = $(BUILD_CFLAGS) $(INTERNAL_CFLAGS)
21 LD = *wlink
22 LDEBUG =
23 LDFLAGS = op quiet $(%TARGET_LFLAGS) $(LDEBUG)
24 LIBS =
25 PERL = perl -I$(srcdir)/perllib
27 STRIP = wstrip
29 # Binary suffixes
30 O = obj
31 X = .exe
33 # WMAKE errors out if a suffix is declared more than once, including
34 # its own built-in declarations. Thus, we need to explicitly clear the list
35 # first. Also, WMAKE only allows implicit rules that point "to the left"
36 # in this list!
37 .SUFFIXES:
38 .SUFFIXES: .man .1 .$(O) .i .c
40 # Needed to find C files anywhere but in the current directory
41 .c : $(VPATH)
43 .c.$(O):
44 @set INCLUDE=
45 $(CC) -c $(ALL_CFLAGS) -fo=$^@ $[@
47 #-- Begin File Lists --#
48 # Edit in Makefile.in, not here!
49 NASM = nasm.$(O) nasmlib.$(O) ver.$(O) &
50 raa.$(O) saa.$(O) rbtree.$(O) &
51 realpath.$(O) &
52 float.$(O) insnsa.$(O) insnsb.$(O) &
53 directiv.$(O) &
54 assemble.$(O) labels.$(O) hashtbl.$(O) crc64.$(O) parser.$(O) &
55 output/outform.$(O) output/outlib.$(O) output/nulldbg.$(O) &
56 output/nullout.$(O) &
57 output/outbin.$(O) output/outaout.$(O) output/outcoff.$(O) &
58 output/outelf.$(O) output/outelf32.$(O) output/outelf64.$(O) &
59 output/outelfx32.$(O) &
60 output/outobj.$(O) output/outas86.$(O) output/outrdf2.$(O) &
61 output/outdbg.$(O) output/outieee.$(O) output/outmac.$(O) &
62 md5c.$(O) output/codeview.$(O) &
63 preproc.$(O) quote.$(O) pptok.$(O) &
64 macros.$(O) listing.$(O) eval.$(O) exprlib.$(O) stdscan.$(O) &
65 strfunc.$(O) tokhash.$(O) regvals.$(O) regflags.$(O) &
66 ilog2.$(O) &
67 lib/strlcpy.$(O) &
68 preproc-nop.$(O) &
69 disp8.$(O) &
70 iflag.$(O)
72 NDISASM = ndisasm.$(O) disasm.$(O) sync.$(O) nasmlib.$(O) ver.$(O) &
73 insnsd.$(O) insnsb.$(O) insnsn.$(O) regs.$(O) regdis.$(O) &
74 disp8.$(O) iflag.$(O)
75 #-- End File Lists --#
77 what: .SYMBOLIC
78 @echo Please build "dos", "win32", "os2" or "linux386"
80 dos: .SYMBOLIC
81 @set TARGET_CFLAGS=-bt=DOS -I"$(%WATCOM)/h"
82 @set TARGET_LFLAGS=sys causeway
83 @%make all
85 win32: .SYMBOLIC
86 @set TARGET_CFLAGS=-bt=NT -I"$(%WATCOM)/h" -I"$(%WATCOM)/h/nt"
87 @set TARGET_LFLAGS=sys nt
88 @%make all
90 os2: .SYMBOLIC
91 @set TARGET_CFLAGS=-bt=OS2 -I"$(%WATCOM)/h" -I"$(%WATCOM)/h/os2"
92 @set TARGET_LFLAGS=sys os2v2
93 @%make all
95 linux386: .SYMBOLIC
96 @set TARGET_CFLAGS=-bt=LINUX -I"$(%WATCOM)/lh"
97 @set TARGET_LFLAGS=sys linux
98 @%make all
100 all: config.h perlreq nasm$(X) ndisasm$(X) .SYMBOLIC
101 # cd rdoff && $(MAKE) all
103 nasm$(X): $(NASM)
104 $(LD) $(LDFLAGS) name nasm$(X) file {$(NASM)} $(LIBS)
106 ndisasm$(X): $(NDISASM)
107 $(LD) $(LDFLAGS) name ndisasm$(X) file {$(NDISASM)} $(LIBS)
109 # These source files are automagically generated from a single
110 # instruction-table file by a Perl script. They're distributed,
111 # though, so it isn't necessary to have Perl just to recompile NASM
112 # from the distribution.
114 insns.pl: insns-iflags.pl
116 iflag.c iflag.h: insns.dat insns.pl
117 $(PERL) $(srcdir)/insns.pl -t $(srcdir)/insns.dat
118 insnsb.c: insns.dat insns.pl
119 $(PERL) $(srcdir)/insns.pl -b $(srcdir)/insns.dat
120 insnsa.c: insns.dat insns.pl
121 $(PERL) $(srcdir)/insns.pl -a $(srcdir)/insns.dat
122 insnsd.c: insns.dat insns.pl
123 $(PERL) $(srcdir)/insns.pl -d $(srcdir)/insns.dat
124 insnsi.h: insns.dat insns.pl
125 $(PERL) $(srcdir)/insns.pl -i $(srcdir)/insns.dat
126 insnsn.c: insns.dat insns.pl
127 $(PERL) $(srcdir)/insns.pl -n $(srcdir)/insns.dat
129 # These files contains all the standard macros that are derived from
130 # the version number.
131 version.h: version version.pl
132 $(PERL) $(srcdir)/version.pl h < $(srcdir)/version > version.h
134 version.mac: version version.pl
135 $(PERL) $(srcdir)/version.pl mac < $(srcdir)/version > version.mac
137 # This source file is generated from the standard macros file
138 # `standard.mac' by another Perl script. Again, it's part of the
139 # standard distribution.
141 macros.c: macros.pl standard.mac version.mac macros/*.mac output/*.mac
142 $(PERL) $<
144 # These source files are generated from regs.dat by yet another
145 # perl script.
146 regs.c: regs.dat regs.pl
147 $(PERL) $(srcdir)/regs.pl c $(srcdir)/regs.dat > regs.c
148 regflags.c: regs.dat regs.pl
149 $(PERL) $(srcdir)/regs.pl fc $(srcdir)/regs.dat > regflags.c
150 regdis.c: regs.dat regs.pl
151 $(PERL) $(srcdir)/regs.pl dc $(srcdir)/regs.dat > regdis.c
152 regdis.h: regs.dat regs.pl
153 $(PERL) $(srcdir)/regs.pl dh $(srcdir)/regs.dat > regdis.h
154 regvals.c: regs.dat regs.pl
155 $(PERL) $(srcdir)/regs.pl vc $(srcdir)/regs.dat > regvals.c
156 regs.h: regs.dat regs.pl
157 $(PERL) $(srcdir)/regs.pl h $(srcdir)/regs.dat > regs.h
159 # Assembler token hash
160 tokhash.c: insns.dat regs.dat tokens.dat tokhash.pl perllib/phash.ph
161 $(PERL) $(srcdir)/tokhash.pl c $(srcdir)/insns.dat $(srcdir)/regs.dat &
162 $(srcdir)/tokens.dat > tokhash.c
164 # Assembler token metadata
165 tokens.h: insns.dat regs.dat tokens.dat tokhash.pl perllib/phash.ph
166 $(PERL) $(srcdir)/tokhash.pl h $(srcdir)/insns.dat $(srcdir)/regs.dat &
167 $(srcdir)/tokens.dat > tokens.h
169 # Preprocessor token hash
170 pptok.h: pptok.dat pptok.pl perllib/phash.ph
171 $(PERL) $(srcdir)/pptok.pl h $(srcdir)/pptok.dat pptok.h
172 pptok.c: pptok.dat pptok.pl perllib/phash.ph
173 $(PERL) $(srcdir)/pptok.pl c $(srcdir)/pptok.dat pptok.c
174 pptok.ph: pptok.dat pptok.pl perllib/phash.ph
175 $(PERL) $(srcdir)/pptok.pl ph $(srcdir)/pptok.dat pptok.ph
177 # Directives hash
178 directiv.h: directiv.dat directiv.pl perllib/phash.ph
179 $(PERL) $(srcdir)/directiv.pl h $(srcdir)/directiv.dat directiv.h
180 directiv.c: directiv.dat directiv.pl perllib/phash.ph
181 $(PERL) $(srcdir)/directiv.pl c $(srcdir)/directiv.dat directiv.c
183 # This target generates all files that require perl.
184 # This allows easier generation of distribution (see dist target).
185 PERLREQ = pptok.ph macros.c insnsb.c insnsa.c insnsd.c insnsi.h insnsn.c &
186 regs.c regs.h regflags.c regdis.c regdis.h regvals.c &
187 tokhash.c tokens.h pptok.h pptok.c &
188 directiv.c directiv.h &
189 version.h version.mac &
190 iflag.c iflag.h
191 perlreq: $(PERLREQ) .SYMBOLIC
193 clean: .SYMBOLIC
194 rm -f *.$(O) *.s *.i
195 rm -f lib/*.$(O) lib/*.s lib/*.i
196 rm -f output/*.$(O) output/*.s output/*.i
197 rm -f config.h config.log config.status
198 rm -f nasm$(X) ndisasm$(X)
199 # cd rdoff && $(MAKE) clean
201 distclean: clean .SYMBOLIC
202 rm -f config.h config.log config.status
203 rm -f Makefile *~ *.bak *.lst *.bin
204 rm -f output/*~ output/*.bak
205 rm -f test/*.lst test/*.bin test/*.$(O) test/*.bin
206 # -del /s autom4te*.cache
207 # cd rdoff && $(MAKE) distclean
209 cleaner: clean .SYMBOLIC
210 rm -f $(PERLREQ)
211 rm -f *.man
212 rm -f nasm.spec
213 # cd doc && $(MAKE) clean
215 spotless: distclean cleaner .SYMBOLIC
216 rm -f doc/Makefile doc/*~ doc/*.bak
218 strip: .SYMBOLIC
219 $(STRIP) *.exe
221 rdf:
222 # cd rdoff && $(MAKE)
224 doc:
225 # cd doc && $(MAKE) all
227 everything: all doc rdf
229 config.h: Mkfiles/openwcom.mak
230 @echo Creating $@
231 @%create $@
232 @%append $@ $#define HAVE_DECL_STRCASECMP 1
233 @%append $@ $#define HAVE_DECL_STRICMP 1
234 @%append $@ $#define HAVE_DECL_STRLCPY 1
235 @%append $@ $#define HAVE_DECL_STRNCASECMP 1
236 @%append $@ $#define HAVE_DECL_STRNICMP 1
237 @%append $@ $#define HAVE_INTTYPES_H 1
238 @%append $@ $#define HAVE_LIMITS_H 1
239 @%append $@ $#define HAVE_MEMORY_H 1
240 @%append $@ $#define HAVE_SNPRINTF 1
241 @%append $@ $#define HAVE_STDBOOL_H 1
242 @%append $@ $#define HAVE_STDINT_H 1
243 @%append $@ $#define HAVE_STDLIB_H 1
244 @%append $@ $#define HAVE_STRCASECMP 1
245 @%append $@ $#define HAVE_STRCSPN 1
246 @%append $@ $#define HAVE_STRICMP 1
247 @%append $@ $#define HAVE_STRINGS_H 1
248 @%append $@ $#define HAVE_STRING_H 1
249 @%append $@ $#define HAVE_STRLCPY 1
250 @%append $@ $#define HAVE_STRNCASECMP 1
251 @%append $@ $#define HAVE_STRNICMP 1
252 @%append $@ $#define HAVE_STRSPN 1
253 @%append $@ $#define HAVE_SYS_STAT_H 1
254 @%append $@ $#define HAVE_SYS_TYPES_H 1
255 @%append $@ $#define HAVE_UNISTD_H 1
256 @%append $@ $#define HAVE_VSNPRINTF 1
257 @%append $@ $#define STDC_HEADERS 1
260 # This build dependencies in *ALL* makefiles. Partially for that reason,
261 # it's expected to be invoked manually.
263 alldeps: perlreq .SYMBOLIC
264 $(PERL) syncfiles.pl Makefile.in Mkfiles/openwcom.mak
265 $(PERL) mkdep.pl -M Makefile.in Mkfiles/openwcom.mak -- . output lib
267 #-- Magic hints to mkdep.pl --#
268 # @object-ending: ".$(O)"
269 # @path-separator: "/"
270 # @exclude: ""
271 # @continuation: "&"
272 #-- Everything below is generated by mkdep.pl - do not edit --#
273 assemble.$(O): assemble.c assemble.h compiler.h config.h directiv.h disp8.h &
274 iflag.h iflaggen.h insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h &
275 preproc.h regs.h tables.h tokens.h
276 crc64.$(O): crc64.c compiler.h config.h hashtbl.h nasmlib.h
277 directiv.$(O): directiv.c compiler.h config.h directiv.h hashtbl.h insnsi.h &
278 nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
279 disasm.$(O): disasm.c compiler.h config.h directiv.h disasm.h disp8.h &
280 iflag.h iflaggen.h insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h &
281 preproc.h regdis.h regs.h sync.h tables.h tokens.h
282 disp8.$(O): disp8.c compiler.h config.h directiv.h disp8.h insnsi.h nasm.h &
283 nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
284 eval.$(O): eval.c compiler.h config.h directiv.h eval.h float.h insnsi.h &
285 labels.h nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
286 exprlib.$(O): exprlib.c compiler.h config.h directiv.h insnsi.h nasm.h &
287 nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
288 float.$(O): float.c compiler.h config.h directiv.h float.h insnsi.h nasm.h &
289 nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
290 hashtbl.$(O): hashtbl.c compiler.h config.h directiv.h hashtbl.h insnsi.h &
291 nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
292 iflag.$(O): iflag.c compiler.h config.h iflag.h iflaggen.h
293 ilog2.$(O): ilog2.c compiler.h config.h nasmlib.h
294 insnsa.$(O): insnsa.c compiler.h config.h directiv.h iflag.h iflaggen.h &
295 insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h &
296 tables.h tokens.h
297 insnsb.$(O): insnsb.c compiler.h config.h directiv.h iflag.h iflaggen.h &
298 insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h &
299 tables.h tokens.h
300 insnsd.$(O): insnsd.c compiler.h config.h directiv.h iflag.h iflaggen.h &
301 insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h &
302 tables.h tokens.h
303 insnsn.$(O): insnsn.c compiler.h config.h insnsi.h tables.h
304 labels.$(O): labels.c compiler.h config.h directiv.h hashtbl.h insnsi.h &
305 labels.h nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
306 lib/snprintf.$(O): lib/snprintf.c compiler.h config.h nasmlib.h
307 lib/strlcpy.$(O): lib/strlcpy.c compiler.h config.h
308 lib/vsnprintf.$(O): lib/vsnprintf.c compiler.h config.h nasmlib.h
309 listing.$(O): listing.c compiler.h config.h directiv.h insnsi.h listing.h &
310 nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
311 macros.$(O): macros.c compiler.h config.h directiv.h hashtbl.h insnsi.h &
312 nasm.h nasmlib.h opflags.h output/outform.h pptok.h preproc.h regs.h &
313 tables.h
314 md5c.$(O): md5c.c md5.h
315 nasm.$(O): nasm.c assemble.h compiler.h config.h directiv.h eval.h float.h &
316 iflag.h iflaggen.h insns.h insnsi.h labels.h listing.h nasm.h nasmlib.h &
317 opflags.h output/outform.h parser.h pptok.h preproc.h raa.h regs.h saa.h &
318 stdscan.h tables.h tokens.h
319 nasmlib.$(O): nasmlib.c compiler.h config.h directiv.h iflag.h iflaggen.h &
320 insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h &
321 tables.h tokens.h
322 ndisasm.$(O): ndisasm.c compiler.h config.h directiv.h disasm.h iflag.h &
323 iflaggen.h insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h &
324 regs.h sync.h tables.h tokens.h
325 output/codeview.$(O): output/codeview.c compiler.h config.h directiv.h &
326 insnsi.h md5.h nasm.h nasmlib.h opflags.h output/outlib.h output/pecoff.h &
327 pptok.h preproc.h regs.h saa.h tables.h version.h
328 output/nulldbg.$(O): output/nulldbg.c compiler.h config.h directiv.h &
329 insnsi.h nasm.h nasmlib.h opflags.h output/outlib.h pptok.h preproc.h &
330 regs.h tables.h
331 output/nullout.$(O): output/nullout.c compiler.h config.h directiv.h &
332 insnsi.h nasm.h nasmlib.h opflags.h output/outlib.h pptok.h preproc.h &
333 regs.h tables.h
334 output/outaout.$(O): output/outaout.c compiler.h config.h directiv.h eval.h &
335 insnsi.h nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h &
336 pptok.h preproc.h raa.h regs.h saa.h stdscan.h tables.h
337 output/outas86.$(O): output/outas86.c compiler.h config.h directiv.h &
338 insnsi.h nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h &
339 pptok.h preproc.h raa.h regs.h saa.h tables.h
340 output/outbin.$(O): output/outbin.c compiler.h config.h directiv.h eval.h &
341 insnsi.h labels.h nasm.h nasmlib.h opflags.h output/outform.h &
342 output/outlib.h pptok.h preproc.h regs.h saa.h stdscan.h tables.h
343 output/outcoff.$(O): output/outcoff.c compiler.h config.h directiv.h eval.h &
344 insnsi.h nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h &
345 output/pecoff.h pptok.h preproc.h raa.h regs.h saa.h tables.h
346 output/outdbg.$(O): output/outdbg.c compiler.h config.h directiv.h insnsi.h &
347 nasm.h nasmlib.h opflags.h output/outform.h pptok.h preproc.h regs.h &
348 tables.h
349 output/outelf.$(O): output/outelf.c compiler.h config.h directiv.h insnsi.h &
350 nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h output/outelf.h &
351 output/outform.h pptok.h preproc.h rbtree.h regs.h saa.h tables.h
352 output/outelf32.$(O): output/outelf32.c compiler.h config.h directiv.h &
353 eval.h insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h &
354 output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h &
355 preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
356 output/outelf64.$(O): output/outelf64.c compiler.h config.h directiv.h &
357 eval.h insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h &
358 output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h &
359 preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
360 output/outelfx32.$(O): output/outelfx32.c compiler.h config.h directiv.h &
361 eval.h insnsi.h nasm.h nasmlib.h opflags.h output/dwarf.h output/elf.h &
362 output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h &
363 preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h
364 output/outform.$(O): output/outform.c compiler.h config.h directiv.h &
365 insnsi.h nasm.h nasmlib.h opflags.h output/outform.h pptok.h preproc.h &
366 regs.h tables.h
367 output/outieee.$(O): output/outieee.c compiler.h config.h directiv.h &
368 insnsi.h nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h &
369 pptok.h preproc.h regs.h tables.h
370 output/outlib.$(O): output/outlib.c compiler.h config.h directiv.h insnsi.h &
371 nasm.h nasmlib.h opflags.h output/outlib.h pptok.h preproc.h regs.h &
372 tables.h
373 output/outmac.$(O): output/outmac.c compiler.h config.h directiv.h insnsi.h &
374 nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h pptok.h &
375 preproc.h raa.h regs.h saa.h tables.h
376 output/outobj.$(O): output/outobj.c compiler.h config.h directiv.h eval.h &
377 insnsi.h nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h &
378 pptok.h preproc.h regs.h stdscan.h tables.h
379 output/outrdf2.$(O): output/outrdf2.c compiler.h config.h directiv.h &
380 insnsi.h nasm.h nasmlib.h opflags.h output/outform.h output/outlib.h &
381 pptok.h preproc.h rdoff/rdoff.h regs.h saa.h tables.h
382 parser.$(O): parser.c compiler.h config.h directiv.h eval.h float.h iflag.h &
383 iflaggen.h insns.h insnsi.h nasm.h nasmlib.h opflags.h parser.h pptok.h &
384 preproc.h regs.h stdscan.h tables.h tokens.h
385 pptok.$(O): pptok.c compiler.h config.h hashtbl.h nasmlib.h pptok.h &
386 preproc.h
387 preproc-nop.$(O): preproc-nop.c compiler.h config.h directiv.h insnsi.h &
388 nasm.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
389 preproc.$(O): preproc.c compiler.h config.h directiv.h eval.h hashtbl.h &
390 insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h quote.h regs.h &
391 stdscan.h tables.h tokens.h
392 quote.$(O): quote.c compiler.h config.h nasmlib.h quote.h
393 raa.$(O): raa.c compiler.h config.h nasmlib.h raa.h
394 rbtree.$(O): rbtree.c compiler.h config.h rbtree.h
395 realpath.$(O): realpath.c compiler.h config.h nasmlib.h
396 regdis.$(O): regdis.c regdis.h regs.h
397 regflags.$(O): regflags.c compiler.h config.h directiv.h insnsi.h nasm.h &
398 nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
399 regs.$(O): regs.c compiler.h config.h insnsi.h tables.h
400 regvals.$(O): regvals.c compiler.h config.h insnsi.h tables.h
401 saa.$(O): saa.c compiler.h config.h nasmlib.h saa.h
402 stdscan.$(O): stdscan.c compiler.h config.h directiv.h iflag.h iflaggen.h &
403 insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h quote.h &
404 regs.h stdscan.h tables.h tokens.h
405 strfunc.$(O): strfunc.c compiler.h config.h directiv.h insnsi.h nasm.h &
406 nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
407 sync.$(O): sync.c compiler.h config.h nasmlib.h sync.h
408 tokhash.$(O): tokhash.c compiler.h config.h directiv.h hashtbl.h iflag.h &
409 iflaggen.h insns.h insnsi.h nasm.h nasmlib.h opflags.h pptok.h preproc.h &
410 regs.h stdscan.h tables.h tokens.h
411 ver.$(O): ver.c compiler.h config.h directiv.h insnsi.h nasm.h nasmlib.h &
412 opflags.h pptok.h preproc.h regs.h tables.h version.h