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

Annotation of src/usr.bin/make/var_int.h, Revision 1.2

1.1       espie       1: #ifndef VAR_INT_H
                      2: #define VAR_INT_H
1.2     ! espie       3: /* $OpenBSD$ */
1.1       espie       4: /*
                      5:  * Copyright (c) 2001 Marc Espie.
                      6:  *
                      7:  * Redistribution and use in source and binary forms, with or without
                      8:  * modification, are permitted provided that the following conditions
                      9:  * are met:
                     10:  * 1. Redistributions of source code must retain the above copyright
                     11:  *    notice, this list of conditions and the following disclaimer.
                     12:  * 2. Redistributions in binary form must reproduce the above copyright
                     13:  *    notice, this list of conditions and the following disclaimer in the
                     14:  *    documentation and/or other materials provided with the distribution.
                     15:  *
                     16:  * THIS SOFTWARE IS PROVIDED BY THE OPENBSD PROJECT AND CONTRIBUTORS
                     17:  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
                     18:  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
                     19:  * A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OPENBSD
                     20:  * PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
                     21:  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
                     22:  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
                     23:  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
                     24:  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
                     25:  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
                     26:  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
                     27:  */
                     28:
                     29: /* Special variable names for hashing */
                     30: #define TARGET           "@"   /* Target of dependency */
                     31: #define OODATE           "?"   /* All out-of-date sources */
                     32: #define ALLSRC           ">"   /* All sources */
                     33: #define IMPSRC           "<"   /* Source implied by transformation */
                     34: #define PREFIX           "*"   /* Common prefix */
                     35: #define ARCHIVE          "!"   /* Archive in "archive(member)" syntax */
                     36: #define MEMBER           "%"   /* Member in "archive(member)" syntax */
                     37: #define LONGTARGET     ".TARGET"
                     38: #define LONGOODATE     ".OODATE"
                     39: #define LONGALLSRC     ".ALLSRC"
                     40: #define LONGIMPSRC     ".IMPSRC"
                     41: #define LONGPREFIX     ".PREFIX"
                     42: #define LONGARCHIVE    ".ARCHIVE"
                     43: #define LONGMEMBER     ".MEMBER"
                     44:
                     45: /* System V   extended variables (get directory/file part) */
                     46: #define FTARGET                "@F"
                     47: #define DTARGET                "@D"
                     48: #define FIMPSRC                "<F"
                     49: #define DIMPSRC                "<D"
                     50: #define FPREFIX                "*F"
                     51: #define DPREFIX                "*D"
                     52: #define FARCHIVE       "!F"
                     53: #define DARCHIVE       "!D"
                     54: #define FMEMBER                "%F"
                     55: #define DMEMBER                "%D"
                     56:
                     57: #endif