2 # Auto-configuring Makefile for the Netwide Assembler.
4 # The Netwide Assembler is copyright (C) 1996 Simon Tatham and
5 # Julian Hall. All rights reserved. The software is
6 # redistributable under the license given in the file "LICENSE"
7 # distributed in the NASM archive.
11 top_srcdir
= @top_srcdir@
16 exec_prefix = @
exec_prefix@
19 datarootdir
= @datarootdir@
24 BUILD_CFLAGS
= $(CPPFLAGS
) $(CFLAGS
) @DEFS@
25 INTERNAL_CFLAGS
= -I
$(srcdir) -I
$(objdir
) \
26 -I
$(srcdir)/include -I
$(objdir
)/include \
27 -I
$(srcdir)/x86
-I
$(objdir
)/x86 \
28 -I
$(srcdir)/asm
-I
$(objdir
)/asm \
29 -I
$(srcdir)/disasm
-I
$(objdir
)/disasm \
30 -I
$(srcdir)/output
-I
$(objdir
)/output
31 ALL_CFLAGS
= $(BUILD_CFLAGS
) $(INTERNAL_CFLAGS
)
33 ALL_LDFLAGS
= $(ALL_CFLAGS
) $(LDFLAGS
)
41 PERLFLAGS
= -I
$(srcdir)/perllib
-I
$(srcdir)
42 RUNPERL
= $(PERL
) $(PERLFLAGS
)
47 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
48 INSTALL_DATA
= @INSTALL_DATA@
74 CFLAGS
+= -DNASM_TRACE
78 .SUFFIXES
: $(X
) .
$(O
) .
$(A
) .xml
.1 .c .i .s .txt
80 .PHONY
: all doc rdf
install clean distclean cleaner spotless install_rdf
test
81 .PHONY
: install_doc everything install_everything
strip perlreq
dist tags TAGS
82 .PHONY
: nothing manpages nsis
85 $(CC
) -c
$(ALL_CFLAGS
) -o
$@
$<
88 $(CC
) -S
$(ALL_CFLAGS
) -o
$@
$<
91 $(CC
) -E
$(ALL_CFLAGS
) -o
$@
$<
94 $(ASCIIDOC
) -b docbook
-d manpage
-o
$@
$<
97 $(XMLTO
) man
--skip-validation
$< 2>/dev
/null
99 #-- Begin File Lists --#
101 NDISASM
= disasm
/ndisasm.
$(O
)
103 LIBOBJ
= stdlib
/snprintf.
$(O
) stdlib
/vsnprintf.
$(O
) stdlib
/strlcpy.
$(O
) \
104 stdlib
/strnlen.
$(O
) stdlib
/strrchrnul.
$(O
) \
107 nasmlib
/alloc.
$(O
) nasmlib
/asprintf.
$(O
) nasmlib
/errfile.
$(O
) \
108 nasmlib
/crc64.
$(O
) nasmlib
/md5c.
$(O
) \
109 nasmlib
/string.
$(O
) nasmlib
/nctype.
$(O
) \
110 nasmlib
/file.
$(O
) nasmlib
/mmap.
$(O
) nasmlib
/ilog2.
$(O
) \
111 nasmlib
/realpath.
$(O
) nasmlib
/path.
$(O
) \
112 nasmlib
/filename.
$(O
) \
113 nasmlib
/zerobuf.
$(O
) nasmlib
/readnum.
$(O
) nasmlib
/bsi.
$(O
) \
114 nasmlib
/rbtree.
$(O
) nasmlib
/hashtbl.
$(O
) \
115 nasmlib
/raa.
$(O
) nasmlib
/saa.
$(O
) \
116 nasmlib
/strlist.
$(O
) \
117 nasmlib
/perfhash.
$(O
) nasmlib
/badenum.
$(O
) \
121 x86
/insnsa.
$(O
) x86
/insnsb.
$(O
) x86
/insnsd.
$(O
) x86
/insnsn.
$(O
) \
122 x86
/regs.
$(O
) x86
/regvals.
$(O
) x86
/regflags.
$(O
) x86
/regdis.
$(O
) \
123 x86
/disp8.
$(O
) x86
/iflag.
$(O
) \
125 asm
/error.
$(O
) asm
/warnings.
$(O
) \
127 asm
/directiv.
$(O
) asm
/directbl.
$(O
) \
129 asm
/assemble.
$(O
) asm
/labels.
$(O
) asm
/parser.
$(O
) \
130 asm
/preproc.
$(O
) asm
/quote.
$(O
) asm
/pptok.
$(O
) \
131 asm
/listing.
$(O
) asm
/eval.
$(O
) asm
/exprlib.
$(O
) asm
/exprdump.
$(O
) \
133 asm
/strfunc.
$(O
) asm
/tokhash.
$(O
) \
135 asm
/preproc-nop.
$(O
) \
140 output
/outform.
$(O
) output
/outlib.
$(O
) output
/legacy.
$(O
) \
141 output
/nulldbg.
$(O
) output
/nullout.
$(O
) \
142 output
/outbin.
$(O
) output
/outaout.
$(O
) output
/outcoff.
$(O
) \
144 output
/outobj.
$(O
) output
/outas86.
$(O
) output
/outrdf2.
$(O
) \
145 output
/outdbg.
$(O
) output
/outieee.
$(O
) output
/outmacho.
$(O
) \
146 output
/codeview.
$(O
) \
148 disasm
/disasm.
$(O
) disasm
/sync.
$(O
)
150 SUBDIRS
= stdlib nasmlib output asm disasm x86 common macros
151 XSUBDIRS
= test doc nsis rdoff
152 DEPDIRS
= .
include config x86 rdoff
$(SUBDIRS
)
153 #-- End File Lists --#
156 $(MAKE
) nasm
$(X
) ndisasm
$(X
) rdf
158 NASMLIB
= libnasm.
$(A
)
161 $(MKDIR_P
) $(SUBDIRS
) $(XSUBDIRS
)
163 $(NASMLIB
): $(LIBOBJ
)
165 $(AR
) cq
$(NASMLIB
) $(LIBOBJ
)
168 nasm
$(X
): $(NASM
) $(NASMLIB
)
169 $(CC
) $(ALL_LDFLAGS
) -o nasm
$(X
) $(NASM
) $(NASMLIB
) $(LIBS
)
171 ndisasm
$(X
): $(NDISASM
) $(NASMLIB
)
172 $(CC
) $(ALL_LDFLAGS
) -o ndisasm
$(X
) $(NDISASM
) $(NASMLIB
) $(LIBS
)
174 #-- Begin Generated File Rules --#
176 # These source files are automagically generated from data files using
177 # Perl scripts. They're distributed, though, so it isn't necessary to
178 # have Perl just to recompile NASM from the distribution.
180 # Perl-generated source files
181 PERLREQ
= x86
/insnsb.c x86
/insnsa.c x86
/insnsd.c x86
/insnsi.h x86
/insnsn.c \
182 x86
/regs.c x86
/regs.h x86
/regflags.c x86
/regdis.c x86
/regdis.h \
183 x86
/regvals.c asm
/tokhash.c asm
/tokens.h asm
/pptok.h asm
/pptok.c \
184 x86
/iflag.c x86
/iflaggen.h \
186 asm
/pptok.ph asm
/directbl.c asm
/directiv.h \
187 asm
/warnings.c
include/warnings.h \
188 version.h version.mac version.mak nsis
/version.nsh
190 INSDEP
= x86
/insns.dat x86
/insns.pl x86
/insns-iflags.ph x86
/iflags.ph
192 x86
/iflag.c
: $(INSDEP
)
193 $(RUNPERL
) $(srcdir)/x86
/insns.pl
-fc \
194 $(srcdir)/x86
/insns.dat x86
/iflag.c
195 x86
/iflaggen.h
: $(INSDEP
)
196 $(RUNPERL
) $(srcdir)/x86
/insns.pl
-fh \
197 $(srcdir)/x86
/insns.dat x86
/iflaggen.h
198 x86
/insnsb.c
: $(INSDEP
)
199 $(RUNPERL
) $(srcdir)/x86
/insns.pl
-b \
200 $(srcdir)/x86
/insns.dat x86
/insnsb.c
201 x86
/insnsa.c
: $(INSDEP
)
202 $(RUNPERL
) $(srcdir)/x86
/insns.pl
-a \
203 $(srcdir)/x86
/insns.dat x86
/insnsa.c
204 x86
/insnsd.c
: $(INSDEP
)
205 $(RUNPERL
) $(srcdir)/x86
/insns.pl
-d \
206 $(srcdir)/x86
/insns.dat x86
/insnsd.c
207 x86
/insnsi.h
: $(INSDEP
)
208 $(RUNPERL
) $(srcdir)/x86
/insns.pl
-i \
209 $(srcdir)/x86
/insns.dat x86
/insnsi.h
210 x86
/insnsn.c
: $(INSDEP
)
211 $(RUNPERL
) $(srcdir)/x86
/insns.pl
-n \
212 $(srcdir)/x86
/insns.dat x86
/insnsn.c
214 # These files contains all the standard macros that are derived from
215 # the version number.
216 version.h
: version version.pl
217 $(RUNPERL
) $(srcdir)/version.pl h
< $(srcdir)/version
> version.h
218 version.mac
: version version.pl
219 $(RUNPERL
) $(srcdir)/version.pl mac
< $(srcdir)/version
> version.mac
220 version.sed
: version version.pl
221 $(RUNPERL
) $(srcdir)/version.pl sed
< $(srcdir)/version
> version.sed
222 version.mak
: version version.pl
223 $(RUNPERL
) $(srcdir)/version.pl make
< $(srcdir)/version
> version.mak
224 nsis
/version.nsh
: version version.pl
225 $(RUNPERL
) $(srcdir)/version.pl nsis
< $(srcdir)/version
> nsis
/version.nsh
227 # This source file is generated from the standard macros file
228 # `standard.mac' by another Perl script. Again, it's part of the
229 # standard distribution.
230 macros
/macros.c
: macros
/macros.pl asm
/pptok.ph version.mac \
231 $(srcdir)/macros
/*.mac
$(srcdir)/output
/*.mac
232 $(RUNPERL
) $(srcdir)/macros
/macros.pl version.mac \
233 $(srcdir)/macros
/*.mac
$(srcdir)/output
/*.mac
235 # These source files are generated from regs.dat by yet another
237 x86
/regs.c
: x86
/regs.dat x86
/regs.pl
238 $(RUNPERL
) $(srcdir)/x86
/regs.pl c \
239 $(srcdir)/x86
/regs.dat
> x86
/regs.c
240 x86
/regflags.c
: x86
/regs.dat x86
/regs.pl
241 $(RUNPERL
) $(srcdir)/x86
/regs.pl
fc \
242 $(srcdir)/x86
/regs.dat
> x86
/regflags.c
243 x86
/regdis.c
: x86
/regs.dat x86
/regs.pl
244 $(RUNPERL
) $(srcdir)/x86
/regs.pl dc \
245 $(srcdir)/x86
/regs.dat
> x86
/regdis.c
246 x86
/regdis.h
: x86
/regs.dat x86
/regs.pl
247 $(RUNPERL
) $(srcdir)/x86
/regs.pl dh \
248 $(srcdir)/x86
/regs.dat
> x86
/regdis.h
249 x86
/regvals.c
: x86
/regs.dat x86
/regs.pl
250 $(RUNPERL
) $(srcdir)/x86
/regs.pl vc \
251 $(srcdir)/x86
/regs.dat
> x86
/regvals.c
252 x86
/regs.h
: x86
/regs.dat x86
/regs.pl
253 $(RUNPERL
) $(srcdir)/x86
/regs.pl h \
254 $(srcdir)/x86
/regs.dat
> x86
/regs.h
256 # Extract warnings from source code. Since this depends on
257 # ALL the source files, this is only done on demand.
258 WARNFILES
= asm
/warnings.c
include/warnings.h doc
/warnings.src
264 asm
/warnings.c
: asm
/warnings.pl
265 $(RUNPERL
) $(srcdir)/asm
/warnings.pl c asm
/warnings.c
$(srcdir)
267 include/warnings.h
: asm
/warnings.pl
268 $(RUNPERL
) $(srcdir)/asm
/warnings.pl h
include/warnings.h
$(srcdir)
270 doc
/warnings.src
: asm
/warnings.pl
271 $(RUNPERL
) $(srcdir)/asm
/warnings.pl doc doc
/warnings.src
$(srcdir)
273 # Assembler token hash
274 asm
/tokhash.c
: x86
/insns.dat x86
/regs.dat asm
/tokens.dat asm
/tokhash.pl \
276 $(RUNPERL
) $(srcdir)/asm
/tokhash.pl c \
277 $(srcdir)/x86
/insns.dat
$(srcdir)/x86
/regs.dat \
278 $(srcdir)/asm
/tokens.dat
> asm
/tokhash.c
280 # Assembler token metadata
281 asm
/tokens.h
: x86
/insns.dat x86
/regs.dat asm
/tokens.dat asm
/tokhash.pl \
283 $(RUNPERL
) $(srcdir)/asm
/tokhash.pl h \
284 $(srcdir)/x86
/insns.dat
$(srcdir)/x86
/regs.dat \
285 $(srcdir)/asm
/tokens.dat
> asm
/tokens.h
287 # Preprocessor token hash
288 asm
/pptok.h
: asm
/pptok.dat asm
/pptok.pl perllib
/phash.ph
289 $(RUNPERL
) $(srcdir)/asm
/pptok.pl h \
290 $(srcdir)/asm
/pptok.dat asm
/pptok.h
291 asm
/pptok.c
: asm
/pptok.dat asm
/pptok.pl perllib
/phash.ph
292 $(RUNPERL
) $(srcdir)/asm
/pptok.pl c \
293 $(srcdir)/asm
/pptok.dat asm
/pptok.c
294 asm
/pptok.ph
: asm
/pptok.dat asm
/pptok.pl perllib
/phash.ph
295 $(RUNPERL
) $(srcdir)/asm
/pptok.pl ph \
296 $(srcdir)/asm
/pptok.dat asm
/pptok.ph
299 asm
/directiv.h
: asm
/directiv.dat nasmlib
/perfhash.pl perllib
/phash.ph
300 $(RUNPERL
) $(srcdir)/nasmlib
/perfhash.pl h \
301 $(srcdir)/asm
/directiv.dat asm
/directiv.h
302 asm
/directbl.c
: asm
/directiv.dat nasmlib
/perfhash.pl perllib
/phash.ph
303 $(RUNPERL
) $(srcdir)/nasmlib
/perfhash.pl c \
304 $(srcdir)/asm
/directiv.dat asm
/directbl.c
306 #-- End Generated File Rules --#
310 # This rule is only used for RDOFF
312 $(CC
) $(ALL_LDFLAGS
) -o
$@
$< $(RDFLIB
) $(NASMLIB
) $(LIBS
)
314 RDFLN
= cd rdoff
&& ln
-s
317 #-- Begin RDOFF Shared Rules --#
319 RDFLIBOBJ
= rdoff
/rdoff.
$(O
) rdoff
/rdfload.
$(O
) rdoff
/symtab.
$(O
) \
320 rdoff
/collectn.
$(O
) rdoff
/rdlib.
$(O
) rdoff
/segtab.
$(O
) \
323 RDFPROGS
= rdoff
/rdfdump
$(X
) rdoff
/ldrdf
$(X
) rdoff
/rdx
$(X
) rdoff
/rdflib
$(X
) \
325 RDF2BINLINKS
= rdoff
/rdf2com
$(X
) rdoff
/rdf2ith
$(X
) \
326 rdoff
/rdf2ihx
$(X
) rdoff
/rdf2srec
$(X
)
328 RDFLIB
= rdoff
/librdoff.
$(A
)
329 RDFLIBS
= $(RDFLIB
) $(NASMLIB
)
331 rdoff
/rdfdump
$(X
): rdoff
/rdfdump.
$(O
) $(RDFLIBS
)
332 rdoff
/ldrdf
$(X
): rdoff
/ldrdf.
$(O
) $(RDFLIBS
)
333 rdoff
/rdx
$(X
): rdoff
/rdx.
$(O
) $(RDFLIBS
)
334 rdoff
/rdflib
$(X
): rdoff
/rdflib.
$(O
) $(RDFLIBS
)
335 rdoff
/rdf2bin
$(X
): rdoff
/rdf2bin.
$(O
) $(RDFLIBS
)
336 rdoff
/rdf2com
$(X
): rdoff
/rdf2bin
$(X
)
337 $(RM_F
) rdoff
/rdf2com
$(X
)
338 $(RDFLN
) $(RDFLNPFX
)rdf2bin
$(X
) $(RDFLNPFX
)rdf2com
$(X
)
339 rdoff
/rdf2ith
$(X
): rdoff
/rdf2bin
$(X
)
340 $(RM_F
) rdoff
/rdf2ith
$(X
)
341 $(RDFLN
) $(RDFLNPFX
)rdf2bin
$(X
) $(RDFLNPFX
)rdf2ith
$(X
)
342 rdoff
/rdf2ihx
$(X
): rdoff
/rdf2bin
$(X
)
343 $(RM_F
) rdoff
/rdf2ihx
$(X
)
344 $(RDFLN
) $(RDFLNPFX
)rdf2bin
$(X
) $(RDFLNPFX
)rdf2ihx
$(X
)
345 rdoff
/rdf2srec
$(X
): rdoff
/rdf2bin
$(X
)
346 $(RM_F
) rdoff
/rdf2srec
$(X
)
347 $(RDFLN
) $(RDFLNPFX
)rdf2bin
$(X
) $(RDFLNPFX
)rdf2srec
$(X
)
349 #-- End RDOFF Shared Rules --#
351 rdf
: $(RDFPROGS
) $(RDF2BINLINKS
)
353 $(RDFLIB
): $(RDFLIBOBJ
)
355 $(AR
) cq
$(RDFLIB
) $(RDFLIBOBJ
)
358 #-- Begin NSIS Rules --#
360 nsis
/arch.nsh
: nsis
/getpearch.pl nasm
$(X
)
361 $(PERL
) $(srcdir)/nsis
/getpearch.pl nasm
$(X
) > nsis
/arch.nsh
363 # Should only be done after "make everything".
364 # The use of redirection here keeps makensis from moving the cwd to the
366 nsis
: nsis
/nasm.nsi nsis
/arch.nsh nsis
/version.nsh
367 $(MAKENSIS
) -Dsrcdir
="$(srcdir)" -Dobjdir
="$(objdir)" - < nsis
/nasm.nsi
369 #-- End NSIS Rules --#
371 # Generated manpages, also pregenerated for distribution
372 manpages
: nasm
.1 ndisasm
.1
374 install: nasm
$(X
) ndisasm
$(X
)
375 $(MKDIR_P
) $(DESTDIR
)$(bindir)
376 $(INSTALL_PROGRAM
) nasm
$(X
) $(DESTDIR
)$(bindir)/nasm
$(X
)
377 $(INSTALL_PROGRAM
) ndisasm
$(X
) $(DESTDIR
)$(bindir)/ndisasm
$(X
)
378 $(MKDIR_P
) $(DESTDIR
)$(mandir)/man1
379 $(INSTALL_DATA
) $(srcdir)/nasm
.1 $(DESTDIR
)$(mandir)/man1
/nasm
.1
380 $(INSTALL_DATA
) $(srcdir)/ndisasm
.1 $(DESTDIR
)$(mandir)/man1
/ndisasm
.1
383 for d in .
$(SUBDIRS
) $(XSUBDIRS
); do \
384 $(RM_F
) "$$d"/*.
$(O
) "$$d"/*.s
"$$d"/*.i
"$$d"/*.
$(A
) ; \
386 $(RM_F
) nasm
$(X
) ndisasm
$(X
)
387 $(RM_F
) nasm-
*-installer-
*.exe
389 $(RM_F
) nsis
/arch.nsh
391 $(RM_F
) $(RDFPROGS
) $(RDF2BINLINKS
)
394 $(RM_F
) config.log config.status config
/config.h
395 for d in .
$(SUBDIRS
) $(XSUBDIRS
); do \
396 $(RM_F
) "$$d"/*~
"$$d"/*.bak
"$$d"/*.lst
"$$d"/*.bin
; \
399 $(RM_RF
) autom4te
*.cache
400 $(RM_F
) Makefile
*.dep
403 $(RM_F
) $(PERLREQ
) *.1 nasm.spec
407 spotless
: distclean cleaner
411 $(STRIP
) --strip-unneeded nasm
$(X
) ndisasm
$(X
)
415 $(FIND
) .
-name
'*.[hcS]' -print | xargs etags
-a
419 $(FIND
) .
-name
'*.[hcS]' -print | xargs ctags
-a
422 $(RM_F
) cscope.out cscope.files
423 $(FIND
) .
-name
'*.[hcS]' -print > cscope.files
424 cscope
-b
-f cscope.out
426 rdf_install install_rdf install_rdoff
:
427 $(MKDIR_P
) $(DESTDIR
)$(bindir)
428 for f in
$(RDFPROGS
); do \
429 $(INSTALL_PROGRAM
) "$$f" '$(DESTDIR)$(bindir)'/ ; \
431 cd
'$(DESTDIR)$(bindir)' && \
432 for f in
$(RDF2BINLINKS
); do \
433 bn
=`basename "$$f"` && $(RM_F
) "$$bn" && \
434 $(LN_S
) rdf2bin
$(X
) "$$bn" ; \
436 $(MKDIR_P
) $(DESTDIR
)$(mandir)/man1
437 $(INSTALL_DATA
) $(srcdir)/rdoff
/*.1 $(DESTDIR
)$(mandir)/man1
/
439 doc
: doc
/warnings.src
442 doc_install install_doc
:
443 $(MAKE
) -C doc
install
445 # Dummy target to prevent accidental invocation of the default "all" target
448 always_everything
: all doc rdf
450 everything
: always_everything
451 $(MAKE
) $(MANPAGES
) $(NSIS
) nothing
453 install_everything
: everything
install install_doc install_rdf
457 $(MAKE
) spotless perlreq manpages spec
$(MANPAGES
)
460 $(RM_RF
) .
/autom4te
*.cache
463 tar -cv
--exclude CVS
-C ..
-f
- | \
465 ..
/nasm-
`cat version`-`date +%Y%m%d`.
tar.xz
`basename \`pwd\
``
469 ALLPERLSRC
:= $(shell find
$(srcdir) -type f
-name
'*.p[lh]')
471 perlbreq.si
: $(ALLPERLSRC
)
472 sed
-n
-r
-e
's/^[[:space:]]*use[[:space:]]+([^[:space:];]+).*$$/BuildRequires: perl(\1)/p' $(ALLPERLSRC
) | \
473 sed
-r
-e
'/perl\((strict|warnings|Win32.*)\)/d' | \
474 sort | uniq
> perlbreq.si
476 nasm.spec
: nasm.spec.in nasm.spec.sed version.sed perlbreq.si
477 sed
-f version.sed
-f nasm.spec.sed \
478 < nasm.spec.in
> nasm.spec
484 cd
test && $(RUNPERL
) performtest.pl
--nasm
=..
/nasm
*.asm
487 cd
test && $(RUNPERL
) performtest.pl
--golden
--nasm
=..
/nasm
*.asm
490 $(PYTHON3
) travis
/nasm-t.py run
493 # Rules to run autogen if necessary
495 configure
: configure.ac autoconf
/aclocal.m4
496 sh autogen.sh
--recheck
498 config.status
: configure
499 @if
[ ! -f config.status
]; then \
500 echo
"*** ERROR: Need to run configure!" 1>&2 ; \
503 sh config.status
--recheck
505 Makefile
: config.status Makefile.in doc
/Makefile.in
508 doc
/Makefile
: Makefile
510 config
/config.h
: config.status
513 # Dummy rules that changes make behavior
514 # (at end to avoid confusing non-GNU makes)
521 # Does this version of this file have external dependencies? This definition
522 # will be automatically updated by mkdep.pl as needed.
524 EXTERNAL_DEPENDENCIES
= 1
527 # Generate dependency information for this Makefile only.
528 # If this Makefile has external dependency information, then
529 # the dependency information will remain external, so it doesn't
530 # pollute the git logs.
532 Makefile.dep
: $(PERLREQ
) tools
/mkdep.pl config.status
533 $(RUNPERL
) tools
/mkdep.pl
-M Makefile.in
-- $(DEPDIRS
)
538 # This build dependencies in *ALL* makefiles, and forces all
539 # dependencies to be inserted inline. For that reason, it should only
540 # be invoked manually or via "make dist". It should be run before
541 # creating release archives.
543 alldeps
: $(PERLREQ
) tools
/syncfiles.pl tools
/mkdep.pl
544 $(RUNPERL
) tools
/syncfiles.pl Makefile.in Mkfiles
/*.mak
545 $(RUNPERL
) tools
/mkdep.pl
-i
-M Makefile.in Mkfiles
/*.mak
-- \
548 if
[ -f config.status
]; then \
549 if
[ $(EXTERNAL_DEPENDENCIES
) -eq
1 ]; then \
550 sh config.status
--recheck
; \
555 # Strip internal dependency information from all Makefiles; this makes
556 # the output good for git checkin
557 cleandeps
: $(PERLREQ
) tools
/syncfiles.pl tools
/mkdep.pl
558 $(RUNPERL
) tools
/syncfiles.pl Makefile.in Mkfiles
/*.mak
559 $(RUNPERL
) tools
/mkdep.pl
-e
-M Makefile.in Mkfiles
/*.mak
-- \
562 if
[ -f config.status
]; then \
563 if
[ $(EXTERNAL_DEPENDENCIES
) -eq
0 ]; then \
564 sh config.status
--recheck
; \
569 #-- Magic hints to mkdep.pl --#
570 # @object-ending: ".$(O)"
571 # @path-separator: "/"
572 # @external: "Makefile.dep"
573 # @include-command: "-include"
575 #-- Everything below is generated by mkdep.pl - do not edit --#
576 -include Makefile.dep