summaryrefslogtreecommitdiff
path: root/usr.bin/make/targequiv.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2008-11-04 07:22:37 +0000
committerMarc Espie <espie@cvs.openbsd.org>2008-11-04 07:22:37 +0000
commitd85ac4e823c81380e3ec028a1aae17a7b45ceae0 (patch)
tree37f50799c4bb6acee1412b9e2ee6ac18f5bf0b6e /usr.bin/make/targequiv.h
parente058b0a169961127593ba9879b839698dc5efd49 (diff)
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/targequiv.h')
-rw-r--r--usr.bin/make/targequiv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.bin/make/targequiv.h b/usr.bin/make/targequiv.h
new file mode 100644
index 00000000000..bb094152da0
--- /dev/null
+++ b/usr.bin/make/targequiv.h
@@ -0,0 +1,8 @@
+#ifndef TARGEQUIV_H
+#define TARGEQUIV_H
+extern void look_harder_for_target(GNode *);
+extern void Targ_setdirs(const char *, const char *);
+extern bool is_sibling(GNode *, GNode *);
+extern void kludge_look_harder_for_target(GNode *);
+
+#endif