File: icmake.h

package info (click to toggle)
icmake 6.22-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,120 kB
  • ctags: 1,045
  • sloc: ansic: 9,241; makefile: 1,138; asm: 126; sh: 124
file content (58 lines) | stat: -rw-r--r-- 1,278 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#include "../rss/icrssdef.h"

#ifdef MSDOS
#   define __STDC__
#   define ICMCOMP          "icm-comp.exe"
#   define ICMEXEC          "icm-exec.exe"
#   define ICMPP            "icm-pp.exe"
#else
#   define ICMEXEC          "icm-exec"
#   define ICMCOMP          "icm-comp"
#   define ICMPP            "icm-pp"
#endif

#ifdef SUN
#include <memory.h>
#endif


typedef enum
{
    f_preprocessor  =   (1 << 0),
    f_compiler      =   (1 << 1),
    f_quiet         =   (1 << 2),
    f_redirected    =   (1 << 3),
    f_blunt         =   (1 << 4),
    f_icmake        =   (1 << 5),
    f_tmpbim        =   (1 << 6),
} FLAGS_;

extern char
    version[],
    release[],
    cant_read[],
    *dest_name,
    r[],
    rb[],
    *source_name,
    *temporary;

extern FILE
    *fdest;

extern FLAGS_
    flags;

extern int
    errors;

extern unsigned
    redirect_nr;

int     compile_test ARG((void));           /* test if compilation is needed */
int     options ARG((char **, int*));       /* process flags */

void    abnormal_exit ARG((int));          /* abnormal eop */
void    about(void);                        /* about icmake */
void    cleanup ARG((void));                /* cleanup temp. info */
void    quote_blanks(char **);              /* quote arguments with blanks */