xref: /openbsd-src/usr.bin/make/targequiv.h (revision bb4544df9ace63bacb4f113c781faab96bfc1dec)
1*bb4544dfSespie /*	$OpenBSD: targequiv.h,v 1.2 2010/07/19 19:46:44 espie Exp $ */
2*bb4544dfSespie /*
3*bb4544dfSespie  * Copyright (c) 2007-2008 Marc Espie.
4*bb4544dfSespie  *
5*bb4544dfSespie  * Extensive code changes for the OpenBSD project.
6*bb4544dfSespie  *
7*bb4544dfSespie  * Redistribution and use in source and binary forms, with or without
8*bb4544dfSespie  * modification, are permitted provided that the following conditions
9*bb4544dfSespie  * are met:
10*bb4544dfSespie  * 1. Redistributions of source code must retain the above copyright
11*bb4544dfSespie  *    notice, this list of conditions and the following disclaimer.
12*bb4544dfSespie  * 2. Redistributions in binary form must reproduce the above copyright
13*bb4544dfSespie  *    notice, this list of conditions and the following disclaimer in the
14*bb4544dfSespie  *    documentation and/or other materials provided with the distribution.
15*bb4544dfSespie  *
16*bb4544dfSespie  * THIS SOFTWARE IS PROVIDED BY THE OPENBSD PROJECT AND CONTRIBUTORS
17*bb4544dfSespie  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18*bb4544dfSespie  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19*bb4544dfSespie  * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OPENBSD
20*bb4544dfSespie  * PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21*bb4544dfSespie  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22*bb4544dfSespie  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23*bb4544dfSespie  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24*bb4544dfSespie  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25*bb4544dfSespie  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26*bb4544dfSespie  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27*bb4544dfSespie  */
286c2dbbdaSespie #ifndef TARGEQUIV_H
296c2dbbdaSespie #define TARGEQUIV_H
306c2dbbdaSespie extern void look_harder_for_target(GNode *);
316c2dbbdaSespie extern void Targ_setdirs(const char *, const char *);
326c2dbbdaSespie extern bool is_sibling(GNode *, GNode *);
336c2dbbdaSespie extern void kludge_look_harder_for_target(GNode *);
346c2dbbdaSespie 
356c2dbbdaSespie #endif
36