summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Make configure an order-only prerequisite of aconfig.h.inRon Lee2014-07-311-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On filesystems with subsecond resolution, like ext4, we can't trust the timestamp of aconfig.h.in since autoheader leaves it truncated to second resolution (apparently touch -r and cp -p can do this at the very least) while configure has full subsecond resolution, so it can look newer even when it was cleanly created first, leading to the build system looping trying to recreate all of that again ... So in the initial stage of a clean build we can get something like this: $ make spotless $ make autoconf rm -rf MCONFIG configure config.log aconfig.h *.cache autoconf rm -f aconfig.h.in aconfig.h autoheader $ stat configure aconfig.h.in File: ‘configure’ Device: 807h/2055d Inode: 9443466 Links: 1 Access: 2014-07-31 03:27:27.599293442 +0930 Modify: 2014-07-31 03:27:27.711290270 +0930 Change: 2014-07-31 03:27:27.711290270 +0930 File: ‘aconfig.h.in’ Device: 807h/2055d Inode: 9443467 Links: 1 Access: 2014-07-31 03:27:27.000000000 +0930 Modify: 2014-07-31 03:27:27.000000000 +0930 Change: 2014-07-31 03:27:27.903284841 +0930 And with a parallel build, that can then leave 'make all' racing to remove and recreate aconfig.h (and possibly more things), while it begins to build the first targets. Which then fail horribly like we see here: https://buildd.debian.org/status/fetch.php?pkg=tftp-hpa&arch=i386&ver=5.2%2B20140608-1&stamp=1406736363 Possibly we also need to move the actual build job into the rule for the 'all' target, so that the build system update prerequisites are guaranteed to be completed before it runs (as opposed to running in parallel with them), but this change might be enough for now. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* [patch] fix parallel building of tftp-hpaMike Frysinger2007-01-131-2/+2
| | | | | | | | | if you try to build tftp-hpa in parallel, it may fail as the tftp and tftpd subdirs may try to link before the libcommon.a has a chance to be generated in the common subdir trivial patch attached to address this -mike
* Move common code to a common/ subdirectoryH. Peter Anvin2006-10-041-1/+1
|
* Add spec file for rpm -tahpa2004-09-141-1/+6
|
* Makefile/configure cleanups; prepare for releasetftp-hpa-0.35hpa2004-01-081-12/+16
|
* Fixes to help tru64hpa2004-01-051-1/+1
|
* Fix macro substitution bug; some Makefile issuestftp-hpa-0.29hpa2002-03-081-2/+2
|
* Make sure version.h is deleted for "make distclean"hpa2001-12-141-1/+1
|
* Make the version number automatically included in the man page footerhpa2001-11-171-1/+4
|
* Allow "readline" to be used even if "history" is unavailable...hpa2001-11-141-2/+1
|
* Move feature test macros into configure.in -> CFLAGS so we don'thpa2001-11-141-3/+3
| | | | end up with mismatch between "configure" and compile time
* clean up the various cleaning targetshpa2001-11-141-2/+6
|
* - Better parsing of the "connect" command (tftp).hpa2001-11-131-2/+9
| | | | | - Move missing header file stuff consistently into config.h. - Make "make -j" work correctly.
* Force "autoheader" to behave like a reasonable Makefile-operated program.hpa2001-11-121-1/+2
|
* Add #define _XOPEN_SOURCE (for Solaris)hpa2001-11-121-2/+4
| | | | Create "make autoconf" target
* Major overhaul of the portability stuff; port to autoconf 2.52hpa2001-11-121-6/+11
|
* Add "make release" target for what goes into the distribution.hpa2001-08-101-0/+4
|
* "make distclean" must remove config.statustftp-hpa-0.19hpa2001-07-261-1/+1
|
* "make distclean" -> delete all files not for releasehpa2001-07-261-3/+6
| | | | "make spotless" -> delete all non-generated files
* Further fixes to configuration system; don't put configure in CVS.hpa2001-04-231-2/+2
|
* Clean up the Makefile handling of autoconf files; add check forhpa2001-04-231-4/+16
| | | | tcpwrappers.
* More merging mania...hpa2001-03-301-1/+2
|
* Fix massive lossage: 0.15 based on an outdated repository!!!hpa2001-03-301-1/+1
|
* Initial revisionhpa1999-09-261-0/+25