summaryrefslogtreecommitdiffstats
path: root/src/util/depgen.sed
Commit message (Collapse)AuthorAgeFilesLines
* Stop generating per-directory sed scripts, and use perl to compute the patternsKen Raeburn2005-04-211-141/+0
| | | | | | | | | | | | | | on the fly instead. (Next step, someday, integrate this script and depfix.sed, so we only have to run one script.) * config/post.in (depend-dependencies): Use (and depend on) depfix2.pl instead of .depfix2.sed. (.depfix2.sed): Target deleted. (DEPTARGETS): Delete .depfix2.sed and .depfix2.tmp. * util/depgen.sed: Deleted. * util/depfix2.pl: New file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17187 dc483132-0cff-0310-8789-dd5450dbe970
* * depgen.sed: Delete faulty check for $(srcdir), and redundant check for ↵Ken Raeburn2005-04-201-26/+1
| | | | | | $(SRCTOP) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17186 dc483132-0cff-0310-8789-dd5450dbe970
* Do the target object file name hacking in "make depend" earlier, before theKen Raeburn2004-12-301-3/+22
| | | | | | | | | | | | | | | | | line breaks are recomputed, instead of after. This will result in lots of whitespace changes in dependencies in directories that build library object files, but the final output is nicer (fewer long lines), and running "make depend" uses one fewer invocation of sed (balancing out the extra one I added in another checkin earlier today). * config/post.in (.depend): Don't do target name munging here. (.depfix2.sed): Pass extra value $(STLIBOBJS). * util/depfix.sed: Don't change foo.o to $(OUTPRE)foo.$(OBJEXT) here. * util/depgen.sed: Add new argument for STLIBOBJS. Do the OUTPRE/OBJEXT substitution here, and if STLIBOBJS is non-empty, add foo.so and foo.po while we're at it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16986 dc483132-0cff-0310-8789-dd5450dbe970
* * depgen.sed: Put print command on separate lines from substitution commands,Ken Raeburn2003-05-181-3/+15
| | | | | | | | instead of using s///p form. ticket: 1364 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15458 dc483132-0cff-0310-8789-dd5450dbe970
* * depgen.sed: Solaris sed doesn't like '\(^.*$\)'; replace it withTom Yu2002-09-271-1/+1
| | | | | | '^\(.*\)$'. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14905 dc483132-0cff-0310-8789-dd5450dbe970
* Work out pathname for gcc fixincludes headers via "-print-libgcc-file-name" andKen Raeburn2002-09-141-3/+18
| | | | | | | | | | substitutions in depgen.sed at "make depend" time, and emit patterns into depfix2.sed to strip them out of dependencies, instead of hard-coding pathnames for Athena gcc installations we know about in depfix.sed. Verify that gcc is being used, before trying to rebuild dependencies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14861 dc483132-0cff-0310-8789-dd5450dbe970
* Move all depfix2.sed generation into depgen.sed, so ".." in $(srcdir) andKen Raeburn2002-09-111-4/+64
| | | | | | $(BUILDTOP) can be properly quoted, and won't match names like "ss". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14837 dc483132-0cff-0310-8789-dd5450dbe970
* now process myfulldir arg tooKen Raeburn2001-09-061-4/+46
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13732 dc483132-0cff-0310-8789-dd5450dbe970
* * depgen.sed: New file.Ken Raeburn2001-09-061-0/+18
* depfix.sed: Remove /foo/../ sequences, looping til no more. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13730 dc483132-0cff-0310-8789-dd5450dbe970