[BACK]Return to targequiv.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

File: [local] / src / usr.bin / make / targequiv.h (download)

Revision 1.1, Tue Nov 4 07:22:36 2008 UTC (15 years, 7 months ago) by espie
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5

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.

#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