nasmlib: break up nasmlib.c into logical components
[nasm.git] / Mkfiles / openwcom.mak
blobac73f148e2e92461f31cf5e05c6716d3f93dad6b
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 -I$(srcdir)
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) &
50 raa.$(O) saa.$(O) rbtree.$(O) &
51 float.$(O) insnsa.$(O) insnsb.$(O) &
52 directiv.$(O) &
53 assemble.$(O) labels.$(O) hashtbl.$(O) parser.$(O) &
54 output/outform.$(O) output/outlib.$(O) output/nulldbg.$(O) &
55 output/nullout.$(O) &
56 output/outbin.$(O) output/outaout.$(O) output/outcoff.$(O) &
57 output/outelf.$(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) &
64 segalloc.$(O) &
65 preproc-nop.$(O) &
66 disp8.$(O) rdstrnum.$(O) &
67 iflag.$(O) common.$(O)
69 NDISASM = ndisasm.$(O) disasm.$(O) sync.$(O) &
70 insnsd.$(O) insnsb.$(O) insnsn.$(O) regs.$(O) regdis.$(O) &
71 disp8.$(O) iflag.$(O) common.$(O)
73 LIBOBJ = stdlib/snprintf.$(O) stdlib/vsnprintf.$(O) stdlib/strlcpy.$(O) &
74 stdlib/strnlen.$(O) &
75 nasmlib/ver.$(O) &
76 nasmlib/crc64.$(O) nasmlib/malloc.$(O) &
77 nasmlib/error.$(O) nasmlib/md5c.$(O) nasmlib/string.$(O) &
78 nasmlib/file.$(O) nasmlib/ilog2.$(O) &
79 nasmlib/realpath.$(O) nasmlib/filename.$(O) nasmlib/srcfile.$(O) &
80 nasmlib/zerobuf.$(O) nasmlib/readnum.$(O) nasmlib/bsi.$(O)
81 #-- End File Lists --#
83 what: .SYMBOLIC
84 @echo Please build "dos", "win32", "os2" or "linux386"
86 dos: .SYMBOLIC
87 @set TARGET_CFLAGS=-bt=DOS -I"$(%WATCOM)/h"
88 @set TARGET_LFLAGS=sys causeway
89 @%make all
91 win32: .SYMBOLIC
92 @set TARGET_CFLAGS=-bt=NT -I"$(%WATCOM)/h" -I"$(%WATCOM)/h/nt"
93 @set TARGET_LFLAGS=sys nt
94 @%make all
96 os2: .SYMBOLIC
97 @set TARGET_CFLAGS=-bt=OS2 -I"$(%WATCOM)/h" -I"$(%WATCOM)/h/os2"
98 @set TARGET_LFLAGS=sys os2v2
99 @%make all
101 linux386: .SYMBOLIC
102 @set TARGET_CFLAGS=-bt=LINUX -I"$(%WATCOM)/lh"
103 @set TARGET_LFLAGS=sys linux
104 @%make all
106 all: config.h perlreq nasm$(X) ndisasm$(X) .SYMBOLIC
107 # cd rdoff && $(MAKE) all
109 nasm$(X): $(NASM)
110 $(LD) $(LDFLAGS) name nasm$(X) file {$(NASM)} $(LIBS)
112 ndisasm$(X): $(NDISASM)
113 $(LD) $(LDFLAGS) name ndisasm$(X) file {$(NDISASM)} $(LIBS)
115 # These source files are automagically generated from a single
116 # instruction-table file by a Perl script. They're distributed,
117 # though, so it isn't necessary to have Perl just to recompile NASM
118 # from the distribution.
120 insns.pl: insns-iflags.pl
122 iflag.c iflag.h: insns.dat insns.pl
123 $(PERL) $(srcdir)/insns.pl -t $(srcdir)/insns.dat
124 insnsb.c: insns.dat insns.pl
125 $(PERL) $(srcdir)/insns.pl -b $(srcdir)/insns.dat
126 insnsa.c: insns.dat insns.pl
127 $(PERL) $(srcdir)/insns.pl -a $(srcdir)/insns.dat
128 insnsd.c: insns.dat insns.pl
129 $(PERL) $(srcdir)/insns.pl -d $(srcdir)/insns.dat
130 insnsi.h: insns.dat insns.pl
131 $(PERL) $(srcdir)/insns.pl -i $(srcdir)/insns.dat
132 insnsn.c: insns.dat insns.pl
133 $(PERL) $(srcdir)/insns.pl -n $(srcdir)/insns.dat
135 # These files contains all the standard macros that are derived from
136 # the version number.
137 version.h: version version.pl
138 $(PERL) $(srcdir)/version.pl h < $(srcdir)/version > version.h
140 version.mac: version version.pl
141 $(PERL) $(srcdir)/version.pl mac < $(srcdir)/version > version.mac
143 # This source file is generated from the standard macros file
144 # `standard.mac' by another Perl script. Again, it's part of the
145 # standard distribution.
147 macros.c: macros.pl standard.mac version.mac macros/*.mac output/*.mac
148 $(PERL) $<
150 # These source files are generated from regs.dat by yet another
151 # perl script.
152 regs.c: regs.dat regs.pl
153 $(PERL) $(srcdir)/regs.pl c $(srcdir)/regs.dat > regs.c
154 regflags.c: regs.dat regs.pl
155 $(PERL) $(srcdir)/regs.pl fc $(srcdir)/regs.dat > regflags.c
156 regdis.c: regs.dat regs.pl
157 $(PERL) $(srcdir)/regs.pl dc $(srcdir)/regs.dat > regdis.c
158 regdis.h: regs.dat regs.pl
159 $(PERL) $(srcdir)/regs.pl dh $(srcdir)/regs.dat > regdis.h
160 regvals.c: regs.dat regs.pl
161 $(PERL) $(srcdir)/regs.pl vc $(srcdir)/regs.dat > regvals.c
162 regs.h: regs.dat regs.pl
163 $(PERL) $(srcdir)/regs.pl h $(srcdir)/regs.dat > regs.h
165 # Assembler token hash
166 tokhash.c: insns.dat regs.dat tokens.dat tokhash.pl perllib/phash.ph
167 $(PERL) $(srcdir)/tokhash.pl c $(srcdir)/insns.dat $(srcdir)/regs.dat &
168 $(srcdir)/tokens.dat > tokhash.c
170 # Assembler token metadata
171 tokens.h: insns.dat regs.dat tokens.dat tokhash.pl perllib/phash.ph
172 $(PERL) $(srcdir)/tokhash.pl h $(srcdir)/insns.dat $(srcdir)/regs.dat &
173 $(srcdir)/tokens.dat > tokens.h
175 # Preprocessor token hash
176 pptok.h: pptok.dat pptok.pl perllib/phash.ph
177 $(PERL) $(srcdir)/pptok.pl h $(srcdir)/pptok.dat pptok.h
178 pptok.c: pptok.dat pptok.pl perllib/phash.ph
179 $(PERL) $(srcdir)/pptok.pl c $(srcdir)/pptok.dat pptok.c
180 pptok.ph: pptok.dat pptok.pl perllib/phash.ph
181 $(PERL) $(srcdir)/pptok.pl ph $(srcdir)/pptok.dat pptok.ph
183 # Directives hash
184 directiv.h: directiv.dat directiv.pl perllib/phash.ph
185 $(PERL) $(srcdir)/directiv.pl h $(srcdir)/directiv.dat directiv.h
186 directiv.c: directiv.dat directiv.pl perllib/phash.ph
187 $(PERL) $(srcdir)/directiv.pl c $(srcdir)/directiv.dat directiv.c
189 # This target generates all files that require perl.
190 # This allows easier generation of distribution (see dist target).
191 PERLREQ = pptok.ph macros.c insnsb.c insnsa.c insnsd.c insnsi.h insnsn.c &
192 regs.c regs.h regflags.c regdis.c regdis.h regvals.c &
193 tokhash.c tokens.h pptok.h pptok.c &
194 directiv.c directiv.h &
195 version.h version.mac &
196 iflag.c iflag.h
197 perlreq: $(PERLREQ) .SYMBOLIC
199 clean: .SYMBOLIC
200 rm -f *.$(O) *.s *.i
201 rm -f lib/*.$(O) lib/*.s lib/*.i
202 rm -f output/*.$(O) output/*.s output/*.i
203 rm -f config.h config.log config.status
204 rm -f nasm$(X) ndisasm$(X)
205 # cd rdoff && $(MAKE) clean
207 distclean: clean .SYMBOLIC
208 rm -f config.h config.log config.status
209 rm -f Makefile *~ *.bak *.lst *.bin
210 rm -f output/*~ output/*.bak
211 rm -f test/*.lst test/*.bin test/*.$(O) test/*.bin
212 # -del /s autom4te*.cache
213 # cd rdoff && $(MAKE) distclean
215 cleaner: clean .SYMBOLIC
216 rm -f $(PERLREQ)
217 rm -f *.man
218 rm -f nasm.spec
219 # cd doc && $(MAKE) clean
221 spotless: distclean cleaner .SYMBOLIC
222 rm -f doc/Makefile doc/*~ doc/*.bak
224 strip: .SYMBOLIC
225 $(STRIP) *.exe
227 rdf:
228 # cd rdoff && $(MAKE)
230 doc:
231 # cd doc && $(MAKE) all
233 everything: all doc rdf
235 config.h: Mkfiles/openwcom.mak
236 @echo Creating $@
237 @%create $@
238 @%append $@ $#define HAVE_DECL_STRCASECMP 1
239 @%append $@ $#define HAVE_DECL_STRICMP 1
240 @%append $@ $#define HAVE_DECL_STRLCPY 1
241 @%append $@ $#define HAVE_DECL_STRNCASECMP 1
242 @%append $@ $#define HAVE_DECL_STRNICMP 1
243 @%append $@ $#define HAVE_INTTYPES_H 1
244 @%append $@ $#define HAVE_LIMITS_H 1
245 @%append $@ $#define HAVE_MEMORY_H 1
246 @%append $@ $#define HAVE_SNPRINTF 1
247 @%append $@ $#define HAVE_STDBOOL_H 1
248 @%append $@ $#define HAVE_STDINT_H 1
249 @%append $@ $#define HAVE_STDLIB_H 1
250 @%append $@ $#define HAVE_STRCASECMP 1
251 @%append $@ $#define HAVE_STRCSPN 1
252 @%append $@ $#define HAVE_STRICMP 1
253 @%append $@ $#define HAVE_STRINGS_H 1
254 @%append $@ $#define HAVE_STRING_H 1
255 @%append $@ $#define HAVE_STRLCPY 1
256 @%append $@ $#define HAVE_STRNCASECMP 1
257 @%append $@ $#define HAVE_STRNICMP 1
258 @%append $@ $#define HAVE_STRSPN 1
259 @%append $@ $#define HAVE_SYS_STAT_H 1
260 @%append $@ $#define HAVE_SYS_TYPES_H 1
261 @%append $@ $#define HAVE_UNISTD_H 1
262 @%append $@ $#define HAVE_VSNPRINTF 1
263 @%append $@ $#define STDC_HEADERS 1
266 # This build dependencies in *ALL* makefiles. Partially for that reason,
267 # it's expected to be invoked manually.
269 alldeps: perlreq .SYMBOLIC
270 $(PERL) syncfiles.pl Makefile.in Mkfiles/openwcom.mak
271 $(PERL) mkdep.pl -M Makefile.in Mkfiles/openwcom.mak -- . output lib
273 #-- Magic hints to mkdep.pl --#
274 # @object-ending: ".$(O)"
275 # @path-separator: "/"
276 # @exclude: ""
277 # @continuation: "&"
278 #-- Everything below is generated by mkdep.pl - do not edit --#
279 assemble.$(O): assemble.c assemble.h compiler.h config.h directiv.h disp8.h &
280 iflag.h iflaggen.h insns.h insnsi.h listing.h nasm.h nasmint.h nasmlib.h &
281 opflags.h pptok.h preproc.h regs.h tables.h tokens.h
282 common.$(O): common.c compiler.h config.h directiv.h iflag.h iflaggen.h &
283 insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h &
284 regs.h tables.h tokens.h
285 directiv.$(O): directiv.c compiler.h config.h directiv.h hashtbl.h insnsi.h &
286 nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
287 disasm.$(O): disasm.c compiler.h config.h directiv.h disasm.h disp8.h &
288 iflag.h iflaggen.h insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h &
289 pptok.h preproc.h regdis.h regs.h sync.h tables.h tokens.h
290 disp8.$(O): disp8.c compiler.h config.h directiv.h disp8.h insnsi.h nasm.h &
291 nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
292 eval.$(O): eval.c compiler.h config.h directiv.h eval.h float.h insnsi.h &
293 labels.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h &
294 tables.h
295 exprlib.$(O): exprlib.c compiler.h config.h directiv.h insnsi.h nasm.h &
296 nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
297 float.$(O): float.c compiler.h config.h directiv.h float.h insnsi.h nasm.h &
298 nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
299 hashtbl.$(O): hashtbl.c compiler.h config.h directiv.h hashtbl.h insnsi.h &
300 nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
301 iflag.$(O): iflag.c compiler.h config.h iflag.h iflaggen.h nasmint.h
302 insnsa.$(O): insnsa.c compiler.h config.h directiv.h iflag.h iflaggen.h &
303 insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h &
304 regs.h tables.h tokens.h
305 insnsb.$(O): insnsb.c compiler.h config.h directiv.h iflag.h iflaggen.h &
306 insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h &
307 regs.h tables.h tokens.h
308 insnsd.$(O): insnsd.c compiler.h config.h directiv.h iflag.h iflaggen.h &
309 insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h &
310 regs.h tables.h tokens.h
311 insnsn.$(O): insnsn.c compiler.h config.h insnsi.h nasmint.h tables.h
312 labels.$(O): labels.c compiler.h config.h directiv.h hashtbl.h insnsi.h &
313 labels.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h &
314 tables.h
315 listing.$(O): listing.c compiler.h config.h directiv.h insnsi.h listing.h &
316 nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
317 macros.$(O): macros.c compiler.h config.h directiv.h hashtbl.h insnsi.h &
318 nasm.h nasmint.h nasmlib.h opflags.h output/outform.h pptok.h preproc.h &
319 regs.h tables.h
320 nasm.$(O): nasm.c assemble.h compiler.h config.h directiv.h eval.h float.h &
321 iflag.h iflaggen.h insns.h insnsi.h labels.h listing.h nasm.h nasmint.h &
322 nasmlib.h opflags.h output/outform.h parser.h pptok.h preproc.h raa.h &
323 regs.h saa.h stdscan.h tables.h tokens.h ver.h
324 nasmlib/bsi.$(O): nasmlib/bsi.c compiler.h config.h nasmint.h nasmlib.h
325 nasmlib/crc64.$(O): nasmlib/crc64.c compiler.h config.h hashtbl.h nasmint.h &
326 nasmlib.h
327 nasmlib/error.$(O): nasmlib/error.c compiler.h config.h nasmint.h nasmlib.h
328 nasmlib/file.$(O): nasmlib/file.c compiler.h config.h nasmint.h nasmlib.h
329 nasmlib/filename.$(O): nasmlib/filename.c compiler.h config.h nasmint.h &
330 nasmlib.h
331 nasmlib/ilog2.$(O): nasmlib/ilog2.c compiler.h config.h nasmint.h nasmlib.h
332 nasmlib/malloc.$(O): nasmlib/malloc.c compiler.h config.h nasmint.h &
333 nasmlib.h
334 nasmlib/md5c.$(O): nasmlib/md5c.c compiler.h config.h md5.h nasmint.h
335 nasmlib/readnum.$(O): nasmlib/readnum.c compiler.h config.h directiv.h &
336 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h &
337 tables.h
338 nasmlib/realpath.$(O): nasmlib/realpath.c compiler.h config.h nasmint.h &
339 nasmlib.h
340 nasmlib/srcfile.$(O): nasmlib/srcfile.c compiler.h config.h hashtbl.h &
341 nasmint.h nasmlib.h
342 nasmlib/string.$(O): nasmlib/string.c compiler.h config.h nasmint.h &
343 nasmlib.h
344 nasmlib/ver.$(O): nasmlib/ver.c ver.h version.h
345 nasmlib/zerobuf.$(O): nasmlib/zerobuf.c compiler.h config.h nasmint.h &
346 nasmlib.h
347 ndisasm.$(O): ndisasm.c compiler.h config.h directiv.h disasm.h iflag.h &
348 iflaggen.h insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h &
349 preproc.h regs.h sync.h tables.h tokens.h ver.h
350 output/codeview.$(O): output/codeview.c compiler.h config.h directiv.h &
351 hashtbl.h insnsi.h md5.h nasm.h nasmint.h nasmlib.h opflags.h &
352 output/outlib.h output/pecoff.h pptok.h preproc.h regs.h saa.h tables.h &
353 version.h
354 output/nulldbg.$(O): output/nulldbg.c compiler.h config.h directiv.h &
355 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output/outlib.h pptok.h &
356 preproc.h regs.h tables.h
357 output/nullout.$(O): output/nullout.c compiler.h config.h directiv.h &
358 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output/outlib.h pptok.h &
359 preproc.h regs.h tables.h
360 output/outaout.$(O): output/outaout.c compiler.h config.h directiv.h eval.h &
361 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output/outform.h &
362 output/outlib.h pptok.h preproc.h raa.h regs.h saa.h stdscan.h tables.h
363 output/outas86.$(O): output/outas86.c compiler.h config.h directiv.h &
364 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output/outform.h &
365 output/outlib.h pptok.h preproc.h raa.h regs.h saa.h tables.h
366 output/outbin.$(O): output/outbin.c compiler.h config.h directiv.h eval.h &
367 insnsi.h labels.h nasm.h nasmint.h nasmlib.h opflags.h output/outform.h &
368 output/outlib.h pptok.h preproc.h regs.h saa.h stdscan.h tables.h
369 output/outcoff.$(O): output/outcoff.c compiler.h config.h directiv.h eval.h &
370 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output/outform.h &
371 output/outlib.h output/pecoff.h pptok.h preproc.h raa.h regs.h saa.h &
372 tables.h
373 output/outdbg.$(O): output/outdbg.c compiler.h config.h directiv.h insnsi.h &
374 nasm.h nasmint.h nasmlib.h opflags.h output/outform.h pptok.h preproc.h &
375 regs.h tables.h
376 output/outelf.$(O): output/outelf.c compiler.h config.h directiv.h eval.h &
377 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output/dwarf.h output/elf.h &
378 output/outelf.h output/outform.h output/outlib.h output/stabs.h pptok.h &
379 preproc.h raa.h rbtree.h regs.h saa.h stdscan.h tables.h ver.h
380 output/outform.$(O): output/outform.c compiler.h config.h directiv.h &
381 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output/outform.h pptok.h &
382 preproc.h regs.h tables.h
383 output/outieee.$(O): output/outieee.c compiler.h config.h directiv.h &
384 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output/outform.h &
385 output/outlib.h pptok.h preproc.h regs.h tables.h ver.h
386 output/outlib.$(O): output/outlib.c compiler.h config.h directiv.h insnsi.h &
387 nasm.h nasmint.h nasmlib.h opflags.h output/outlib.h pptok.h preproc.h &
388 regs.h tables.h
389 output/outmacho.$(O): output/outmacho.c compiler.h config.h directiv.h &
390 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output/outform.h &
391 output/outlib.h pptok.h preproc.h raa.h rbtree.h regs.h saa.h tables.h
392 output/outobj.$(O): output/outobj.c compiler.h config.h directiv.h eval.h &
393 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output/outform.h &
394 output/outlib.h pptok.h preproc.h regs.h stdscan.h tables.h ver.h
395 output/outrdf2.$(O): output/outrdf2.c compiler.h config.h directiv.h &
396 insnsi.h nasm.h nasmint.h nasmlib.h opflags.h output/outform.h &
397 output/outlib.h pptok.h preproc.h rdoff/rdoff.h regs.h saa.h tables.h
398 parser.$(O): parser.c compiler.h config.h directiv.h eval.h float.h iflag.h &
399 iflaggen.h insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h parser.h &
400 pptok.h preproc.h regs.h stdscan.h tables.h tokens.h
401 pptok.$(O): pptok.c compiler.h config.h hashtbl.h nasmint.h nasmlib.h &
402 pptok.h preproc.h
403 preproc-nop.$(O): preproc-nop.c compiler.h config.h directiv.h insnsi.h &
404 listing.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h &
405 tables.h
406 preproc.$(O): preproc.c compiler.h config.h directiv.h eval.h hashtbl.h &
407 insnsi.h listing.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h &
408 quote.h regs.h stdscan.h tables.h tokens.h
409 quote.$(O): quote.c compiler.h config.h nasmint.h nasmlib.h quote.h
410 raa.$(O): raa.c compiler.h config.h nasmint.h nasmlib.h raa.h
411 rbtree.$(O): rbtree.c compiler.h config.h nasmint.h rbtree.h
412 rdstrnum.$(O): rdstrnum.c compiler.h config.h directiv.h insnsi.h nasm.h &
413 nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
414 regdis.$(O): regdis.c regdis.h regs.h
415 regflags.$(O): regflags.c compiler.h config.h directiv.h insnsi.h nasm.h &
416 nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
417 regs.$(O): regs.c compiler.h config.h insnsi.h nasmint.h tables.h
418 regvals.$(O): regvals.c compiler.h config.h insnsi.h nasmint.h tables.h
419 saa.$(O): saa.c compiler.h config.h nasmint.h nasmlib.h saa.h
420 segalloc.$(O): segalloc.c compiler.h config.h directiv.h iflag.h iflaggen.h &
421 insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h &
422 regs.h tables.h tokens.h
423 stdlib/snprintf.$(O): stdlib/snprintf.c compiler.h config.h nasmint.h &
424 nasmlib.h
425 stdlib/strlcpy.$(O): stdlib/strlcpy.c compiler.h config.h nasmint.h
426 stdlib/strnlen.$(O): stdlib/strnlen.c compiler.h config.h nasmint.h
427 stdlib/vsnprintf.$(O): stdlib/vsnprintf.c compiler.h config.h nasmint.h &
428 nasmlib.h
429 stdscan.$(O): stdscan.c compiler.h config.h directiv.h iflag.h iflaggen.h &
430 insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h preproc.h &
431 quote.h regs.h stdscan.h tables.h tokens.h
432 strfunc.$(O): strfunc.c compiler.h config.h directiv.h insnsi.h nasm.h &
433 nasmint.h nasmlib.h opflags.h pptok.h preproc.h regs.h tables.h
434 sync.$(O): sync.c compiler.h config.h nasmint.h nasmlib.h sync.h
435 tokhash.$(O): tokhash.c compiler.h config.h directiv.h hashtbl.h iflag.h &
436 iflaggen.h insns.h insnsi.h nasm.h nasmint.h nasmlib.h opflags.h pptok.h &
437 preproc.h regs.h stdscan.h tables.h tokens.h