annotate nt/xemacs.mak @ 814:a634e3b7acc8

[xemacs-hg @ 2002-04-14 12:41:59 by ben] latest changes TODO.ben-mule-21-5: Update. make-docfile.c: Add basic support for handling ISO 2022 doc strings -- we parse the basic charset designation sequences so we know whether we're in ASCII and have to pay attention to end quotes and such. Reformat code according to coding standards. abbrev.el: Add `global-abbrev-mode', which turns on or off abbrev-mode in all buffers. Added `defining-abbrev-turns-on-abbrev-mode' -- if non-nil, defining an abbrev through an interactive function will automatically turn on abbrev-mode, either globally or locally depending on the command. This is the "what you'd expect" behavior. indent.el: general function for indenting a balanced expression in a mode-correct way. Works similar to indent-region in that a mode can specify a specific command to do the whole operation; if not, figure out the region using forward-sexp and indent each line using indent-according-to-mode. keydefs.el: Removed. Modify M-C-backslash to do indent-region-or-balanced-expression. Make S-Tab just insert a TAB char, like it's meant to do. make-docfile.el: Now that we're using the call-process-in-lisp, we need to load an extra file win32-native.el because we're running a bare temacs. menubar-items.el: Totally redo the Cmds menu so that most used commands appear directly on the menu and less used commands appear in submenus. The old way may have been very pretty, but rather impractical. process.el: Under Windows, don't ever use old-call-process-internal, even in batch mode. We can do processes in batch mode. subr.el: Someone recoded truncate-string-to-width, saying "the FSF version is too complicated and does lots of hard-to-understand stuff" but the resulting recoded version was *totally* wrong! it misunderstood the basic point of this function, which is work in *columns* not chars. i dumped ours and copied the version from FSF 21.1. Also added truncate-string-with-continuation-dots, since this idiom is used often. config.inc.samp, xemacs.mak: Separate out debug and optimize flags. Remove all vestiges of USE_MINIMAL_TAGBITS, USE_INDEXED_LRECORD_IMPLEMENTATION, and GUNG_HO, since those ifdefs have long been removed. Make error-checking support actually work. Some rearrangement of config.inc.samp to make it more logical. Remove callproc.c and ntproc.c from xemacs.mak, no longer used. Make pdump the default. lisp.h: Add support for strong type-checking of Bytecount, Bytebpos, Charcount, Charbpos, and others, by making them classes, overloading the operators to provide integer-like operation and carefully controlling what operations are allowed. Not currently enabled in C++ builds because there are still a number of compile errors, and it won't really work till we merge in my "8-bit-Mule" workspace, in which I make use of the new types Charxpos, Bytexpos, Memxpos, representing a "position" either in a buffer or a string. (This is especially important in the extent code.) abbrev.c, alloc.c, eval.c, buffer.c, buffer.h, editfns.c, fns.c, text.h: Warning fixes, some of them related to new C++ strict type checking of Bytecount, Charbpos, etc. dired.c: Caught an actual error due to strong type checking -- char len being passed when should be byte len. alloc.c, backtrace.h, bytecode.c, bytecode.h, eval.c, sysdep.c: Further optimize Ffuncall: -- process arg list at compiled-function creation time, converting into an array for extra-quick access at funcall time. -- rewrite funcall_compiled_function to use it, and inline this function. -- change the order of check for magic stuff in SPECBIND_FAST_UNSAFE to be faster. -- move the check for need to garbage collect into the allocation code, so only a single flag needs to be checked in funcall. buffer.c, symbols.c: add debug funs to check on mule optimization info in buffers and strings. eval.c, emacs.c, text.c, regex.c, scrollbar-msw.c, search.c: Fix evil crashes due to eistrings not properly reinitialized under pdump. Redo a bit some of the init routines; convert some complex_vars_of() into simple vars_of(), because they didn't need complex processing. callproc.c, emacs.c, event-stream.c, nt.c, process.c, process.h, sysdep.c, sysdep.h, syssignal.h, syswindows.h, ntproc.c: Delete. Hallelujah, praise the Lord, there is no god but Allah!!! fix so that processes can be invoked in bare temacs -- thereby eliminating any need for callproc.c. (currently only eliminated under NT.) remove all crufty and unnecessary old process code in ntproc.c and elsewhere. move non-callproc-specific stuff (mostly environment) into process.c, so callproc.c can be left out under NT. console-tty.c, doc.c, file-coding.c, file-coding.h, lstream.c, lstream.h: fix doc string handling so it works with Japanese, etc docs. change handling of "character mode" so callers don't have to manually set it (quite error-prone). event-msw.c: spacing fixes. lread.c: eliminate unused crufty vintage-19 "FSF defun hack" code. lrecord.h: improve pdump description docs. buffer.c, ntheap.c, unexnt.c, win32.c, emacs.c: Mule-ize some unexec and startup code. It was pseudo-Mule-ized before by simply always calling the ...A versions of functions, but that won't cut it -- eventually we want to be able to run properly even if XEmacs has been installed in a Japanese directory. (The current problem is the timing of the loading of the Unicode tables; this will eventually be fixed.) Go through and fix various other places where the code was not Mule-clean. Provide a function mswindows_get_module_file_name() to get our own name without resort to PATH_MAX and such. Add a big comment in main() about the problem with Unicode table load timing that I just alluded to. emacs.c: When error-checking is enabled (interpreted as "user is developing XEmacs"), don't ask user to "pause to read messages" when a fatal error has occurred, because it will wedge if we are in an inner modal loop (typically when a menu is popped up) and make us unable to get a useful stack trace in the debugger. text.c: Correct update_entirely_ascii_p_flag to actually work. lisp.h, symsinit.h: declarations for above changes.
author ben
date Sun, 14 Apr 2002 12:43:31 +0000
parents f846c2ef930d
children 66265f190a16
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
795
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
1 # Makefile for Microsoft NMAKE -*- Makefile -*-
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
2 #
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
3 # Copyright (C) 1995 Board of Trustees, University of Illinois.
776
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
4 # Copyright (C) 1995, 1996, 2000, 2001, 2002 Ben Wing.
795
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
5 # Copyright (C) 1997, 1998, 2000 Jonathan Harris.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
6 # Copyright (C) 1995 Sun Microsystems, Inc.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
7 # Copyright (C) 1998 Free Software Foundation, Inc.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
8 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9 # This file is part of XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
10 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 # XEmacs is free software; you can redistribute it and/or modify it
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12 # under the terms of the GNU General Public License as published by the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13 # Free Software Foundation; either version 2, or (at your option) any
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14 # later version.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19 # for more details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21 # You should have received a copy of the GNU General Public License
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22 # along with XEmacs; see the file COPYING. If not, write to
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24 # Boston, MA 02111-1307, USA.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26 # Synched up with: Not in FSF.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
28
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
29 default: all
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
30
444
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
31 # APA: Since there seems to be no way to determine the directory where
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
32 # xemacs.mak is located (from within nmake) we just insist on the user
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
33 # to invoke nmake in the directory where xemacs.mak is.
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
34 !if !exist("$(MAKEDIR)\xemacs.mak")
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
35 !error Please run nmake from the directory of this makefile (xemacs\nt).
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
36 !endif
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
37
576fb035e263 Import from CVS: tag r21-2-37
cvs
parents: 442
diff changeset
38 XEMACS=$(MAKEDIR)\..
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
39 LISP=$(XEMACS)\lisp
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
40 LIB_SRC=$(XEMACS)\lib-src
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
41 MODULES=$(XEMACS)\modules
795
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
42 NT=$(MAKEDIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
43 OUTDIR=$(NT)\obj
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
44 SRC=$(XEMACS)\src
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
45 LWLIB_SRCDIR=$(XEMACS)\lwlib
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
46 MAKEDIRSTRING=$(MAKEDIR:\=\\)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
47 XEMACSDIRSTRING=$(MAKEDIRSTRING:\\nt=)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
48
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
49
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
50 # Common operations
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
51
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
52 # Note that some versions of some commands are deficient.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
53
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
54 # Define the 'del' command to use
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
55 # WinME's DEL command can only handle one argument and only has the /P flag.
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
56 # So only delete one glob at a time. Override flags in config.inc.
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
57 DEL=del
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
58
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
59 # Define the 'copy' command to use
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
60 # Suppress confirmation for overwriting files
669
5c696033aec4 [xemacs-hg @ 2001-09-28 15:31:01 by adrian]
adrian
parents: 637
diff changeset
61 # Use /r (instead of /y), which exists on Windows NT 4 and 5.
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
62 COPY=xcopy /q /y
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
63 COPYDIR=xcopy /q /y /e
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
64
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
65 # Program name and version
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
66
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
67 !include "$(XEMACS)\version.sh"
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
68
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
69 !include "config.inc"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
70
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
71 !if !defined(INFODOCK)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
72 INFODOCK=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
73 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
74
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
75 !if $(INFODOCK)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
76 INFODOCK_VERSION_STRING=$(infodock_major_version).$(infodock_minor_version).$(infodock_build_version)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
77 PROGRAM_DEFINES=-DINFODOCK \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
78 -DPATH_VERSION=\"$(INFODOCK_VERSION_STRING)\" \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
79 -DPATH_PROGNAME=\"infodock\" \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
80 -DEMACS_PROGNAME=\"infodock\" \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
81 -DEMACS_VERSION=\"$(INFODOCK_VERSION_STRING)\" \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
82 -DINFODOCK_MAJOR_VERSION=$(infodock_major_version) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
83 -DINFODOCK_MINOR_VERSION=$(infodock_minor_version) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
84 -DINFODOCK_BUILD_VERSION=$(infodock_build_version)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
85 !else
496
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
86 XEMACS_VERSION_STRING=$(emacs_major_version).$(emacs_minor_version)
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
87 !if "$(emacs_beta_version)" != ""
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
88 !if "$(emacs_is_beta)" != ""
496
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
89 XEMACS_VERSION_STRING=$(XEMACS_VERSION_STRING)-b$(emacs_beta_version)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
90 !else
496
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
91 XEMACS_VERSION_STRING=$(XEMACS_VERSION_STRING).$(emacs_beta_version)
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
92 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
93 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
94 PROGRAM_DEFINES= \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
95 -DPATH_VERSION=\"$(XEMACS_VERSION_STRING)\" \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
96 -DPATH_PROGNAME=\"xemacs\" \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
97 -DEMACS_VERSION=\"$(XEMACS_VERSION_STRING)\" \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
98 -DEMACS_PROGNAME=\"xemacs\"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
99 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
100
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
101 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
102 # Command line options defaults
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
103 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
104 !if !defined(INSTALL_DIR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
105 ! if $(INFODOCK)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
106 INSTALL_DIR=c:\Program Files\Infodock\Infodock-$(INFODOCK_VERSION_STRING)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
107 ! else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
108 INSTALL_DIR=c:\Program Files\XEmacs\XEmacs-$(XEMACS_VERSION_STRING)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
109 ! endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
110 !endif
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
111 !if !defined(MULE)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
112 MULE=0
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
113 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
114 !if !defined(PACKAGE_PATH)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
115 ! if !defined(PACKAGE_PREFIX)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
116 PACKAGE_PREFIX=c:\Program Files\XEmacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
117 ! endif
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
118 ! if $(MULE)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
119 PACKAGE_PATH=~\.xemacs;;$(PACKAGE_PREFIX)\site-packages;$(PACKAGE_PREFIX)\mule-packages;$(PACKAGE_PREFIX)\xemacs-packages
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
120 ! else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
121 PACKAGE_PATH=~\.xemacs;;$(PACKAGE_PREFIX)\site-packages;$(PACKAGE_PREFIX)\xemacs-packages
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
122 ! endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
123 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
124 PATH_PACKAGEPATH="$(PACKAGE_PATH:\=\\)"
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
125 !if !defined(HAVE_MS_WINDOWS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
126 HAVE_MS_WINDOWS=1
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
127 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
128 !if !defined(HAVE_X_WINDOWS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
129 HAVE_X_WINDOWS=0
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
130 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
131 !if !defined(HAVE_XPM)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
132 HAVE_XPM=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
133 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
134 !if !defined(HAVE_PNG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
135 HAVE_PNG=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
136 !endif
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
137 !if !defined(HAVE_ZLIB)
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
138 HAVE_ZLIB=$(HAVE_PNG)
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
139 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
140 !if !defined(HAVE_TIFF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
141 HAVE_TIFF=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
142 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
143 !if !defined(HAVE_JPEG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
144 HAVE_JPEG=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
145 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
146 !if !defined(HAVE_XFACE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
147 HAVE_XFACE=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
148 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
149 !if !defined(HAVE_GIF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
150 HAVE_GIF=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
151 !endif
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
152 !if !defined(HAVE_GTK)
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
153 HAVE_GTK=0
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
154 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
155 !if !defined(HAVE_TOOLBARS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
156 HAVE_TOOLBARS=$(HAVE_XPM)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
157 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
158 !if !defined(HAVE_DIALOGS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
159 HAVE_DIALOGS=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
160 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
161 !if !defined(HAVE_MSW_C_DIRED)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
162 HAVE_MSW_C_DIRED=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
163 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
164 !if !defined(HAVE_NATIVE_SOUND)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
165 HAVE_NATIVE_SOUND=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
166 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
167 !if !defined(HAVE_WIDGETS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
168 HAVE_WIDGETS=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
169 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
170 !if !defined(DEBUG_XEMACS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
171 DEBUG_XEMACS=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
172 !endif
800
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 795
diff changeset
173 !if !defined(ERROR_CHECK_ALL)
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 795
diff changeset
174 # Turn off when not a beta XEmacs.
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 795
diff changeset
175 ERROR_CHECK_ALL=1
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 795
diff changeset
176 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
177 !if !defined(QUICK_BUILD)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
178 QUICK_BUILD=0
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
179 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
180 !if !defined(USE_UNION_TYPE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
181 USE_UNION_TYPE=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
182 !endif
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
183 !if !defined(USE_MINITAR)
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
184 USE_MINITAR=$(HAVE_ZLIB)
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
185 !endif
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
186 !if !defined(USE_PORTABLE_DUMPER)
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
187 USE_PORTABLE_DUMPER=1
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
188 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
189
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
190 # A little bit of adhockery. Default to use system malloc and
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
191 # DLL version of the C runtime library when using portable
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
192 # dumping. These are the optimal settings.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
193 !if !defined(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
194 USE_SYSTEM_MALLOC=$(USE_PORTABLE_DUMPER)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
195 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
196 !if !defined(USE_CRTDLL)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
197 USE_CRTDLL=$(USE_PORTABLE_DUMPER)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
198 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
199
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
200 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
201 # System configuration
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
202 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
203 !if !defined(OS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
204 OS=Windows_95/98
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
205 EMACS_CONFIGURATION=i586-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
206 !else if "$(PROCESSOR_ARCHITECTURE)" == "x86"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
207 EMACS_CONFIGURATION=i586-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
208 !else if "$(PROCESSOR_ARCHITECTURE)" == "MIPS"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
209 EMACS_CONFIGURATION=mips-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
210 !else if "$(PROCESSOR_ARCHITECTURE)" == "ALPHA"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
211 EMACS_CONFIGURATION=alpha-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
212 !else if "$(PROCESSOR_ARCHITECTURE)" == "PPC"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
213 EMACS_CONFIGURATION=ppc-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
214 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
215 ! error Unknown processor architecture type $(PROCESSOR_ARCHITECTURE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
216 !endif
794
3604075fb2a3 [xemacs-hg @ 2002-03-29 07:05:27 by jhar]
jhar
parents: 780
diff changeset
217 STACK_TRACE_EYE_CATCHER=$(XEMACS_VERSION_STRING:.=_)
3604075fb2a3 [xemacs-hg @ 2002-03-29 07:05:27 by jhar]
jhar
parents: 780
diff changeset
218 STACK_TRACE_EYE_CATCHER=xemacs_$(STACK_TRACE_EYE_CATCHER:-=_)_$(EMACS_CONFIGURATION:-=_)
3604075fb2a3 [xemacs-hg @ 2002-03-29 07:05:27 by jhar]
jhar
parents: 780
diff changeset
219 PROGRAM_DEFINES=$(PROGRAM_DEFINES) -DSTACK_TRACE_EYE_CATCHER=$(STACK_TRACE_EYE_CATCHER)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
220
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
221 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
222 # Conf error checks
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
223 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
224 CONFIG_ERROR=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
225 !if $(INFODOCK) && !exist("..\..\Infodock.rules")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
226 !message Cannot build InfoDock without InfoDock sources
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
227 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
228 !endif
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
229 !if !$(USE_PORTABLE_DUMPER) && $(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
230 !message Cannot use system allocator when dumping old way, use portable dumper.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
231 CONFIG_ERROR=1
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
232 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
233 !if !$(USE_PORTABLE_DUMPER) && $(USE_CRTDLL)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
234 !message Cannot use C runtime DLL when dumping old way, use portable dumper.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
235 CONFIG_ERROR=1
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
236 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
237 !if !$(USE_SYSTEM_MALLOC) && $(USE_CRTDLL)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
238 !message GNU malloc currently cannot be used with CRT DLL.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
239 !message [[[Developer note: If you want to fix it, read Q112297 first]]] ####
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
240 CONFIG_ERROR=1
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
241 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
242 !if !$(HAVE_MS_WINDOWS) && !$(HAVE_X_WINDOWS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
243 !message Please specify at least one HAVE_MS_WINDOWS=1 and/or HAVE_X_WINDOWS=1
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
244 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
245 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
246 !if $(HAVE_X_WINDOWS) && !defined(X11_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
247 !message Please specify root directory for your X11 installation: X11_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
248 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
249 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
250 !if $(HAVE_X_WINDOWS) && defined(X11_DIR) && !exist("$(X11_DIR)\LIB\X11.LIB")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
251 !message Specified X11 directory does not contain "$(X11_DIR)\LIB\X11.LIB"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
252 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
253 !endif
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
254 !if $(HAVE_MS_WINDOWS) && $(HAVE_GTK) && !defined(GTK_DIR)
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
255 !message Please specify root directory for your GTK installation: GTK_DIR=path
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
256 CONFIG_ERROR=1
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
257 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
258 !if $(HAVE_MS_WINDOWS) && $(HAVE_XPM) && !defined(XPM_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
259 !message Please specify root directory for your XPM installation: XPM_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
260 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
261 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
262 !if $(HAVE_MS_WINDOWS) && $(HAVE_XPM) && defined(XPM_DIR) && !exist("$(XPM_DIR)\lib\Xpm.lib")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
263 !message Specified XPM directory does not contain "$(XPM_DIR)\lib\Xpm.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
264 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
265 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
266 !if $(HAVE_MS_WINDOWS) && $(HAVE_PNG) && !defined(PNG_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
267 !message Please specify root directory for your PNG installation: PNG_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
268 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
269 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
270 !if $(HAVE_MS_WINDOWS) && $(HAVE_PNG) && defined(PNG_DIR) && !exist("$(PNG_DIR)\libpng.lib")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
271 !message Specified PNG directory does not contain "$(PNG_DIR)\libpng.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
272 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
273 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
274 !if $(HAVE_MS_WINDOWS) && $(HAVE_PNG) && !defined(ZLIB_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
275 !message Please specify root directory for your ZLIB installation: ZLIB_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
276 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
277 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
278 !if $(HAVE_MS_WINDOWS) && $(HAVE_PNG) && defined(ZLIB_DIR) && !exist("$(ZLIB_DIR)\zlib.lib")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
279 !message Specified ZLIB directory does not contain "$(ZLIB_DIR)\zlib.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
280 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
281 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
282 !if $(HAVE_MS_WINDOWS) && $(HAVE_TIFF) && !defined(TIFF_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
283 !message Please specify root directory for your TIFF installation: TIFF_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
284 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
285 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
286 !if $(HAVE_MS_WINDOWS) && $(HAVE_TIFF) && !exist("$(TIFF_DIR)\libtiff\libtiff.lib")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
287 !message Specified TIFF directory does not contain "$(TIFF_DIR)\libtiff\libtiff.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
288 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
289 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
290 !if $(HAVE_MS_WINDOWS) && $(HAVE_JPEG) && !defined(JPEG_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
291 !message Please specify root directory for your JPEG installation: JPEG_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
292 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
293 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
294 !if $(HAVE_MS_WINDOWS) && $(HAVE_JPEG) && !exist("$(JPEG_DIR)\libjpeg.lib")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
295 !message Specified JPEG directory does not contain "$(JPEG_DIR)\libjpeg.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
296 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
297 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
298 !if $(HAVE_MS_WINDOWS) && $(HAVE_XFACE) && !defined(COMPFACE_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
299 !message Please specify root directory for your COMPFACE installation: COMPFACE_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
300 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
301 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
302 !if $(HAVE_MS_WINDOWS) && $(HAVE_XFACE) && !exist("$(COMPFACE_DIR)\libcompface.lib")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
303 !message Specified COMPFACE directory does not contain "$(COMPFACE_DIR)\libcompface.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
304 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
305 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
306 !if $(HAVE_MS_WINDOWS) && $(HAVE_TOOLBARS) && !$(HAVE_XPM)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
307 !message Toolbars require XPM support
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
308 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
309 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
310 !if $(CONFIG_ERROR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
311 !error Configuration error(s) found
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
312 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
313
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
314 #
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
315 # Whether to use dependency information generated by make-src-depend
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
316 #
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
317 !if !defined(DEPEND)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
318 DEPEND=0
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
319 !endif
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
320 !if $(DEPEND) && exist("$(SRC)\depend")
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
321 ! if [if not exist $(OUTDIR)\nul mkdir "$(OUTDIR)"]
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
322 ! endif
795
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
323 # This perl script used to be inline but that caused too many quoting problems
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
324 ! if [perl .\make-nt-depend -s=$(SRC) -c=$(NT) -o=$(OUTDIR) < $(SRC)\depend > $(OUTDIR)\depend.tmp]
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
325 ! endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
326 ! include "$(OUTDIR)\depend.tmp"
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
327 !else
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
328 ! if [echo WARNING: Compiling without dependency information.]
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
329 ! endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
330 !endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
331
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
332 #
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
333 # Compiler command echo control. Define VERBOSECC=1 to get verbose compilation.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
334 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
335 !if !defined(VERBOSECC)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
336 VERBOSECC=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
337 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
338 !if $(VERBOSECC)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
339 CCV=$(CC)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
340 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
341 CCV=@$(CC)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
342 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
343
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
344 !if $(DEBUG_XEMACS)
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
345 DEBUGFLAGS=-Zi
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
346 !else
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
347 DEBUGFLAGS=
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
348 !endif
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
349
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
350 !if $(OPTIMIZED_BUILD)
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
351 OPTFLAGS=-O2 -G5
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
352 !else
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
353 OPTFLAGS=-Od
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
354 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
355
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
356 !if $(USE_CRTDLL)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
357 !if $(DEBUG_XEMACS)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
358 C_LIBFLAG=-MDd
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
359 LIBC_LIB=msvcrtd.lib
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
360 !else
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
361 C_LIBFLAG=-MD
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
362 LIBC_LIB=msvcrt.lib
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
363 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
364 !else
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
365 C_LIBFLAG=-ML
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
366 LIBC_LIB=libc.lib
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
367 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
368
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
369 CFLAGS=-nologo -W3 $(DEBUGFLAGS) $(OPTFLAGS) $(C_LIBFLAG)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
370
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
371 !if $(HAVE_X_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
372 X_DEFINES=-DHAVE_X_WINDOWS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
373 X_INCLUDES=-I$(X11_DIR)\include
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
374 X_LIBS=-libpath:$(X11_DIR)\lib Xaw.lib Xmu.lib Xt.lib SM.lib ICE.lib Xext.lib X11.lib
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
375 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
376
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
377 !if $(HAVE_MS_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
378 MSW_DEFINES=-DHAVE_MS_WINDOWS -DHAVE_SCROLLBARS -DHAVE_MENUBARS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
379 MSW_INCLUDES=
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
380 MSW_LIBS=
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
381 !if $(HAVE_MSW_C_DIRED)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
382 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_MSW_C_DIRED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
383 MSW_C_DIRED_OBJ=$(OUTDIR)\dired-msw.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
384 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
385 !if $(HAVE_XPM)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
386 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XPM -DFOR_MSW
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
387 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(XPM_DIR)" -I"$(XPM_DIR)\lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
388 MSW_LIBS=$(MSW_LIBS) "$(XPM_DIR)\lib\Xpm.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
389 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
390 !if $(HAVE_GIF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
391 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_GIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
392 MSW_GIF_OBJ=$(OUTDIR)\dgif_lib.obj $(OUTDIR)\gif_io.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
393 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
394 !if $(HAVE_PNG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
395 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_PNG
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
396 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(PNG_DIR)" -I"$(ZLIB_DIR)"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
397 MSW_LIBS=$(MSW_LIBS) "$(PNG_DIR)\libpng.lib" "$(ZLIB_DIR)\zlib.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
398 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
399 !if $(HAVE_TIFF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
400 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TIFF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
401 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(TIFF_DIR)\libtiff"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
402 MSW_LIBS=$(MSW_LIBS) "$(TIFF_DIR)\libtiff\libtiff.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
403 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
404 !if $(HAVE_JPEG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
405 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_JPEG
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
406 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(JPEG_DIR)"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
407 MSW_LIBS=$(MSW_LIBS) "$(JPEG_DIR)\libjpeg.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
408 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
409 !if $(HAVE_XFACE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
410 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XFACE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
411 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(COMPFACE_DIR)"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
412 MSW_LIBS=$(MSW_LIBS) "$(COMPFACE_DIR)\libcompface.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
413 !endif
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
414 !if $(HAVE_ZLIB)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
415 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_ZLIB
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
416 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(ZLIB_DIR)"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
417 MSW_LIBS=$(MSW_LIBS) "$(ZLIB_DIR)\zlib.lib"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
418 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
419 !if $(HAVE_TOOLBARS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
420 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TOOLBARS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
421 MSW_TOOLBAR_OBJ=$(OUTDIR)\toolbar.obj $(OUTDIR)\toolbar-msw.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
422 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
423 !if $(HAVE_WIDGETS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
424 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_WIDGETS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
425 !endif
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
426 !if $(HAVE_TOOLBARS) || $(HAVE_WIDGETS)
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
427 MSW_LIBS=$(MSW_LIBS) comctl32.lib
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
428 !endif
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
429 !if $(HAVE_DIALOGS)
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
430 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_DIALOGS
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
431 MSW_DIALOG_OBJ=$(OUTDIR)\dialog.obj $(OUTDIR)\dialog-msw.obj
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
432 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
433 !if $(HAVE_NATIVE_SOUND)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
434 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_NATIVE_SOUND
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
435 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
436 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
437
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
438 !if $(MULE)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
439 MULE_DEFINES=-DMULE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
440 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
441
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
442 !if $(DEBUG_XEMACS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
443 DEBUG_DEFINES=-DDEBUG_XEMACS -D_DEBUG
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
444 DEBUG_FLAGS=-debug:full
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
445 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
446
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
447 !if $(QUICK_BUILD)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
448 QUICK_DEFINES=-DQUICK_BUILD
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
449 !endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
450
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
451 !if $(ERROR_CHECK_ALL)
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
452 ERROR_CHECK_DEFINES=-DERROR_CHECK_ALL
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
453 !endif
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
454
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
455 !if $(USE_UNION_TYPE)
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
456 UNION_DEFINES=-DUSE_UNION_TYPE
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
457 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
458
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
459 !if $(USE_PORTABLE_DUMPER)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
460 DUMPER_DEFINES=-DPDUMP
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
461 !endif
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
462
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
463 !if $(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
464 MALLOC_DEFINES=-DSYSTEM_MALLOC
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
465 !else
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
466 MALLOC_DEFINES=-DGNU_MALLOC
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
467 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
468
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
469 # Hard-coded paths
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
470
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
471 !if $(INFODOCK)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
472 PATH_PREFIX=../..
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
473 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
474 PATH_PREFIX=..
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
475 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
476
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
477 PATH_DEFINES=-DPATH_PREFIX=\"$(PATH_PREFIX)\"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
478
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
479 # Generic variables
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
480
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
481 INCLUDES=$(X_INCLUDES) $(MSW_INCLUDES) -I$(NT)\inc -I$(SRC) -I$(LWLIB_SRCDIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
482
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
483 DEFINES=$(X_DEFINES) $(MSW_DEFINES) $(MULE_DEFINES) $(UNION_DEFINES) \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
484 $(DUMPER_DEFINES) $(MALLOC_DEFINES) $(QUICK_DEFINES) \
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
485 $(ERROR_CHECK_DEFINES) \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
486 -DWIN32_LEAN_AND_MEAN -DWIN32_NATIVE -Demacs \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
487 -DHAVE_CONFIG_H $(PROGRAM_DEFINES) $(PATH_DEFINES)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
488
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
489 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
490
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
491 $(OUTDIR)\nul:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
492 -@mkdir $(OUTDIR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
493
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
494 XEMACS_INCLUDES=\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
495 $(SRC)\config.h \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
496 $(SRC)\Emacs.ad.h \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
497 $(SRC)\paths.h
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
498
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
499 # #### Copying is cheap, we should just force these
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
500 $(SRC)\config.h: $(SRC)\config.h.in
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
501 # #### ms must have hired monkeys to design their shell commands. if
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
502 # #### you use xcopy to copy a file from one name to another, it
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
503 # #### PROMPTS you to see if you meant the second as a directory! and
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
504 # #### no switch to mean "no of course, you idiots, it's a file!"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
505 @copy $(SRC)\config.h.in $(SRC)\config.h
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
506
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
507 $(SRC)\Emacs.ad.h: Emacs.ad.h
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
508 @$(COPY) Emacs.ad.h $(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
509
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
510 $(SRC)\paths.h: paths.h
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
511 @$(COPY) paths.h $(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
512
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
513 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
514
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
515 # lib-src programs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
516
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
517 LIB_SRC_DEFINES = -DHAVE_CONFIG_H -DWIN32_NATIVE
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
518
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
519 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
520 # Creating config.values to be used by config.el
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
521 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
522 CONFIG_VALUES = $(LIB_SRC)\config.values
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
523 !if [echo Creating $(CONFIG_VALUES) && echo ;;; Do not edit this file!>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
524 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
525 # MAKEDIR has to be made into a string.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
526 #!if [echo blddir>>$(CONFIG_VALUES) && echo $(ESC)"$(MAKEDIR:\=\\)\\..$(ESC)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
527 !if [echo blddir>>$(CONFIG_VALUES) && echo "$(MAKEDIR:\=\\)\\..">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
528 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
529 !if [echo CC>>$(CONFIG_VALUES) && echo "$(CC:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
530 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
531 !if [echo CFLAGS>>$(CONFIG_VALUES) && echo "$(CFLAGS:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
532 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
533 !if [echo CPP>>$(CONFIG_VALUES) && echo "$(CPP:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
534 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
535 !if [echo CPPFLAGS>>$(CONFIG_VALUES) && echo "$(CPPFLAGS:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
536 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
537 !if [echo LISPDIR>>$(CONFIG_VALUES) && echo "$(MAKEDIR:\=\\)\\$(LISP:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
538 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
539 # PATH_PACKAGEPATH is already a quoted string.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
540 !if [echo PACKAGE_PATH>>$(CONFIG_VALUES) && echo $(PATH_PACKAGEPATH)>>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
541 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
542
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
543 # Inferred rule
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
544 {$(LIB_SRC)}.c{$(LIB_SRC)}.exe :
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
545 cd $(LIB_SRC)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
546 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) $(CFLAGS) -Fe$@ $** -link -incremental:no setargv.obj
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
547 cd $(NT)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
548
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
549 # Individual dependencies
812
f846c2ef930d [xemacs-hg @ 2002-04-13 20:31:27 by jhar]
jhar
parents: 800
diff changeset
550 ETAGS_DEPS = $(LIB_SRC)/getopt.c $(LIB_SRC)/getopt1.c $(SRC)/regex.c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
551 $(LIB_SRC)/etags.exe : $(LIB_SRC)/etags.c $(ETAGS_DEPS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
552 $(LIB_SRC)/movemail.exe: $(LIB_SRC)/movemail.c $(LIB_SRC)/pop.c $(ETAGS_DEPS)
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
553 cd $(LIB_SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
554 $(CCV) -I. -I$(XEMACS)/src -I$(XEMACS)/nt/inc $(LIB_SRC_DEFINES) $(CFLAGS) -Fe$@ $** wsock32.lib -link -incremental:no
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
555 cd $(NT)
812
f846c2ef930d [xemacs-hg @ 2002-04-13 20:31:27 by jhar]
jhar
parents: 800
diff changeset
556 $(LIB_SRC)/minitar.exe : $(NT)/minitar.c
f846c2ef930d [xemacs-hg @ 2002-04-13 20:31:27 by jhar]
jhar
parents: 800
diff changeset
557 $(CCV) -I"$(ZLIB_DIR)" $(LIB_SRC_DEFINES) $(CFLAGS) -Fe$@ $** "$(ZLIB_DIR)\zlib.lib" -link -incremental:no
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
558
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
559 LIB_SRC_TOOLS = \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
560 $(LIB_SRC)/etags.exe \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
561 $(LIB_SRC)/hexl.exe \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
562 $(LIB_SRC)/i.exe \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
563 $(LIB_SRC)/make-docfile.exe \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
564 $(LIB_SRC)/mmencode.exe \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
565 $(LIB_SRC)/movemail.exe \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
566 $(LIB_SRC)/sorted-doc.exe \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
567 $(LIB_SRC)/wakeup.exe
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
568 !if $(USE_MINITAR)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
569 LIB_SRC_TOOLS = \
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
570 $(LIB_SRC_TOOLS) \
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
571 $(LIB_SRC)/minitar.exe
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
572 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
573 !if $(USE_PORTABLE_DUMPER)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
574 LIB_SRC_TOOLS = \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
575 $(XEMACS_INCLUDES) \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
576 $(LIB_SRC)/make-dump-id.exe \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
577 $(LIB_SRC_TOOLS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
578 !endif
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
579
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
580 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
581
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
582 # dump-id.c file that contains the dump id
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
583
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
584 $(SRC)\dump-id.c : $(LIB_SRC)/make-dump-id.exe
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
585 cd $(SRC)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
586 $(LIB_SRC)\make-dump-id.exe
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
587 cd $(NT)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
588
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
589 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
590
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
591 # LASTFILE Library
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
592
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
593 !if !$(USE_SYSTEM_MALLOC) || !$(USE_PORTABLE_DUMPER)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
594
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
595 LASTFILE=$(OUTDIR)\lastfile.lib
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
596 LASTFILE_SRC=$(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
597 LASTFILE_FLAGS=$(CFLAGS) $(INCLUDES) -Fo$@ -Fd$* -c
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
598 LASTFILE_OBJS= \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
599 $(OUTDIR)\lastfile.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
600
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
601 $(LASTFILE): $(XEMACS_INCLUDES) $(LASTFILE_OBJS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
602 link.exe -lib -nologo -out:$@ $(LASTFILE_OBJS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
603
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
604 $(OUTDIR)\lastfile.obj: $(LASTFILE_SRC)\lastfile.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
605 $(CCV) $(LASTFILE_FLAGS) $(LASTFILE_SRC)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
606
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
607 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
608
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
609 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
610
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
611 !if $(HAVE_X_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
612
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
613 # LWLIB Library
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
614
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
615 LWLIB=$(OUTDIR)\lwlib.lib
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
616 LWLIB_FLAGS=$(CFLAGS) $(INCLUDES) $(DEFINES) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
617 -DNEED_ATHENA -DNEED_LUCID \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
618 -D_WINDOWS -DMENUBARS_LUCID -DSCROLLBARS_LUCID -DDIALOGS_ATHENA \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
619 -Fo$@ -c
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
620 LWLIB_OBJS= \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
621 $(OUTDIR)\lwlib-utils.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
622 $(OUTDIR)\lwlib-Xaw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
623 $(OUTDIR)\lwlib-Xlw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
624 $(OUTDIR)\lwlib.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
625 $(OUTDIR)\xlwmenu.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
626 $(OUTDIR)\xlwscrollbar.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
627
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
628 $(LWLIB): $(LWLIB_OBJS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
629 link.exe -lib -nologo -out:$@ $(LWLIB_OBJS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
630
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
631 $(OUTDIR)\lwlib-utils.obj: $(LWLIB_SRCDIR)\lwlib-utils.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
632 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
633
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
634 $(OUTDIR)\lwlib-Xaw.obj: $(LWLIB_SRCDIR)\lwlib-Xaw.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
635 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
636
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
637 $(OUTDIR)\lwlib-Xlw.obj: $(LWLIB_SRCDIR)\lwlib-Xlw.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
638 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
639
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
640 $(OUTDIR)\lwlib.obj: $(LWLIB_SRCDIR)\lwlib.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
641 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
642
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
643 $(OUTDIR)\xlwmenu.obj: $(LWLIB_SRCDIR)\xlwmenu.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
644 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
645
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
646 $(OUTDIR)\xlwscrollbar.obj: $(LWLIB_SRCDIR)\xlwscrollbar.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
647 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
648
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
649 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
650
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
651 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
652
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
653 # TEMACS Executable
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
654
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
655 # This may not exist
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
656 !if "$(emacs_beta_version)" != ""
496
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
657 !if "$(emacs_is_beta)" != ""
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
658 EMACS_BETA_VERSION=-DEMACS_BETA_VERSION=$(emacs_beta_version)
496
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
659 !else
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
660 EMACS_PATCH_LEVEL=-DEMACS_PATCH_LEVEL=$(emacs_beta_version)
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
661 !endif
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
662 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
663
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
664 !if !$(USE_PORTABLE_DUMPER)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
665 TEMACS_ENTRYPOINT=-entry:_start
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
666 !else
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
667 TEMACS_ENTRYPOINT=-entry:mainCRTStartup
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
668 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
669
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
670 TEMACS_DIR=$(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
671 TEMACS=$(TEMACS_DIR)\temacs.exe
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
672 TEMACS_BROWSE=$(TEMACS_DIR)\temacs.bsc
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
673 TEMACS_SRC=$(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
674 TEMACS_LIBS=$(LASTFILE) $(LWLIB) $(X_LIBS) $(MSW_LIBS) \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
675 oldnames.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib \
528
ef4d2466a29c [xemacs-hg @ 2001-05-10 09:59:45 by ben]
ben
parents: 523
diff changeset
676 shell32.lib wsock32.lib netapi32.lib winmm.lib winspool.lib ole32.lib \
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
677 mpr.lib uuid.lib imm32.lib $(LIBC_LIB)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
678 TEMACS_LFLAGS=-nologo $(LIBRARIES) $(DEBUG_FLAGS) -base:0x1000000\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
679 -stack:0x800000 $(TEMACS_ENTRYPOINT) -subsystem:windows\
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
680 -pdb:$(TEMACS_DIR)\temacs.pdb -map:$(TEMACS_DIR)\temacs.map \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
681 -heap:0x00100000 -nodefaultlib -incremental:no setargv.obj
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
682 TEMACS_CPP_FLAGS=-c \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
683 $(CFLAGS) $(INCLUDES) $(DEFINES) $(DEBUG_DEFINES) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
684 -DEMACS_MAJOR_VERSION=$(emacs_major_version) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
685 -DEMACS_MINOR_VERSION=$(emacs_minor_version) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
686 $(EMACS_BETA_VERSION) \
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
687 $(EMACS_PATCH_LEVEL) \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
688 -DXEMACS_CODENAME=\"$(xemacs_codename:&=and)\" \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
689 -DEMACS_CONFIGURATION=\"$(EMACS_CONFIGURATION)\" \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
690 -DPATH_PACKAGEPATH=\"$(PATH_PACKAGEPATH)\"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
691
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
692 !if $(HAVE_X_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
693 TEMACS_X_OBJS=\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
694 $(OUTDIR)\balloon-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
695 $(OUTDIR)\balloon_help.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
696 $(OUTDIR)\console-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
697 $(OUTDIR)\device-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
698 $(OUTDIR)\dialog-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
699 $(OUTDIR)\EmacsFrame.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
700 $(OUTDIR)\EmacsManager.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
701 $(OUTDIR)\EmacsShell.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
702 $(OUTDIR)\TopLevelEmacsShell.obj\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
703 $(OUTDIR)\TransientEmacsShell.obj\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
704 $(OUTDIR)\event-Xt.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
705 $(OUTDIR)\frame-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
706 $(OUTDIR)\glyphs-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
707 $(OUTDIR)\gui-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
708 $(OUTDIR)\menubar-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
709 $(OUTDIR)\objects-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
710 $(OUTDIR)\redisplay-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
711 $(OUTDIR)\scrollbar-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
712 $(OUTDIR)\xgccache.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
713 $(OUTDIR)\xmu.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
714 $(OUTDIR)\select-x.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
715 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
716
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
717 !if $(HAVE_MS_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
718 TEMACS_MSW_OBJS=\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
719 $(OUTDIR)\console-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
720 $(OUTDIR)\device-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
721 $(OUTDIR)\event-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
722 $(OUTDIR)\frame-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
723 $(OUTDIR)\glyphs-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
724 $(OUTDIR)\gui-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
725 $(OUTDIR)\menubar-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
726 $(OUTDIR)\objects-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
727 $(OUTDIR)\redisplay-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
728 $(OUTDIR)\scrollbar-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
729 $(OUTDIR)\select-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
730 $(MSW_C_DIRED_OBJ) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
731 $(MSW_TOOLBAR_OBJ) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
732 $(MSW_DIALOG_OBJ) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
733 $(MSW_GIF_OBJ)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
734 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
735
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
736 !if $(MULE)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
737 TEMACS_MULE_OBJS=\
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
738 $(OUTDIR)\mule-ccl.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
739 $(OUTDIR)\mule-charset.obj \
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
740 $(OUTDIR)\mule-coding.obj
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
741
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
742 ! if $(HAVE_X_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
743 TEMACS_MULE_OBJS=\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
744 $(TEMACS_MULE_OBJS) $(OUTDIR)\input-method-xlib.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
745 ! endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
746 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
747
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
748 !if $(DEBUG_XEMACS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
749 TEMACS_DEBUG_OBJS=\
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
750 $(OUTDIR)\debug.obj \
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
751 $(OUTDIR)\tests.obj
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
752 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
753
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
754 !if !$(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
755 TEMACS_ALLOC_OBJS=\
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
756 $(OUTDIR)\free-hook.obj \
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
757 $(OUTDIR)\gmalloc.obj \
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
758 $(OUTDIR)\ntheap.obj \
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
759 $(OUTDIR)\vm-limit.obj
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
760 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
761
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
762 !if !$(USE_PORTABLE_DUMPER)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
763 TEMACS_DUMP_OBJS=\
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
764 $(OUTDIR)\unexnt.obj
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
765 !else
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
766 TEMACS_DUMP_OBJS=\
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
767 $(OUTDIR)\dumper.obj
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
768 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
769
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
770 TEMACS_OBJS= \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
771 $(TEMACS_X_OBJS)\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
772 $(TEMACS_MSW_OBJS)\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
773 $(TEMACS_CODING_OBJS)\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
774 $(TEMACS_MULE_OBJS)\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
775 $(TEMACS_DEBUG_OBJS)\
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
776 $(TEMACS_ALLOC_OBJS)\
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
777 $(TEMACS_DUMP_OBJS)\
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
778 $(OUTDIR)\abbrev.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
779 $(OUTDIR)\alloc.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
780 $(OUTDIR)\blocktype.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
781 $(OUTDIR)\buffer.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
782 $(OUTDIR)\bytecode.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
783 $(OUTDIR)\callint.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
784 $(OUTDIR)\casefiddle.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
785 $(OUTDIR)\casetab.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
786 $(OUTDIR)\chartab.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
787 $(OUTDIR)\cmdloop.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
788 $(OUTDIR)\cmds.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
789 $(OUTDIR)\console-stream.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
790 $(OUTDIR)\console.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
791 $(OUTDIR)\data.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
792 $(OUTDIR)\device.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
793 $(OUTDIR)\dired.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
794 $(OUTDIR)\doc.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
795 $(OUTDIR)\doprnt.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
796 $(OUTDIR)\dragdrop.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
797 $(OUTDIR)\dynarr.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
798 $(OUTDIR)\editfns.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
799 $(OUTDIR)\elhash.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
800 $(OUTDIR)\emacs.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
801 $(OUTDIR)\eval.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
802 $(OUTDIR)\event-stream.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
803 $(OUTDIR)\events.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
804 $(OUTDIR)\extents.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
805 $(OUTDIR)\faces.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
806 $(OUTDIR)\file-coding.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
807 $(OUTDIR)\fileio.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
808 $(OUTDIR)\filemode.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
809 $(OUTDIR)\floatfns.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
810 $(OUTDIR)\fns.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
811 $(OUTDIR)\font-lock.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
812 $(OUTDIR)\frame.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
813 $(OUTDIR)\general.obj \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
814 $(OUTDIR)\getloadavg.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
815 $(OUTDIR)\glyphs.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
816 $(OUTDIR)\glyphs-eimage.obj \
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
817 $(OUTDIR)\glyphs-shared.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
818 $(OUTDIR)\glyphs-widget.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
819 $(OUTDIR)\gui.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
820 $(OUTDIR)\gutter.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
821 $(OUTDIR)\hash.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
822 $(OUTDIR)\indent.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
823 $(OUTDIR)\imgproc.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
824 $(OUTDIR)\insdel.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
825 $(OUTDIR)\intl.obj \
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
826 $(OUTDIR)\intl-win32.obj \
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
827 $(OUTDIR)\intl-encap-win32.obj \
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
828 $(OUTDIR)\intl-auto-encap-win32.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
829 $(OUTDIR)\keymap.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
830 $(OUTDIR)\line-number.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
831 $(OUTDIR)\lread.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
832 $(OUTDIR)\lstream.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
833 $(OUTDIR)\macros.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
834 $(OUTDIR)\menubar.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
835 $(OUTDIR)\marker.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
836 $(OUTDIR)\md5.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
837 $(OUTDIR)\minibuf.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
838 $(OUTDIR)\nt.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
839 $(OUTDIR)\ntplay.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
840 $(OUTDIR)\objects.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
841 $(OUTDIR)\opaque.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
842 $(OUTDIR)\print.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
843 $(OUTDIR)\process.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
844 $(OUTDIR)\process-nt.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
845 $(OUTDIR)\profile.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
846 $(OUTDIR)\rangetab.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
847 $(OUTDIR)\realpath.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
848 $(OUTDIR)\redisplay-output.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
849 $(OUTDIR)\redisplay.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
850 $(OUTDIR)\regex.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
851 $(OUTDIR)\scrollbar.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
852 $(OUTDIR)\search.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
853 $(OUTDIR)\select.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
854 $(OUTDIR)\signal.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
855 $(OUTDIR)\sound.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
856 $(OUTDIR)\specifier.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
857 $(OUTDIR)\strftime.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
858 $(OUTDIR)\symbols.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
859 $(OUTDIR)\syntax.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
860 $(OUTDIR)\sysdep.obj \
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
861 $(OUTDIR)\text.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
862 $(OUTDIR)\tparam.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
863 $(OUTDIR)\undo.obj \
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
864 $(OUTDIR)\unicode.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
865 $(OUTDIR)\widget.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
866 $(OUTDIR)\window.obj \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
867 $(OUTDIR)\win32.obj
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
868
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
869 # Rules
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
870
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
871 .SUFFIXES:
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
872 .SUFFIXES: .c .obj .texi .info
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
873
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
874 # nmake rule
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
875 !if $(DEBUG_XEMACS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
876 {$(TEMACS_SRC)}.c{$(OUTDIR)}.obj:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
877 $(CCV) $(TEMACS_CPP_FLAGS) $< -Fo$@ -Fr$*.sbr -Fd$(OUTDIR)\temacs.pdb
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
878 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
879 {$(TEMACS_SRC)}.c{$(OUTDIR)}.obj:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
880 $(CCV) $(TEMACS_CPP_FLAGS) $< -Fo$@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
881 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
882
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
883 $(OUTDIR)\emacs.obj: $(XEMACS)\version.sh
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
884
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
885 $(OUTDIR)\TopLevelEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
886 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TOP_LEVEL_EMACS_SHELL $(TEMACS_SRC)\$(@B).c -Fo$@
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
887
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
888 $(OUTDIR)\TransientEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
889 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TRANSIENT_EMACS_SHELL $(TEMACS_SRC)\$(@B).c -Fo$@
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
890
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
891 #$(TEMACS_SRC)\Emacs.ad.h: $(XEMACS)\etc\Emacs.ad
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
892 # !"sed -f ad2c.sed < $(XEMACS)\etc\Emacs.ad > $(TEMACS_SRC)\Emacs.ad.h"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
893
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
894 #$(TEMACS_SRC)\paths.h: $(TEMACS_SRC)\paths.h.in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
895 # !"cd $(TEMACS_SRC); cp paths.h.in paths.h"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
896
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
897 $(TEMACS): $(TEMACS_INCLUDES) $(TEMACS_OBJS) $(OUTDIR)\xemacs.res
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
898 !if $(DEBUG_XEMACS)
795
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
899 @dir /b/s $(OUTDIR)\*.sbr > $(OUTDIR)\bscmake.tmp
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
900 bscmake -nologo -o$(TEMACS_BROWSE) @$(OUTDIR)\bscmake.tmp
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
901 -$(DEL) $(OUTDIR)\bscmake.tmp
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
902 !endif
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
903 !if $(USE_PORTABLE_DUMPER)
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
904 @if exist $(SRC)\dump-id.c $(DEL) $(SRC)\dump-id.c
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
905 # make a new dump id file. There is probably a better way to do this, but this works
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
906 @if exist $(OUTDIR)\dump-id.obj $(DEL) $(OUTDIR)\dump-id.obj
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
907 nmake -nologo -f xemacs.mak OUTDIR=$(OUTDIR) $(OUTDIR)\dump-id.obj
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
908 link.exe @<<
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
909 $(TEMACS_LFLAGS) -out:$@ $(TEMACS_OBJS) $(TEMACS_LIBS) $(OUTDIR)\dump-id.obj
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
910 <<
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
911 !else
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
912 link.exe @<<
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
913 $(TEMACS_LFLAGS) -out:$@ $(TEMACS_OBJS) $(OUTDIR)\xemacs.res $(TEMACS_LIBS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
914 <<
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
915 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
916
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
917 $(OUTDIR)\xemacs.res: xemacs.rc
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
918 rc -Fo$@ xemacs.rc
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
919
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
920
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
921 PROGNAME=$(SRC)\xemacs.exe
776
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
922 BATCH = -no-packages -batch
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
923 BATCH_PACKAGES = -vanilla -batch
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
924 TEMACS_BATCH = "$(LIB_SRC)\i" "$(TEMACS)" $(BATCH)
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
925 XEMACS_BATCH = "$(LIB_SRC)\i" "$(PROGNAME)" $(BATCH)
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
926 XEMACS_BATCH_PACKAGES = "$(LIB_SRC)\i" "$(PROGNAME)" $(BATCH_PACKAGES)
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
927
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
928
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
929 # Section handling automated tests starts here
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
930
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
931 blddir=$(MAKEDIR:\=\\)\\..
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
932 temacs_loadup=$(TEMACS_BATCH) -l $(LISP)/loadup.el
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
933 dump_temacs = $(temacs_loadup) dump
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
934 run_temacs = $(temacs_loadup) run-temacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
935 ## We have automated tests!!
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
936 testdir=../tests/automated
776
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
937 batch_test_emacs=$(BATCH) -l $(testdir)/test-harness.el -f batch-test-emacs $(testdir)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
938
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
939 # .PHONY: check check-temacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
940
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
941 check:
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
942 cd $(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
943 $(PROGNAME) $(batch_test_emacs)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
944
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
945 check-temacs:
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
946 cd $(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
947 $(run_temacs) $(batch_test_emacs)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
948
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
949 # Section handling automated tests ends here
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
950
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
951 # Section handling tags starts here
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
952
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
953 tagslisp=lisp
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
954
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
955 tags:
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
956 @echo If you don't have a copy of etags around, then do 'make lib-src' first.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
957 @echo To make use of the tags file, put the following in your .emacs:
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
958 @echo (setq tag-table-alist
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
959 @echo '(("$(XEMACSDIRSTRING)\\" . "$(XEMACSDIRSTRING)\\")))
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
960 cd $(XEMACS)
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
961 -$(DEL) TAGS
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
962 set PATH=lib-src;%PATH%
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
963 # we need to double ^, but only in one place, because (according to the
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
964 # nmake manual), a ^ is used to quote certain special characters such as
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
965 # backslash, but is treated literally within double quotes -- and notice
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
966 # carefully the occurrences of double quotes in the first line below!
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
967 etags -a -r "/[ ]*DEF\(VAR\|INE\)_[A-Z_]+[ ]*([ ]*\"\([^^\"]+\)\"/\2/" src\*.c src\*.h lwlib\*.c lwlib\*.h lib-src\*.c lib-src\*.h
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
968 etags -a -l none -r "/^(def\(var\|un\|alias\|const\|macro\|subst\|struct\|face\|group\|custom\|ine-\(function\|compiler-macro\|[a-z-]+alias\)\)[ ]+'?\([^ ]+\)/\3/" $(tagslisp)\*.el $(tagslisp)\mule\*.el
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
969
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
970 # Section handling tags ends here
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
971
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
972 # Section handling info starts here
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
973
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
974 !if !defined(MAKEINFO)
776
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
975 MAKEINFO=$(XEMACS_BATCH_PACKAGES) -l texinfmt -f batch-texinfo-format
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
976 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
977
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
978 MANDIR = $(XEMACS)\man
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
979 INFODIR = $(XEMACS)\info
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
980 INFO_FILES= \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
981 $(INFODIR)\cl.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
982 $(INFODIR)\custom.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
983 $(INFODIR)\emodules.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
984 $(INFODIR)\external-widget.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
985 $(INFODIR)\info.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
986 $(INFODIR)\standards.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
987 $(INFODIR)\term.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
988 $(INFODIR)\termcap.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
989 $(INFODIR)\texinfo.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
990 $(INFODIR)\widget.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
991 $(INFODIR)\xemacs-faq.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
992 $(INFODIR)\xemacs.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
993 $(INFODIR)\lispref.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
994 $(INFODIR)\new-users-guide.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
995 $(INFODIR)\internals.info
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
996
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
997 {$(MANDIR)}.texi{$(INFODIR)}.info:
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
998 cd $(MANDIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
999 $(MAKEINFO) $**
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1000
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1001 XEMACS_SRCS = \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1002 $(MANDIR)\xemacs\abbrevs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1003 $(MANDIR)\xemacs\basic.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1004 $(MANDIR)\xemacs\buffers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1005 $(MANDIR)\xemacs\building.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1006 $(MANDIR)\xemacs\calendar.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1007 $(MANDIR)\xemacs\cmdargs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1008 $(MANDIR)\xemacs\custom.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1009 $(MANDIR)\xemacs\display.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1010 $(MANDIR)\xemacs\entering.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1011 $(MANDIR)\xemacs\files.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1012 $(MANDIR)\xemacs\fixit.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1013 $(MANDIR)\xemacs\frame.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1014 $(MANDIR)\xemacs\glossary.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1015 $(MANDIR)\xemacs\gnu.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1016 $(MANDIR)\xemacs\help.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1017 $(MANDIR)\xemacs\indent.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1018 $(MANDIR)\xemacs\keystrokes.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1019 $(MANDIR)\xemacs\killing.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1020 $(MANDIR)\xemacs\m-x.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1021 $(MANDIR)\xemacs\major.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1022 $(MANDIR)\xemacs\mark.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1023 $(MANDIR)\xemacs\menus.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1024 $(MANDIR)\xemacs\mini.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1025 $(MANDIR)\xemacs\misc.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1026 $(MANDIR)\xemacs\mouse.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1027 $(MANDIR)\xemacs\mule.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1028 $(MANDIR)\xemacs\new.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1029 $(MANDIR)\xemacs\packages.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1030 $(MANDIR)\xemacs\picture.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1031 $(MANDIR)\xemacs\programs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1032 $(MANDIR)\xemacs\reading.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1033 $(MANDIR)\xemacs\regs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1034 $(MANDIR)\xemacs\search.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1035 $(MANDIR)\xemacs\sending.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1036 $(MANDIR)\xemacs\startup.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1037 $(MANDIR)\xemacs\text.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1038 $(MANDIR)\xemacs\trouble.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1039 $(MANDIR)\xemacs\undo.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1040 $(MANDIR)\xemacs\windows.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1041 $(MANDIR)\xemacs\xemacs.texi
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1042
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1043 LISPREF_SRCS = \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1044 $(MANDIR)\lispref\abbrevs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1045 $(MANDIR)\lispref\annotations.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1046 $(MANDIR)\lispref\back.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1047 $(MANDIR)\lispref\backups.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1048 $(MANDIR)\lispref\buffers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1049 $(MANDIR)\lispref\building.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1050 $(MANDIR)\lispref\commands.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1051 $(MANDIR)\lispref\compile.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1052 $(MANDIR)\lispref\consoles-devices.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1053 $(MANDIR)\lispref\control.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1054 $(MANDIR)\lispref\customize.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1055 $(MANDIR)\lispref\databases.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1056 $(MANDIR)\lispref\debugging.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1057 $(MANDIR)\lispref\dialog.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1058 $(MANDIR)\lispref\display.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1059 $(MANDIR)\lispref\dragndrop.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1060 $(MANDIR)\lispref\edebug-inc.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1061 $(MANDIR)\lispref\edebug.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1062 $(MANDIR)\lispref\errors.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1063 $(MANDIR)\lispref\eval.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1064 $(MANDIR)\lispref\extents.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1065 $(MANDIR)\lispref\faces.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1066 $(MANDIR)\lispref\files.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1067 $(MANDIR)\lispref\frames.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1068 $(MANDIR)\lispref\functions.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1069 $(MANDIR)\lispref\glyphs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1070 $(MANDIR)\lispref\hash-tables.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1071 $(MANDIR)\lispref\help.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1072 $(MANDIR)\lispref\hooks.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1073 $(MANDIR)\lispref\index.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1074 $(MANDIR)\lispref\internationalization.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1075 $(MANDIR)\lispref\intro.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1076 $(MANDIR)\lispref\keymaps.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1077 $(MANDIR)\lispref\ldap.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1078 $(MANDIR)\lispref\lispref.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1079 $(MANDIR)\lispref\lists.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1080 $(MANDIR)\lispref\loading.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1081 $(MANDIR)\lispref\locals.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1082 $(MANDIR)\lispref\macros.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1083 $(MANDIR)\lispref\maps.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1084 $(MANDIR)\lispref\markers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1085 $(MANDIR)\lispref\menus.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1086 $(MANDIR)\lispref\minibuf.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1087 $(MANDIR)\lispref\modes.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1088 $(MANDIR)\lispref\mouse.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1089 $(MANDIR)\lispref\mule.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1090 $(MANDIR)\lispref\numbers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1091 $(MANDIR)\lispref\objects.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1092 $(MANDIR)\lispref\os.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1093 $(MANDIR)\lispref\positions.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1094 $(MANDIR)\lispref\processes.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1095 $(MANDIR)\lispref\range-tables.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1096 $(MANDIR)\lispref\scrollbars.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1097 $(MANDIR)\lispref\searching.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1098 $(MANDIR)\lispref\sequences.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1099 $(MANDIR)\lispref\specifiers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1100 $(MANDIR)\lispref\streams.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1101 $(MANDIR)\lispref\strings.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1102 $(MANDIR)\lispref\symbols.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1103 $(MANDIR)\lispref\syntax.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1104 $(MANDIR)\lispref\text.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1105 $(MANDIR)\lispref\tips.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1106 $(MANDIR)\lispref\toolbar.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1107 $(MANDIR)\lispref\tooltalk.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1108 $(MANDIR)\lispref\variables.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1109 $(MANDIR)\lispref\windows.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1110 $(MANDIR)\lispref\x-windows.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1111
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1112 INTERNALS_SRCS = \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1113 $(MANDIR)\internals\internals.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1114 $(MANDIR)\internals\index.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1115
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1116 NEW_USERS_GUIDE_SRCS = \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1117 $(MANDIR)\new-users-guide\custom1.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1118 $(MANDIR)\new-users-guide\custom2.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1119 $(MANDIR)\new-users-guide\edit.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1120 $(MANDIR)\new-users-guide\enter.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1121 $(MANDIR)\new-users-guide\files.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1122 $(MANDIR)\new-users-guide\help.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1123 $(MANDIR)\new-users-guide\modes.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1124 $(MANDIR)\new-users-guide\new-users-guide.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1125 $(MANDIR)\new-users-guide\region.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1126 $(MANDIR)\new-users-guide\search.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1127 $(MANDIR)\new-users-guide\xmenu.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1128
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1129 $(INFODIR)\xemacs.info: $(XEMACS_SRCS)
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1130 cd $(MANDIR)\xemacs
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1131 $(MAKEINFO) xemacs.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1132 cd ..
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1133
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1134
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1135 $(INFODIR)\lispref.info: $(LISPREF_SRCS)
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1136 cd $(MANDIR)\lispref
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1137 $(MAKEINFO) lispref.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1138 cd ..
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1139
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1140 $(INFODIR)\internals.info: $(INTERNALS_SRCS)
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1141 cd $(MANDIR)\internals
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1142 $(MAKEINFO) internals.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1143 cd ..
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1144
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1145 $(INFODIR)\new-users-guide.info: $(NEW_USERS_GUIDE_SRCS)
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1146 cd $(MANDIR)\new-users-guide
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1147 $(MAKEINFO) new-users-guide.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1148 cd ..
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1149
812
f846c2ef930d [xemacs-hg @ 2002-04-13 20:31:27 by jhar]
jhar
parents: 800
diff changeset
1150 info: $(INFO_FILES)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1151
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1152 makeinfo-test:
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1153 @<<makeinfo_test.bat
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1154 @echo off
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1155 if exist "$(MAKEINFO)" goto test_done
776
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
1156 @$(XEMACS_BATCH_PACKAGES) -eval "(condition-case nil (require (quote texinfo)) (t (kill-emacs 1)))"
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1157 @if not errorlevel 1 goto suggest_makeinfo
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1158 @echo XEmacs 'info' cannot be built!
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1159 @echo Install XEmacs package 'texinfo' (see README.packages).
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1160 :suggest_makeinfo
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1161 @echo Consider specifying path to makeinfo program: MAKEINFO=path
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1162 @echo as this will build info docs faster than XEmacs using 'texinfo'.
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1163 @if errorlevel 1 exit 1
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1164 :test_done
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1165 <<NOKEEP
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1166
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1167 # Section handling info ends here
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1168
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1169 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1170
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1171 # LISP bits 'n bobs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1172
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1173 LOADPATH=$(LISP)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1174
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1175 # Rebuild docfile target
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1176
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1177 DOC=$(LIB_SRC)\DOC
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1178
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1179 docfile ::
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1180 if exist $(DOC) $(DEL) $(DOC)
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1181 docfile :: $(DOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1182
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1183 # This takes 5 seconds on my Pentium 233. If you are running on a
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1184 # much slower machine and are bothered by the time, modify make-docfile.c
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1185 # to contain special code to frob $(OUTDIR)\foo.obj into the right file.
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1186 make-docargs: $(TEMACS_OBJS)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1187 @echo Creating make-docfile argument file ...
795
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
1188 -$(DEL) $(OUTDIR)\make-docfile.tmp
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
1189 @!echo $(SRC)\$(**B).c >> $(OUTDIR)\make-docfile.tmp
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1190 @echo Done.
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1191
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1192 $(DOC): $(LIB_SRC)\make-docfile.exe make-docargs
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1193 if exist $(DOC) $(DEL) $(DOC)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1194 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\make-docfile.el -- -o $(DOC) -i $(XEMACS)\site-packages
795
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
1195 $(LIB_SRC)\make-docfile.exe -a $(DOC) @$(OUTDIR)\make-docfile.tmp
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1196
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1197 update-elc:
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1198 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\update-elc.el
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1199
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1200 # This file is touched by update-elc.el when redumping is necessary.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1201 $(TEMACS_DIR)\NEEDTODUMP :
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1202 @echo >$(TEMACS_DIR)\NEEDTODUMP
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1203
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1204 # This rule dumps xemacs and then possibly spawns sub-make if PURESPACE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1205 # requirements have changed.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1206
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1207 $(PROGNAME) : $(TEMACS) $(TEMACS_DIR)\NEEDTODUMP
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1208 @echo >$(TEMACS_DIR)\SATISFIED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1209 cd $(TEMACS_DIR)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1210 $(TEMACS_BATCH) -l $(TEMACS_DIR)\..\lisp\loadup.el dump
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1211 !if $(USE_PORTABLE_DUMPER)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1212 rc -d INCLUDE_DUMP -Fo $(OUTDIR)\xemacs.res $(NT)\xemacs.rc
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1213 # Make the resource section read/write since almost all of it is the dump
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1214 # data which needs to be writable. This avoids having to copy it.
545
9a775fb11bb7 [xemacs-hg @ 2001-05-18 04:39:39 by kkm]
kkm
parents: 528
diff changeset
1215 link.exe @<<
9a775fb11bb7 [xemacs-hg @ 2001-05-18 04:39:39 by kkm]
kkm
parents: 528
diff changeset
1216 $(TEMACS_LFLAGS) -section:.rsrc,rw -out:xemacs.exe $(TEMACS_OBJS) $(OUTDIR)\xemacs.res $(TEMACS_LIBS) $(OUTDIR)\dump-id.obj
9a775fb11bb7 [xemacs-hg @ 2001-05-18 04:39:39 by kkm]
kkm
parents: 528
diff changeset
1217 <<
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1218 -$(DEL) $(TEMACS_DIR)\xemacs.dmp
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1219 !endif
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1220 cd $(NT)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1221 @if not exist $(TEMACS_DIR)\SATISFIED nmake -nologo -f xemacs.mak $@
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1222 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1223
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1224 # use this rule to build the complete system
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1225 all: installation $(OUTDIR)\nul $(LASTFILE) $(LWLIB) \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1226 $(LIB_SRC_TOOLS) $(TEMACS) update-elc $(DOC) $(PROGNAME) \
528
ef4d2466a29c [xemacs-hg @ 2001-05-10 09:59:45 by ben]
ben
parents: 523
diff changeset
1227 update-elc-2 info
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1228
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
1229 temacs: $(LASTFILE) $(TEMACS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1230
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1231 # use this rule to install the system
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1232 install: all
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1233 cd $(NT)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1234 @echo Installing in $(INSTALL_DIR) ...
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1235 @echo PlaceHolder > PlaceHolder
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1236 @$(COPY) PROBLEMS "$(INSTALL_DIR)\"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1237 @$(COPY) PlaceHolder "$(INSTALL_DIR)\lock\"
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1238 -$(DEL) "$(INSTALL_DIR)\lock\PlaceHolder"
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1239 @$(COPY) $(LIB_SRC)\*.exe "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)\"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1240 @$(COPY) $(LIB_SRC)\DOC "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1241 @$(COPY) $(CONFIG_VALUES) "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1242 @$(COPY) $(SRC)\xemacs.exe "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1243 @$(COPYDIR) $(XEMACS)\etc "$(INSTALL_DIR)\etc\"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1244 @$(COPYDIR) $(XEMACS)\info "$(INSTALL_DIR)\info\"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1245 @$(COPYDIR) $(XEMACS)\lisp "$(INSTALL_DIR)\lisp\"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1246 @echo Making skeleton package tree in $(PACKAGE_PREFIX) ...
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1247 @$(COPY) PlaceHolder "$(PACKAGE_PREFIX)\site-packages\"
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1248 -$(DEL) "$(PACKAGE_PREFIX)\site-packages\PlaceHolder"
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1249 @$(COPY) PlaceHolder "$(PACKAGE_PREFIX)\mule-packages\"
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1250 -$(DEL) "$(PACKAGE_PREFIX)\mule-packages\PlaceHolder"
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1251 @$(COPY) PlaceHolder "$(PACKAGE_PREFIX)\xemacs-packages\"
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1252 -$(DEL) "$(PACKAGE_PREFIX)\xemacs-packages\PlaceHolder"
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1253 -$(DEL) PlaceHolder
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1254
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1255 mostlyclean:
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1256 -$(DEL) $(XEMACS)\Installation
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1257 -$(DEL) $(OUTDIR)\*.lib
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1258 -$(DEL) $(OUTDIR)\*.obj
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1259 -$(DEL) $(OUTDIR)\*.pdb
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1260 -$(DEL) $(OUTDIR)\*.res
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1261 -$(DEL) $(OUTDIR)\*.sbr
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1262 -$(DEL) $(SRC)\*.exe
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1263 -$(DEL) $(SRC)\*.map
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1264 -$(DEL) $(SRC)\*.bsc
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1265 -$(DEL) $(SRC)\*.pdb
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1266 -$(DEL) $(LIB_SRC)\*.exe
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1267 -$(DEL) $(LIB_SRC)\*.obj
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1268 -$(DEL) $(LIB_SRC)\*.pdb
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1269 -$(DEL) $(LIB_SRC)\*.res
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1270
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1271 clean: mostlyclean versionclean
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1272 -$(DEL) $(XEMACS)\TAGS
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1273
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1274 nicenclean: clean
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1275 -$(DEL) $(NT)\*.bak
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1276 -$(DEL) $(NT)\*.orig
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1277 -$(DEL) $(NT)\*.rej
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1278 -$(DEL) $(NT)\*.tmp
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1279 -$(DEL) $(LIB_SRC)\*.bak
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1280 -$(DEL) $(LIB_SRC)\*.orig
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1281 -$(DEL) $(LIB_SRC)\*.rej
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1282 -$(DEL) $(LIB_SRC)\*.tmp
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1283 -$(DEL) $(SRC)\*.bak
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1284 -$(DEL) $(SRC)\*.orig
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1285 -$(DEL) $(SRC)\*.rej
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1286 -$(DEL) $(SRC)\*.tmp
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1287 -$(DEL) $(LISP)\*.bak
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1288 -$(DEL) $(LISP)\*.orig
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1289 -$(DEL) $(LISP)\*.rej
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1290 -$(DEL) $(LISP)\*.tmp
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1291
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1292 # Convenience target.
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1293 # Reproducing the configuration is just a matter of copying, and if
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1294 # we use the same directory for Cygwin builds these must go. We don't
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1295 # want to use distclean.
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1296 configclean:
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1297 -$(DEL) $(SRC)\config.h
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1298 -$(DEL) $(SRC)\paths.h
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1299 -$(DEL) $(SRC)\Emacs.ad.h
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1300
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1301 ## This is used in making a distribution.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1302 ## Do not use it on development directories!
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1303 distclean: nicenclean configclean
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1304 -$(DEL) $(LIB_SRC)\$(CONFIG_VALUES)
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1305 -$(DEL) $(INFODIR)\*.info*
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1306 -$(DEL) $(LISP)\*.elc
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1307 -$(DEL) $(LISP)\mule\*.elc
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1308 -$(DEL) $(LISP)\term\*.elc
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1309
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1310 realclean: distclean
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1311
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1312 versionclean:
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1313 -$(DEL) $(SRC)\xemacs.exe
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1314 -$(DEL) $(LIB_SRC)\DOC
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1315
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1316 #not sure about those wildcards. DOS wildcards are stupid compared to Unix,
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1317 #and could end up deleting *everything* instead of just backup files or
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1318 #whatever. So just leave it at "realclean"
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1319 extraclean: realclean
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1320 # -$(DEL) *~
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1321 # -$(DEL) *.*~
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1322 # -$(DEL) #*
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1323 # -$(DEL) m\*~
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1324 # -$(DEL) m\#*
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1325 # -$(DEL) s\*~
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1326 # -$(DEL) s\#*
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1327
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1328 depend:
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1329 cd $(SRC)
432
3a7e78e1142d Import from CVS: tag r21-2-24
cvs
parents: 430
diff changeset
1330 perl ./make-src-depend > depend.tmp
3a7e78e1142d Import from CVS: tag r21-2-24
cvs
parents: 430
diff changeset
1331 perl -MFile::Compare -e "compare('depend.tmp', 'depend') && rename('depend.tmp', 'depend') or unlink('depend.tmp')"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1332
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1333 unicode-encapsulate:
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1334 cd $(SRC)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1335 perl ../lib-src/make-mswin-unicode.pl --c-output intl-auto-encap-win32.c --h-output intl-auto-encap-win32.h intl-encap-win32.c
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1336
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1337 $(XEMACS)\Installation:: installation
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1338
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1339 installation::
558
ed498ef2108b [xemacs-hg @ 2001-05-23 09:59:33 by ben]
ben
parents: 551
diff changeset
1340 @echo OS version:>$(XEMACS)\Installation
ed498ef2108b [xemacs-hg @ 2001-05-23 09:59:33 by ben]
ben
parents: 551
diff changeset
1341 @ver >> $(XEMACS)\Installation
ed498ef2108b [xemacs-hg @ 2001-05-23 09:59:33 by ben]
ben
parents: 551
diff changeset
1342 @type >> $(XEMACS)\Installation <<
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1343 !if defined(OS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1344 OS: $(OS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1345 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1346
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1347 XEmacs $(XEMACS_VERSION_STRING) $(xemacs_codename:"=\") configured for `$(EMACS_CONFIGURATION)'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1348
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1349 Building XEmacs in \"$(MAKEDIR:\=\\)\".
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1350 !if defined(CCV)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1351 Using compiler \"$(CC) $(CFLAGS)\".
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1352 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1353 Installing XEmacs in \"$(INSTALL_DIR:\=\\)\".
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1354 Package path is $(PATH_PACKAGEPATH:"=\").
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1355 !if $(INFODOCK)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1356 Building InfoDock.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1357 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1358 !if $(HAVE_MS_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1359 Compiling in support for Microsoft Windows native GUI.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1360 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1361 !if $(HAVE_X_WINDOWS)
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1362 Compiling in support for X Windows.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1363 !endif
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1364 !if $(MULE)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1365 Compiling in international (MULE) support.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1366 !endif
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1367 !if $(HAVE_GTK)
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1368 --------------------------------------------------------------------
523
cd662ad69f40 [xemacs-hg @ 2001-05-09 13:43:49 by ben]
ben
parents: 496
diff changeset
1369 WARNING: You specified HAVE_GTK=1, but we are compiling WITHOUT GTK support.
cd662ad69f40 [xemacs-hg @ 2001-05-09 13:43:49 by ben]
ben
parents: 496
diff changeset
1370 WARNING: gtk-xemacs is not currently supported on MSWindows (mingw or msvc).
cd662ad69f40 [xemacs-hg @ 2001-05-09 13:43:49 by ben]
ben
parents: 496
diff changeset
1371 WARNING: Yes, we know that gtk has been ported to native MSWindows, but
cd662ad69f40 [xemacs-hg @ 2001-05-09 13:43:49 by ben]
ben
parents: 496
diff changeset
1372 WARNING: XEmacs is not yet ready to use that port.
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1373 --------------------------------------------------------------------
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1374 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1375 !if $(HAVE_XPM)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1376 Compiling in support for XPM images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1377 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1378 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1379 WARNING: Compiling without XPM support.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1380 WARNING: You should strongly consider installing XPM.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1381 WARNING: Otherwise toolbars and other graphics will look suboptimal.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1382 WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1383 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1384 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1385 !if $(HAVE_GIF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1386 Compiling in support for GIF images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1387 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1388 !if $(HAVE_PNG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1389 Compiling in support for PNG images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1390 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1391 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1392 WARNING: Compiling without PNG image support.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1393 WARNING: You should strongly consider installing the PNG libraries.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1394 WARNING: Otherwise certain images and glyphs may not display.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1395 WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1396 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1397 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1398 !if $(HAVE_TIFF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1399 Compiling in support for TIFF images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1400 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1401 !if $(HAVE_JPEG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1402 Compiling in support for JPEG images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1403 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1404 !if $(HAVE_XFACE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1405 Compiling in support for X-Face message headers.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1406 !endif
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1407 !if $(HAVE_ZLIB)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1408 Compiling in support for GZIP compression/decompression.
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1409 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1410 !if $(HAVE_TOOLBARS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1411 Compiling in support for toolbars.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1412 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1413 !if $(HAVE_DIALOGS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1414 Compiling in support for dialogs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1415 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1416 !if $(HAVE_WIDGETS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1417 Compiling in support for widgets.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1418 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1419 !if $(HAVE_NATIVE_SOUND)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1420 Compiling in support for native sounds.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1421 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1422 !if $(HAVE_MSW_C_DIRED)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1423 Compiling in fast dired implementation.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1424 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1425 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1426 WARNING: Define HAVE_MSW_C_DIRED to be non-zero if you want XEmacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1427 WARNING: to use C primitives to significantly speed up dired, at the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1428 WARNING: expense of an additional ~4KB of code.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1429 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1430 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1431 !if $(USE_UNION_TYPE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1432 Using union type for Lisp object storage.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1433 !endif
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
1434 !if $(USE_PORTABLE_DUMPER)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
1435 Using portable dumper.
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
1436 !endif
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1437 !if $(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1438 Using system malloc.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1439 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1440 !if $(USE_CRTDLL)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1441 Using DLL version of C runtime library
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1442 !endif
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1443 !if $(ERROR_CHECK_ALL)
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1444 Compiling in extra internal error-checking. XEmacs will be slow!
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1445 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1446 !if $(DEBUG_XEMACS)
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1447 Compiling in debugging support (no slowdown).
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1448 !endif
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1449 !if $(OPTIMIZED_BUILD)
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1450 Compiling with optimization.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1451 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1452 !if $(QUICK_BUILD)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1453 Disabling non-essential build actions. Use with care!
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1454 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1455 <<NOKEEP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1456 @echo --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1457 @type $(XEMACS)\Installation
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1458 @echo --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1459
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1460 # Update out-of-date .elcs, other than needed for dumping.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1461 update-elc-2:
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1462 $(XEMACS_BATCH) -l update-elc-2.el -f batch-update-elc-2 $(LISP)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1463
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1464 # DO NOT DELETE THIS LINE -- make depend depends on it.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1465