diff options
author | 2008-11-04 07:22:35 +0000 | |
---|---|---|
committer | 2008-11-04 07:22:35 +0000 | |
commit | 6c2dbbdaa4b8cc7ab35e15fc200869d145f8db6a (patch) | |
tree | f636246634a2428cfa708be067a800cf26b63c13 /usr.bin/make/dir.c | |
parent | regen (diff) | |
download | wireguard-openbsd-6c2dbbdaa4b8cc7ab35e15fc200869d145f8db6a.tar.xz wireguard-openbsd-6c2dbbdaa4b8cc7ab35e15fc200869d145f8db6a.zip |
changes to get target equivalence to work better.
- add new file to create lists of equivalent targets (siblings)
- use that for sequential mode to have much better VPATH support
- separate checking commands from reporting error, for later.
- zap DieHorribly accordingly
- renumber existing flags
- signal_running_jobs() is simpler than pass_signal_to_jobs()
- new debug option -dn for name matching.
Similar code to handle parallel make is still missing.
thanks to Mark, Miod, Theo, Otto, Todd for tests and/or comments.
Diffstat (limited to 'usr.bin/make/dir.c')
-rw-r--r-- | usr.bin/make/dir.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/make/dir.c b/usr.bin/make/dir.c index d9ab9b918c8..b43efefe89c 100644 --- a/usr.bin/make/dir.c +++ b/usr.bin/make/dir.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: dir.c,v 1.55 2007/09/17 12:17:27 espie Exp $ */ +/* $OpenBSD: dir.c,v 1.56 2008/11/04 07:22:35 espie Exp $ */ /* $NetBSD: dir.c,v 1.14 1997/03/29 16:51:26 christos Exp $ */ /* @@ -347,6 +347,12 @@ create_PathEntry(const char *name, const char *ename) return p; } +char * +PathEntry_name(struct PathEntry *p) +{ + return p->name; +} + /* Side Effects: cache the current directory */ void Dir_Init(void) |