# $Header: /CVSROOT/tinolib/old/Makefile.awk,v 1.8 2004/10/05 02:09:07 tino Exp $ # Create a Makefile out of Makefile.tino # All the magic shall go into here with only a little help from the # caller side. Note that this is not completely ready yet, as it does # not support all the options I want it to support. However it does a # good job now. # $Log: Makefile.awk,v $ # Revision 1.8 2004/10/05 02:09:07 tino # A lot of design improvements around the make -f Makefile.tino # # Revision 1.7 2004/09/29 23:32:33 tino # md5 checksum issues in Makefile generation fixed (hopefully) # # Revision 1.6 2004/09/04 14:25:20 tino # typos corrected # # Revision 1.5 2004/09/04 14:12:15 tino # Automated dependencies added and other make improvements. # # Revision 1.4 2004/08/24 23:49:36 tino # Feature MD5TINOIGN to ignore ever changing output lines from MD5 checks. # # Revision 1.3 2004/08/22 05:47:34 Administrator # Now Makefile generator understands to look into variables set in Makefile. # This way Auto-Dependencies can be improved a little step and more important, # the "TINOCOPY" functionality was added, such that I can copy files from # elsewhere to the distribution and keep that files in sync. # # Revision 1.2 2004/07/28 03:42:19 tino # - # # Revision 1.1 2004/07/21 13:29:14 tino # Creation of standard Makefile from Makefile.tino added # Give out a warning sign BEGIN { print "# Makefile automatically generated, do not edit!"; print "#"; print "#@MD5TINOIGN@ Creation date: " strftime(); print "#"; print "# This file is based on following files:"; for (i=1; ia[5]) f = 1; # negate if needed if (a[1]!="") f = 3-f; # "or" the values if (o0) print l; close(f); } printf "%s", s; empty=1; } gather=""; }