Remove assembly generation from wrc.
[wine] / tools / wrc / wrc.h
1 /*
2  * Main definitions and externals
3  *
4  * Copyright 1998 Bertho A. Stultiens (BS)
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #ifndef __WRC_WRC_H
22 #define __WRC_WRC_H
23
24 #ifndef __WRC_WRCTYPES_H
25 #include "wrctypes.h"
26 #endif
27
28 #include <time.h>       /* For time_t */
29
30 #define WRC_MAJOR_VERSION       1
31 #define WRC_MINOR_VERSION       1
32 #define WRC_MICRO_VERSION       9
33 #define WRC_RELEASEDATE         "(31-Dec-2000)"
34
35 #define WRC_STRINGIZE(a)        #a
36 #define WRC_EXP_STRINGIZE(a)    WRC_STRINGIZE(a)
37 #define WRC_VERSIONIZE(a,b,c)   WRC_STRINGIZE(a) "." WRC_STRINGIZE(b) "." WRC_STRINGIZE(c)
38 #define WRC_VERSION             WRC_VERSIONIZE(WRC_MAJOR_VERSION, WRC_MINOR_VERSION, WRC_MICRO_VERSION)
39 #define WRC_FULLVERSION         WRC_VERSION " " WRC_RELEASEDATE
40
41 /* From wrc.c */
42 extern int debuglevel;
43 #define DEBUGLEVEL_NONE         0x0000
44 #define DEBUGLEVEL_CHAT         0x0001
45 #define DEBUGLEVEL_DUMP         0x0002
46 #define DEBUGLEVEL_TRACE        0x0004
47 #define DEBUGLEVEL_PPMSG        0x0008
48 #define DEBUGLEVEL_PPLEX        0x0010
49 #define DEBUGLEVEL_PPTRACE      0x0020
50
51 extern int win32;
52 extern int create_res;
53 extern int extensions;
54 extern int alignment;
55 extern int alignment_pwr;
56 extern int create_s;
57 extern DWORD codepage;
58 extern int pedantic;
59 extern int byteorder;
60 extern int preprocess_only;
61 extern int no_preprocess;
62 extern int remap;
63
64 extern char *output_name;
65 extern char *input_name;
66 extern char *cmdline;
67 extern time_t now;
68
69 extern int line_number;
70 extern int char_number;
71
72 extern resource_t *resource_top;
73 extern language_t *currentlanguage;
74
75 #endif