From d85ac4e823c81380e3ec028a1aae17a7b45ceae0 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 4 Nov 2008 07:22:37 +0000 Subject: 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. --- usr.bin/make/targequiv.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 usr.bin/make/targequiv.h (limited to 'usr.bin/make/targequiv.h') 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 -- cgit v1.2.3