3 # Makefile for building NASM using OpenWatcom
4 # cross-compile on a DOS/Win32/OS2/Linux platform host
9 VPATH
= .
;$(srcdir)/output
;$(srcdir)/lib
10 prefix = C
:\Program Files\NASM
11 exec_prefix = $(prefix)
12 bindir = $(prefix)\bin
13 mandir = $(prefix)\man
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
)
23 LDFLAGS
= op quiet
$(%TARGET_LFLAGS
) $(LDEBUG
)
25 PERL
= perl
-I
$(srcdir)/perllib
-I
$(srcdir)
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"
38 .SUFFIXES
: .man
.1 .
$(O
) .i .c
40 # Needed to find C files anywhere but in the current directory
45 $(CC
) -c
$(ALL_CFLAGS
) -fo
=$^@
$[@
47 #-- Begin File Lists --#
48 # Edit in Makefile.in, not here!
50 raa.
$(O
) saa.
$(O
) rbtree.
$(O
) &
51 float.
$(O
) insnsa.
$(O
) insnsb.
$(O
) &
53 assemble.
$(O
) labels.
$(O
) hashtbl.
$(O
) parser.
$(O
) &
54 output
/outform.
$(O
) output
/outlib.
$(O
) output
/nulldbg.
$(O
) &
56 output
/outbin.
$(O
) output
/outaout.
$(O
) output
/outcoff.
$(O
) &
58 output
/outobj.
$(O
) output
/outas86.
$(O
) output
/outrdf2.
$(O
) &
59 output
/outdbg.
$(O
) output
/outieee.
$(O
) output
/outmacho.
$(O
) &
60 output
/codeview.
$(O
) &
61 preproc.
$(O
) quote.
$(O
) pptok.
$(O
) &
62 macros.
$(O
) listing.
$(O
) eval.
$(O
) exprlib.
$(O
) stdscan.
$(O
) &
63 strfunc.
$(O
) tokhash.
$(O
) regvals.
$(O
) regflags.
$(O
) &
68 NDISASM
= ndisasm.
$(O
) disasm.
$(O
) sync.
$(O
) &
69 insnsd.
$(O
) insnsb.
$(O
) insnsn.
$(O
) regs.
$(O
) regdis.
$(O
) &
72 LIBOBJ
= stdlib
/snprintf.
$(O
) stdlib
/vsnprintf.
$(O
) stdlib
/strlcpy.
$(O
) &
73 nasmlib
/nasmlib.
$(O
) nasmlib
/ver.
$(O
) &
74 nasmlib
/file.
$(O
) nasmlib
/realpath.
$(O
) &
75 nasmlib
/ilog2.
$(O
) nasmlib
/md5c.
$(O
) nasmlib
/crc64.
$(O
) &
77 #-- End File Lists --#
80 @echo Please build
"dos", "win32", "os2" or
"linux386"
83 @set TARGET_CFLAGS
=-bt
=DOS
-I
"$(%WATCOM)/h"
84 @set TARGET_LFLAGS
=sys causeway
88 @set TARGET_CFLAGS
=-bt
=NT
-I
"$(%WATCOM)/h" -I
"$(%WATCOM)/h/nt"
89 @set TARGET_LFLAGS
=sys nt
93 @set TARGET_CFLAGS
=-bt
=OS2
-I
"$(%WATCOM)/h" -I
"$(%WATCOM)/h/os2"
94 @set TARGET_LFLAGS
=sys os2v2
98 @set TARGET_CFLAGS
=-bt
=LINUX
-I
"$(%WATCOM)/lh"
99 @set TARGET_LFLAGS
=sys linux
102 all: config.h perlreq nasm
$(X
) ndisasm
$(X
) .SYMBOLIC
103 # cd rdoff && $(MAKE) all
106 $(LD
) $(LDFLAGS
) name nasm
$(X
) file
{$(NASM
)} $(LIBS
)
108 ndisasm
$(X
): $(NDISASM
)
109 $(LD
) $(LDFLAGS
) name ndisasm
$(X
) file
{$(NDISASM
)} $(LIBS
)
111 # These source files are automagically generated from a single
112 # instruction-table file by a Perl script. They're distributed,
113 # though, so it isn't necessary to have Perl just to recompile NASM
114 # from the distribution.
116 insns.pl
: insns-iflags.pl
118 iflag.c iflag.h
: insns.dat insns.pl
119 $(PERL
) $(srcdir)/insns.pl
-t
$(srcdir)/insns.dat
120 insnsb.c
: insns.dat insns.pl
121 $(PERL
) $(srcdir)/insns.pl
-b
$(srcdir)/insns.dat
122 insnsa.c
: insns.dat insns.pl
123 $(PERL
) $(srcdir)/insns.pl
-a
$(srcdir)/insns.dat
124 insnsd.c
: insns.dat insns.pl
125 $(PERL
) $(srcdir)/insns.pl
-d
$(srcdir)/insns.dat
126 insnsi.h
: insns.dat insns.pl
127 $(PERL
) $(srcdir)/insns.pl
-i
$(srcdir)/insns.dat
128 insnsn.c
: insns.dat insns.pl
129 $(PERL
) $(srcdir)/insns.pl
-n
$(srcdir)/insns.dat
131 # These files contains all the standard macros that are derived from
132 # the version number.
133 version.h
: version version.pl
134 $(PERL
) $(srcdir)/version.pl h
< $(srcdir)/version
> version.h
136 version.mac
: version version.pl
137 $(PERL
) $(srcdir)/version.pl mac
< $(srcdir)/version
> version.mac
139 # This source file is generated from the standard macros file
140 # `standard.mac' by another Perl script. Again, it's part of the
141 # standard distribution.
143 macros.c
: macros.pl standard.mac version.mac macros
/*.mac output
/*.mac
146 # These source files are generated from regs.dat by yet another
148 regs.c
: regs.dat regs.pl
149 $(PERL
) $(srcdir)/regs.pl c
$(srcdir)/regs.dat
> regs.c
150 regflags.c
: regs.dat regs.pl
151 $(PERL
) $(srcdir)/regs.pl
fc $(srcdir)/regs.dat
> regflags.c
152 regdis.c
: regs.dat regs.pl
153 $(PERL
) $(srcdir)/regs.pl dc
$(srcdir)/regs.dat
> regdis.c
154 regdis.h
: regs.dat regs.pl
155 $(PERL
) $(srcdir)/regs.pl dh
$(srcdir)/regs.dat
> regdis.h
156 regvals.c
: regs.dat regs.pl
157 $(PERL
) $(srcdir)/regs.pl vc
$(srcdir)/regs.dat
> regvals.c
158 regs.h
: regs.dat regs.pl
159 $(PERL
) $(srcdir)/regs.pl h
$(srcdir)/regs.dat
> regs.h
161 # Assembler token hash
162 tokhash.c
: insns.dat regs.dat tokens.dat tokhash.pl perllib
/phash.ph
163 $(PERL
) $(srcdir)/tokhash.pl c
$(srcdir)/insns.dat
$(srcdir)/regs.dat
&
164 $(srcdir)/tokens.dat
> tokhash.c
166 # Assembler token metadata
167 tokens.h
: insns.dat regs.dat tokens.dat tokhash.pl perllib
/phash.ph
168 $(PERL
) $(srcdir)/tokhash.pl h
$(srcdir)/insns.dat
$(srcdir)/regs.dat
&
169 $(srcdir)/tokens.dat
> tokens.h
171 # Preprocessor token hash
172 pptok.h
: pptok.dat pptok.pl perllib
/phash.ph
173 $(PERL
) $(srcdir)/pptok.pl h
$(srcdir)/pptok.dat pptok.h
174 pptok.c
: pptok.dat pptok.pl perllib
/phash.ph
175 $(PERL
) $(srcdir)/pptok.pl c
$(srcdir)/pptok.dat pptok.c
176 pptok.ph
: pptok.dat pptok.pl perllib
/phash.ph
177 $(PERL
) $(srcdir)/pptok.pl ph
$(srcdir)/pptok.dat pptok.ph
180 directiv.h
: directiv.dat directiv.pl perllib
/phash.ph
181 $(PERL
) $(srcdir)/directiv.pl h
$(srcdir)/directiv.dat directiv.h
182 directiv.c
: directiv.dat directiv.pl perllib
/phash.ph
183 $(PERL
) $(srcdir)/directiv.pl c
$(srcdir)/directiv.dat directiv.c
185 # This target generates all files that require perl.
186 # This allows easier generation of distribution (see dist target).
187 PERLREQ
= pptok.ph macros.c insnsb.c insnsa.c insnsd.c insnsi.h insnsn.c
&
188 regs.c regs.h regflags.c regdis.c regdis.h regvals.c
&
189 tokhash.c tokens.h pptok.h pptok.c
&
190 directiv.c directiv.h
&
191 version.h version.mac
&
193 perlreq
: $(PERLREQ
) .SYMBOLIC
197 rm -f lib
/*.
$(O
) lib
/*.s lib
/*.i
198 rm -f output
/*.
$(O
) output
/*.s output
/*.i
199 rm -f config.h config.log config.status
200 rm -f nasm
$(X
) ndisasm
$(X
)
201 # cd rdoff && $(MAKE) clean
203 distclean: clean .SYMBOLIC
204 rm -f config.h config.log config.status
205 rm -f Makefile
*~
*.bak
*.lst
*.bin
206 rm -f output
/*~ output
/*.bak
207 rm -f
test/*.lst
test/*.bin
test/*.
$(O
) test/*.bin
208 # -del /s autom4te*.cache
209 # cd rdoff && $(MAKE) distclean
211 cleaner
: clean .SYMBOLIC
215 # cd doc && $(MAKE) clean
217 spotless
: distclean cleaner .SYMBOLIC
218 rm -f doc
/Makefile doc
/*~ doc
/*.bak
224 # cd rdoff && $(MAKE)
227 # cd doc && $(MAKE) all
229 everything
: all doc rdf
231 config.h
: Mkfiles
/openwcom.mak
234 @
%append
$@
$#define HAVE_DECL_STRCASECMP 1
235 @
%append
$@
$#define HAVE_DECL_STRICMP 1
236 @
%append
$@
$#define HAVE_DECL_STRLCPY 1
237 @
%append
$@
$#define HAVE_DECL_STRNCASECMP 1
238 @
%append
$@
$#define HAVE_DECL_STRNICMP 1
239 @
%append
$@
$#define HAVE_INTTYPES_H 1
240 @
%append
$@
$#define HAVE_LIMITS_H 1
241 @
%append
$@
$#define HAVE_MEMORY_H 1
242 @
%append
$@
$#define HAVE_SNPRINTF 1
243 @
%append
$@
$#define HAVE_STDBOOL_H 1
244 @
%append
$@
$#define HAVE_STDINT_H 1
245 @
%append
$@
$#define HAVE_STDLIB_H 1
246 @
%append
$@
$#define HAVE_STRCASECMP 1
247 @
%append
$@
$#define HAVE_STRCSPN 1
248 @
%append
$@
$#define HAVE_STRICMP 1
249 @
%append
$@
$#define HAVE_STRINGS_H 1
250 @
%append
$@
$#define HAVE_STRING_H 1
251 @
%append
$@
$#define HAVE_STRLCPY 1
252 @
%append
$@
$#define HAVE_STRNCASECMP 1
253 @
%append
$@
$#define HAVE_STRNICMP 1
254 @
%append
$@
$#define HAVE_STRSPN 1
255 @
%append
$@
$#define HAVE_SYS_STAT_H 1
256 @
%append
$@
$#define HAVE_SYS_TYPES_H 1
257 @
%append
$@
$#define HAVE_UNISTD_H 1
258 @
%append
$@
$#define HAVE_VSNPRINTF 1
259 @
%append
$@
$#define STDC_HEADERS 1
262 # This build dependencies in *ALL* makefiles. Partially for that reason,
263 # it's expected to be invoked manually.
265 alldeps
: perlreq .SYMBOLIC
266 $(PERL
) syncfiles.pl Makefile.in Mkfiles
/openwcom.mak
267 $(PERL
) mkdep.pl
-M Makefile.in Mkfiles
/openwcom.mak
-- . output lib
269 #-- Magic hints to mkdep.pl --#
270 # @object-ending: ".$(O)"
271 # @path-separator: "/"
274 #-- Everything below is generated by mkdep.pl - do not edit --#
275 assemble.
$(O
): assemble.c assemble.h compiler.h config.h directiv.h disp8.h
&
276 iflag.h iflaggen.h insns.h insnsi.h listing.h nasm.h nasmint.h nasmlib.h
&
277 opflags.h pptok.h preproc.h regs.h tables.h tokens.h
278 directiv.
$(O
): directiv.c compiler.h config.h directiv.h hashtbl.h insnsi.h
&
279 nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
280 disasm.
$(O
): disasm.c compiler.h config.h directiv.h disasm.h disp8.h
&
281 iflag.h iflaggen.h insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h
&
282 pptok.h preproc.h regdis.h regs.h sync.h tables.h tokens.h
283 disp8.
$(O
): disp8.c compiler.h config.h directiv.h disp8.h insnsi.h nasm.h
&
284 nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
285 eval.
$(O
): eval.c compiler.h config.h directiv.h eval.h float.h insnsi.h
&
286 labels.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h
&
288 exprlib.
$(O
): exprlib.c compiler.h config.h directiv.h insnsi.h nasm.h
&
289 nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
290 float.
$(O
): float.c compiler.h config.h directiv.h float.h insnsi.h nasm.h
&
291 nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
292 hashtbl.
$(O
): hashtbl.c compiler.h config.h directiv.h hashtbl.h insnsi.h
&
293 nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
294 iflag.
$(O
): iflag.c compiler.h config.h iflag.h iflaggen.h nasmint.h
295 insnsa.
$(O
): insnsa.c compiler.h config.h directiv.h iflag.h iflaggen.h
&
296 insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h
&
297 regs.h tables.h tokens.h
298 insnsb.
$(O
): insnsb.c compiler.h config.h directiv.h iflag.h iflaggen.h
&
299 insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h
&
300 regs.h tables.h tokens.h
301 insnsd.
$(O
): insnsd.c compiler.h config.h directiv.h iflag.h iflaggen.h
&
302 insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h
&
303 regs.h tables.h tokens.h
304 insnsn.
$(O
): insnsn.c compiler.h config.h insnsi.h nasmint.h tables.h
305 labels.
$(O
): labels.c compiler.h config.h directiv.h hashtbl.h insnsi.h
&
306 labels.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h
&
308 listing.
$(O
): listing.c compiler.h config.h directiv.h insnsi.h listing.h
&
309 nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
310 macros.
$(O
): macros.c compiler.h config.h directiv.h hashtbl.h insnsi.h
&
311 nasm.h nasmint.h nasmlib.h opflags.h output
/outform.h pptok.h preproc.h
&
313 nasm.
$(O
): nasm.c assemble.h compiler.h config.h directiv.h eval.h float.h
&
314 iflag.h iflaggen.h insns.h insnsi.h labels.h listing.h nasm.h nasmint.h
&
315 nasmlib.h opflags.h output
/outform.h parser.h pptok.h preproc.h raa.h
&
316 regs.h saa.h stdscan.h tables.h tokens.h ver.h
317 nasmlib
/crc64.
$(O
): nasmlib
/crc64.c compiler.h config.h hashtbl.h nasmint.h
&
319 nasmlib
/file.
$(O
): nasmlib
/file.c compiler.h config.h nasmint.h nasmlib.h
320 nasmlib
/ilog2.
$(O
): nasmlib
/ilog2.c compiler.h config.h nasmint.h nasmlib.h
321 nasmlib
/md5c.
$(O
): nasmlib
/md5c.c compiler.h config.h md5.h nasmint.h
322 nasmlib
/nasmlib.
$(O
): nasmlib
/nasmlib.c compiler.h config.h directiv.h
&
323 iflag.h iflaggen.h insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h
&
324 pptok.h preproc.h regs.h tables.h tokens.h
325 nasmlib
/realpath.
$(O
): nasmlib
/realpath.c compiler.h config.h nasmint.h
&
327 nasmlib
/srcfile.
$(O
): nasmlib
/srcfile.c compiler.h config.h hashtbl.h
&
329 nasmlib
/ver.
$(O
): nasmlib
/ver.c ver.h version.h
330 ndisasm.
$(O
): ndisasm.c compiler.h config.h directiv.h disasm.h iflag.h
&
331 iflaggen.h insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h
&
332 preproc.h regs.h sync.h tables.h tokens.h ver.h
333 output
/codeview.
$(O
): output
/codeview.c compiler.h config.h directiv.h
&
334 insnsi.h md5.h nasm.h nasmint.h nasmlib.h opflags.h output
/outlib.h
&
335 output
/pecoff.h pptok.h preproc.h regs.h saa.h tables.h version.h
336 output
/nulldbg.
$(O
): output
/nulldbg.c compiler.h config.h directiv.h
&
337 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output
/outlib.h pptok.h
&
338 preproc.h regs.h tables.h
339 output
/nullout.
$(O
): output
/nullout.c compiler.h config.h directiv.h
&
340 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output
/outlib.h pptok.h
&
341 preproc.h regs.h tables.h
342 output
/outaout.
$(O
): output
/outaout.c compiler.h config.h directiv.h eval.h
&
343 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output
/outform.h
&
344 output
/outlib.h pptok.h preproc.h raa.h regs.h saa.h stdscan.h tables.h
345 output
/outas86.
$(O
): output
/outas86.c compiler.h config.h directiv.h
&
346 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output
/outform.h
&
347 output
/outlib.h pptok.h preproc.h raa.h regs.h saa.h tables.h
348 output
/outbin.
$(O
): output
/outbin.c compiler.h config.h directiv.h eval.h
&
349 insnsi.h labels.h nasm.h nasmint.h nasmlib.h opflags.h output
/outform.h
&
350 output
/outlib.h pptok.h preproc.h regs.h saa.h stdscan.h tables.h
351 output
/outcoff.
$(O
): output
/outcoff.c compiler.h config.h directiv.h eval.h
&
352 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output
/outform.h
&
353 output
/outlib.h output
/pecoff.h pptok.h preproc.h raa.h regs.h saa.h
&
355 output
/outdbg.
$(O
): output
/outdbg.c compiler.h config.h directiv.h insnsi.h
&
356 nasm.h nasmint.h nasmlib.h opflags.h output
/outform.h pptok.h preproc.h
&
358 output
/outelf.
$(O
): output
/outelf.c compiler.h config.h directiv.h eval.h
&
359 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output
/dwarf.h output
/elf.h
&
360 output
/outelf.h output
/outform.h output
/outlib.h output
/stabs.h pptok.h
&
361 preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
362 output
/outform.
$(O
): output
/outform.c compiler.h config.h directiv.h
&
363 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output
/outform.h pptok.h
&
364 preproc.h regs.h tables.h
365 output
/outieee.
$(O
): output
/outieee.c compiler.h config.h directiv.h
&
366 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output
/outform.h
&
367 output
/outlib.h pptok.h preproc.h regs.h tables.h ver.h
368 output
/outlib.
$(O
): output
/outlib.c compiler.h config.h directiv.h insnsi.h
&
369 nasm.h nasmint.h nasmlib.h opflags.h output
/outlib.h pptok.h preproc.h
&
371 output
/outmacho.
$(O
): output
/outmacho.c compiler.h config.h directiv.h
&
372 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output
/outform.h
&
373 output
/outlib.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h tables.h
374 output
/outobj.
$(O
): output
/outobj.c compiler.h config.h directiv.h eval.h
&
375 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output
/outform.h
&
376 output
/outlib.h pptok.h preproc.h regs.h stdscan.h tables.h ver.h
377 output
/outrdf2.
$(O
): output
/outrdf2.c compiler.h config.h directiv.h
&
378 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output
/outform.h
&
379 output
/outlib.h pptok.h preproc.h rdoff
/rdoff.h regs.h saa.h tables.h
380 parser.
$(O
): parser.c compiler.h config.h directiv.h eval.h float.h iflag.h
&
381 iflaggen.h insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h parser.h
&
382 pptok.h preproc.h regs.h stdscan.h tables.h tokens.h
383 pptok.
$(O
): pptok.c compiler.h config.h hashtbl.h nasmint.h nasmlib.h
&
385 preproc-nop.
$(O
): preproc-nop.c compiler.h config.h directiv.h insnsi.h
&
386 listing.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h
&
388 preproc.
$(O
): preproc.c compiler.h config.h directiv.h eval.h hashtbl.h
&
389 insnsi.h listing.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h
&
390 quote.h regs.h stdscan.h tables.h tokens.h
391 quote.
$(O
): quote.c compiler.h config.h nasmint.h nasmlib.h quote.h
392 raa.
$(O
): raa.c compiler.h config.h nasmint.h nasmlib.h raa.h
393 rbtree.
$(O
): rbtree.c compiler.h config.h nasmint.h rbtree.h
394 regdis.
$(O
): regdis.c regdis.h regs.h
395 regflags.
$(O
): regflags.c compiler.h config.h directiv.h insnsi.h nasm.h
&
396 nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
397 regs.
$(O
): regs.c compiler.h config.h insnsi.h nasmint.h tables.h
398 regvals.
$(O
): regvals.c compiler.h config.h insnsi.h nasmint.h tables.h
399 saa.
$(O
): saa.c compiler.h config.h nasmint.h nasmlib.h saa.h
400 stdlib
/snprintf.
$(O
): stdlib
/snprintf.c compiler.h config.h nasmint.h
&
402 stdlib
/strlcpy.
$(O
): stdlib
/strlcpy.c compiler.h config.h nasmint.h
403 stdlib
/vsnprintf.
$(O
): stdlib
/vsnprintf.c compiler.h config.h nasmint.h
&
405 stdscan.
$(O
): stdscan.c compiler.h config.h directiv.h iflag.h iflaggen.h
&
406 insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h
&
407 quote.h regs.h stdscan.h tables.h tokens.h
408 strfunc.
$(O
): strfunc.c compiler.h config.h directiv.h insnsi.h nasm.h
&
409 nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
410 sync.
$(O
): sync.c compiler.h config.h nasmint.h nasmlib.h sync.h
411 tokhash.
$(O
): tokhash.c compiler.h config.h directiv.h hashtbl.h iflag.h
&
412 iflaggen.h insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h
&
413 preproc.h regs.h stdscan.h tables.h tokens.h