442
|
1 # -*- mode: makefile -*-
|
|
2
|
|
3 ############################################################################
|
|
4
|
|
5 INSTALL_DIR=c:\Program Files\XEmacs\XEmacs-$(XEMACS_VERSION_STRING)
|
|
6
|
|
7 PACKAGE_PREFIX=c:\Program Files\XEmacs
|
|
8
|
|
9 ############################################################################
|
|
10
|
771
|
11 # Multilingual support.
|
|
12 MULE=0
|
442
|
13
|
|
14 # Native MS Windows support.
|
|
15 HAVE_MS_WINDOWS=1
|
|
16
|
814
|
17 # X Windows support. Not working at all and probably never will. If you
|
|
18 # want X support under MS Windows, compile with Cygwin instead.
|
442
|
19 HAVE_X_WINDOWS=0
|
|
20 X11_DIR=
|
|
21
|
814
|
22 # GTK support. Do NOT set this to 1; as of xemacs-21.5-b6
|
462
|
23 # gtk-xemacs is not supported on MSWindows (mingw or msvc).
|
|
24 # Yes, we know that gtk has been ported to native MSWindows
|
|
25 # but XEmacs is not yet ready to use that port.
|
|
26 HAVE_GTK=0
|
|
27 GTK_DIR=
|
|
28
|
442
|
29 ############################################################################
|
|
30
|
|
31 # Set this to enable XPM support (virtually mandatory), and specify
|
|
32 # the directory containing xpm.
|
|
33 HAVE_XPM=1
|
|
34 XPM_DIR=c:\src\xpm-3.4k
|
|
35
|
|
36 # Set this to enable GIF support.
|
|
37 HAVE_GIF=1
|
|
38
|
|
39 # Set this to enable PNG support (virtually mandatory), and specify
|
|
40 # the directories containing png and zlib.
|
|
41 HAVE_PNG=1
|
827
|
42 PNG_DIR=c:\src\libpng-1.0.9
|
814
|
43 ZLIB_DIR=c:\src\zlib
|
442
|
44
|
|
45 # Set this to enable TIFF support, and specify the directory containing tiff.
|
|
46 HAVE_TIFF=0
|
|
47 TIFF_DIR=
|
|
48
|
|
49 # Set this to enable JPEG support, and specify the directory containing jpeg.
|
|
50 HAVE_JPEG=1
|
|
51 JPEG_DIR=c:\src\jpeg-6b
|
|
52
|
|
53 # Set this to enable XFace support, and specify the directory containing
|
|
54 # compface.
|
|
55 HAVE_XFACE=0
|
|
56 COMPFACE_DIR=
|
|
57
|
|
58 ############################################################################
|
|
59
|
|
60 # Set this to specify the location of makeinfo. (If not set, XEmacs will
|
|
61 # attempt to use its built-in texinfo support when building info files.)
|
495
|
62 MAKEINFO=c:\src\texinfo-4.0\makeinfo\makeinfo.exe
|
442
|
63
|
|
64 ############################################################################
|
|
65
|
814
|
66 # Set this to turn on optimization when compiling.
|
|
67 OPTIMIZED_BUILD=0
|
|
68
|
872
|
69 # Set this to build with the fastcall calling convention, which uses registers
|
|
70 # instead of the stack and should speed things up a bit
|
|
71 # #### Change to 1 when I check in the ws with support for fastcall
|
|
72 USE_FASTCALL=0
|
|
73
|
|
74 # Set this to compile in support for profiling. If you want line-by-line
|
|
75 # profiling under VC++, you also need debugging turned on.
|
|
76 PROFILE_SUPPORT=0
|
|
77
|
814
|
78 ############################################################################
|
|
79 # Development options #
|
|
80 ############################################################################
|
|
81
|
|
82 # Set this to enable debug code in XEmacs that doesn't slow things down,
|
|
83 # and to add debugging information to the executable. (The code that's
|
|
84 # enabled in XEmacs is primarily extra commands that aid in debugging
|
|
85 # problems. The kind of debugging code that slows things down --
|
|
86 # i.e. internal error-checking -- is controlled by the ERROR_CHECK_ALL
|
|
87 # variable, below.)
|
442
|
88 DEBUG_XEMACS=1
|
|
89
|
872
|
90 # True if running VC++ 6 or later.
|
|
91 HAVE_VC6=1
|
|
92
|
800
|
93 # Uncomment this to turn off or on the error-checking code, which adds
|
|
94 # abundant internal error checking (and slows things down a lot). Normally,
|
|
95 # leave this alone -- it will be on for beta builds and off for release
|
|
96 # builds.
|
|
97 # ERROR_CHECK_ALL=0
|
|
98
|
442
|
99 # Set this to speed up building, for development purposes.
|
|
100 QUICK_BUILD=0
|
|
101
|
|
102 # Set this to see exactly which compilation commands are being run (not
|
|
103 # generally recommended).
|
|
104 VERBOSECC=0
|
|
105
|
795
|
106 # Set this to get nmake to use dependency info (recommended for development).
|
|
107 # Requires cygwin or ActiveState versions of Perl to be installed.
|
442
|
108 DEPEND=0
|
|
109
|
814
|
110 # Set this to use the portable dumper for dumping the preloaded Lisp
|
|
111 # routines, instead of the older "unexec" routines in unexnt.c.
|
|
112 USE_PORTABLE_DUMPER=1
|
872
|
113
|
|
114 # Set this to get improved type checking of Lisp_Objects -- with this
|
|
115 # setting, they're declared as unions instead of ints, and so places where
|
|
116 # a Lisp_Object is mistakenly passed to a routine expecting an int (or
|
|
117 # vice-versa), or a check is written `if (foo)' instead of `if (!NILP
|
|
118 # (foo))', will be flagged as errors. (All of these do NOT lead to the
|
|
119 # expected results! Qnil is not represented as 0 (so if (foo) will
|
|
120 # *ALWAYS* be true for a Lisp_Object), the representation of an integer as
|
|
121 # a Lisp_Object is not just the integer's numeric value (but usually 2x the
|
|
122 # integer +/- 1).
|
|
123
|
|
124 # Some also claim it simplifies debugging, but I don't really believe them.
|
|
125 # Definitely don't do your normal builds this way, because you may well get
|
|
126 # less efficiency, and could conceivably trigger compiler bugs (has definitely happened, many times, with gcc).
|
|
127 # USE_UNION_TYPE=1
|