annotate nt/xemacs.mak @ 872:79c6ff3eef26

[xemacs-hg @ 2002-06-20 21:18:01 by ben] font changes etc.; some 21.4 changes mule/mule-msw-init-late.el: Specify charset->windows-registry conversion. mule/mule-x-init.el: Delete extra mule font additions here. Put them in faces.c. cl-macs.el: Document better. font-lock.el: Move Lisp function regexp to lisp-mode.el. lisp-mode.el: Various indentation fixes: Handle flet functions better. Handle argument lists in defuns and flets. Handle quoted lists, e.g. property lists -- don't indent like function calls. Distinguish between lambdas and other lists. lisp-mode.el: Handle this form. faces.el, font-menu.el, font.el, gtk-faces.el, msw-faces.el, msw-font-menu.el, x-faces.el, x-init.el: Major overhaul of face-handling code: -- Fix lots of bogus code in msw-faces.el, msw-font-menu.el, font-menu.el that was "truenaming" font specs -- i.e. in the process of frobbing a particular field in a general user-specified font spec with wildcarded fields, sticking in particular values for all the remaining wildcarded fields. This bug was rampant everywhere except in x-faces.el (the oldest and only correctly written code). This also means that we need to work with font names at all times and not font instances, because a font instance is essentially a truenamed font. -- Total rewrite of extremely junky code in msw-faces.el. Work with names as well as font instances, and return names; stop truenaming when canonicalizing and frobbing; fix handling of the combined style field, i.e. weight/slant (also fixed in font.el). -- Totally rewrite the frobbing functions in faces.el. This time, we frob all the instantiators rather than just computing a single instance value and working backwards. That way, e.g., `bold' will work for all charsets that have bold available, rather than only for whatever charset was part of the computed font instance (another example of the truename virus). Also fix up code to look at the fallbacks (all of them) when no global value present, so we don't need to put something in the global value. Intelligently handle a request to frob a buffer locale, rather than signalling an error. When frobbing instantiators, try hard to figure out what device type is associated with them, and frob each according to its own proper device type. Correctly handle inheritance vectors given as instantiators. Preserve existing tags when putting back frobbed instantiators. Extract out general specifier-frobbing code into specifier.el. Document everything cleanly. Do lots of other things better, etc. -- Don't duplicatively set a global specification for the default font -- it's already in the fallback and we no longer need a default global specification present. Delete various code in x-faces.el and msw-faces.el that duplicated the lists of fonts in faces.c. -- init-global-faces was not being called at all under MS Windows! Major bogosity. That caused device-specific values to get stuck into all the fonts, making it very hard to change them -- setting global specs caused nothing to happen. -- Correct weight names in font.el. -- Lots more font fixups in objects*.c. Printer.el: Warning fix. specifier.el: Add more args to map-specifier. Add various "heuristic" specifier functions to aid in creation of specifier-munging code such as in faces.el. subr.el: New functions. lwlib.c: Fix warning. config.inc.samp: Clean up, add args to control fastcall (not yet supported! the changes needed are in another ws of mine), profile support, vc6 support, union-type. xemacs.dsp, xemacs.mak: Semi-major overhaul. Fix bug where dump-id was always getting recomputed, forcing a redump even when nothing changed. Add support for fastcall. Support edit-and-continue (on by default) with vc6. Use incremental linking when doing a debug compilation. Add support for profiling. Consolidate the various debug flags. Partial support for "batch-compiling" -- compiling many files on a single invocation of the compiler. Doesn't seem to help that much for me, so it's not finished or enabled by default. Remove HAVE_MSW_C_DIRED, we always do. Correct some sloppy use of directories. s/cygwin32.h: Allow pdump to work under Cygwin (mmap is broken, so need to undefine HAVE_MMAP). s/win32-common.h, s/windowsnt.h: Support for fastcall. Add WIN32_ANY for identifying all Win32 variants (Cygwin, native, MinGW). Both of these are properly used in another ws. alloc.c, balloon-x.c, buffer.c, bytecode.c, callint.c, cm.c, cmdloop.c, cmds.c, console-gtk.c, console-gtk.h, console-msw.c, console-msw.h, console-stream.c, console-stream.h, console-tty.c, console-tty.h, console-x.c, console-x.h, console.c, console.h, device-gtk.c, device-msw.c, device-tty.c, device-x.c, device.c, device.h, devslots.h, dialog-gtk.c, dialog-msw.c, dialog-x.c, dialog.c, dired-msw.c, editfns.c, emacs.c, event-Xt.c, event-gtk.c, event-msw.c, event-stream.c, event-tty.c, event-unixoid.c, events.c, extents.c, extents.h, faces.c, fileio.c, fns.c, frame-gtk.c, frame-msw.c, frame-tty.c, frame-x.c, frame.c, frame.h, glyphs-eimage.c, glyphs-gtk.c, glyphs-msw.c, glyphs-widget.c, glyphs-x.c, glyphs.c, glyphs.h, gui-gtk.c, gui-msw.c, gui-x.c, gui.c, gutter.c, input-method-xlib.c, intl-encap-win32.c, intl-win32.c, keymap.c, lisp.h, macros.c, menubar-gtk.c, menubar-msw.c, menubar-x.c, menubar.c, menubar.h, minibuf.c, mule-charset.c, nt.c, objects-gtk.c, objects-gtk.h, objects-msw.c, objects-msw.h, objects-tty.c, objects-tty.h, objects-x.c, objects-x.h, objects.c, objects.h, postgresql.c, print.c, process.h, redisplay-gtk.c, redisplay-msw.c, redisplay-output.c, redisplay-tty.c, redisplay-x.c, redisplay.c, redisplay.h, scrollbar-gtk.c, scrollbar-msw.c, scrollbar-x.c, scrollbar.c, select-gtk.c, select-msw.c, select-x.c, select.c, signal.c, sound.c, specifier.c, symbols.c, syntax.c, sysdep.c, syssignal.h, syswindows.h, toolbar-common.c, toolbar-gtk.c, toolbar-msw.c, toolbar-x.c, toolbar.c, unicode.c, window.c, window.h: The following are the major changes made: (1) Separation of various header files into an external and an internal version, similar to the existing separation of process.h and procimpl.h. Eventually this should be done for all Lisp objects. The external version has the same name as currently; the internal adds -impl. The external file has XFOO() macros for objects, but the structure is opaque and defined only in the internal file. It's now reasonable to move all prototypes in lisp.h into the appropriate external file, and this should be done. Currently, separation has been done on extents.h, objects*.h, console.h, device.h, frame.h, and window.h. For c/d/f/w, the most basic properties are available in the external header file, with the macros resolving to functions. In the internal header file, the macros are redefined to directly access the structure. Also, the global MARK_FOO_CHANGED macros have been made into functions so that they can be accessed without needing to include lots of -impl headers -- they are used in almost exclusively in non-time-critical functions, and take up enough time that the function overhead will be negligible. Similarly, the function overhead from making the basic properties mentioned above into functions is negligible, and code that does heavy accessing of c/d/f/w structures inevitably ends up needing the internal header files, anyway. (2) More face changes. -- Major rewrite of objects-msw.c. Now handles wildcard specs properly, rather than "truenaming" (or even worse, signalling an error, which previously happened with some of the fallbacks if you tried to use them in make-font-instance!). -- Split charset matching of fonts into two stages -- one to find a font specifically designed for a particular charset (by examining its registry), the second to find a Unicode font that can support the charset. This needs to proceed as two complete, separate instantiations in order to work properly (otherwise many of the fonts in the HELLO page look wrong). This should also make it easy to support iso10646 (Unicode) fonts under X. -- All default values for fonts are now completely specified in the fallbacks. Stuff from mule-x-init.el has all been moved here, merged with the existing specs, and totally rethought so you get sensible results. (HELLO now looks much better!). -- Generalize the "default X/GTK device" stuff into a per-device-type "default device". -- Add mswindows-{set-}charset-registry. In time, charset<->code-page conversion functions will be removed. -- Wrap protective code around calls to compute device specifier tags, and do this computation before calling the face initialization code because the latter may need these tags to be correctly updated. (3) Other changes. EmacsFrame.c, glyphs-msw.c, eval.c, gui-x.c, intl-encap-win32.c, search.c, signal.c, toolbar-msw.c, unicode.c: Warning fixes. config.h.in: #undefs meant to be frobbed by configure *MUST* go inside of #ifndef WIN32_NO_CONFIGURE, and everything else *MUST* go outside! eval.c: Let detailed backtraces be detailed. specifier.c: Don't override user's print-string-length/print-length settings. glyphs.c: New function image-instance-instantiator. config.h.in, sysdep.c: Changes for fastcall. sysdep.c, nt.c: Fix up a previous botched patch that tried to add support for both EEXIST and EACCES. IF THE BOTCHED PATCH WENT INTO 21.4, THIS FIXUP NEEDS TO GO IN, TOO. search.c: Fix *evil* crash due to incorrect synching of syntax-cache code with 21.1. THIS SHOULD GO INTO 21.4.
author ben
date Thu, 20 Jun 2002 21:19:10 +0000
parents 2b6fa2618f76
children f503f1607e8b
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
827
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
155 !if !defined(HAVE_MENUBARS)
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
156 HAVE_MENUBARS=1
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
157 !endif
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
158 !if !defined(HAVE_SCROLLBARS)
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
159 HAVE_SCROLLBARS=1
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
160 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
161 !if !defined(HAVE_TOOLBARS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
162 HAVE_TOOLBARS=$(HAVE_XPM)
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_DIALOGS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
165 HAVE_DIALOGS=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_NATIVE_SOUND)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
168 HAVE_NATIVE_SOUND=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(HAVE_WIDGETS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
171 HAVE_WIDGETS=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
172 !endif
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
173 !if !defined(OPTIMIZED_BUILD)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
174 OPTIMIZED_BUILD=1
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
175 !endif
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
176 !if !defined(USE_FASTCALL)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
177 # #### Change to 1 when I check in the ws with support for fastcall
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
178 USE_FASTCALL=0
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
179 !endif
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
180 !if !defined(PROFILE_SUPPORT)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
181 PROFILE_SUPPORT=0
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
182 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
183 !if !defined(DEBUG_XEMACS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
184 DEBUG_XEMACS=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
185 !endif
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
186 !if !defined(HAVE_VC6)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
187 HAVE_VC6=1
834
9c4fcc216a5f [xemacs-hg @ 2002-05-10 06:29:24 by adrian]
adrian
parents: 827
diff changeset
188 !endif
800
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 795
diff changeset
189 !if !defined(ERROR_CHECK_ALL)
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 795
diff changeset
190 # Turn off when not a beta XEmacs.
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 795
diff changeset
191 ERROR_CHECK_ALL=1
a5954632b187 [xemacs-hg @ 2002-03-31 08:27:14 by ben]
ben
parents: 795
diff changeset
192 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
193 !if !defined(QUICK_BUILD)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
194 QUICK_BUILD=0
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
195 !endif
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
196 !if !defined(VERBOSECC)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
197 VERBOSECC=0
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
198 !endif
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
199 !if !defined(DEPEND)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
200 DEPEND=0
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
201 !endif
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
202 !if !defined(USE_PORTABLE_DUMPER)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
203 USE_PORTABLE_DUMPER=1
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
204 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
205 !if !defined(USE_UNION_TYPE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
206 USE_UNION_TYPE=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
207 !endif
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
208 !if !defined(USE_MINITAR)
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
209 USE_MINITAR=$(HAVE_ZLIB)
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
210 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
211
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
212 # A little bit of adhockery. Default to use system malloc and
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
213 # DLL version of the C runtime library when using portable
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
214 # dumping. These are the optimal settings.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
215 !if !defined(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
216 USE_SYSTEM_MALLOC=$(USE_PORTABLE_DUMPER)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
217 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
218 !if !defined(USE_CRTDLL)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
219 USE_CRTDLL=$(USE_PORTABLE_DUMPER)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
220 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
221
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
222 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
223 # System configuration
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
224 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
225 !if !defined(OS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
226 OS=Windows_95/98
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
227 EMACS_CONFIGURATION=i586-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
228 !else if "$(PROCESSOR_ARCHITECTURE)" == "x86"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
229 EMACS_CONFIGURATION=i586-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
230 !else if "$(PROCESSOR_ARCHITECTURE)" == "MIPS"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
231 EMACS_CONFIGURATION=mips-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
232 !else if "$(PROCESSOR_ARCHITECTURE)" == "ALPHA"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
233 EMACS_CONFIGURATION=alpha-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
234 !else if "$(PROCESSOR_ARCHITECTURE)" == "PPC"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
235 EMACS_CONFIGURATION=ppc-pc-win32
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
236 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
237 ! error Unknown processor architecture type $(PROCESSOR_ARCHITECTURE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
238 !endif
794
3604075fb2a3 [xemacs-hg @ 2002-03-29 07:05:27 by jhar]
jhar
parents: 780
diff changeset
239 STACK_TRACE_EYE_CATCHER=$(XEMACS_VERSION_STRING:.=_)
3604075fb2a3 [xemacs-hg @ 2002-03-29 07:05:27 by jhar]
jhar
parents: 780
diff changeset
240 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
241 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
242
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
243 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
244 # Conf error checks
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
245 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
246 CONFIG_ERROR=0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
247 !if $(INFODOCK) && !exist("..\..\Infodock.rules")
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
248 !message Cannot build InfoDock without InfoDock sources
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
249 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
250 !endif
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
251 !if !$(USE_PORTABLE_DUMPER) && $(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
252 !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
253 CONFIG_ERROR=1
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
254 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
255 !if !$(USE_PORTABLE_DUMPER) && $(USE_CRTDLL)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
256 !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
257 CONFIG_ERROR=1
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
258 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
259 !if !$(USE_SYSTEM_MALLOC) && $(USE_CRTDLL)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
260 !message GNU malloc currently cannot be used with CRT DLL.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
261 !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
262 CONFIG_ERROR=1
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
263 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
264 !if !$(HAVE_MS_WINDOWS) && !$(HAVE_X_WINDOWS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
265 !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
266 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
267 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
268 !if $(HAVE_X_WINDOWS) && !defined(X11_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
269 !message Please specify root directory for your X11 installation: X11_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
270 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
271 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
272 !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
273 !message Specified X11 directory does not contain "$(X11_DIR)\LIB\X11.LIB"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
274 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
275 !endif
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
276 !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
277 !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
278 CONFIG_ERROR=1
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
279 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
280 !if $(HAVE_MS_WINDOWS) && $(HAVE_XPM) && !defined(XPM_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
281 !message Please specify root directory for your XPM installation: XPM_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
282 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
283 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
284 !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
285 !message Specified XPM directory does not contain "$(XPM_DIR)\lib\Xpm.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
286 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
287 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
288 !if $(HAVE_MS_WINDOWS) && $(HAVE_PNG) && !defined(PNG_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
289 !message Please specify root directory for your PNG installation: PNG_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
290 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
291 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
292 !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
293 !message Specified PNG directory does not contain "$(PNG_DIR)\libpng.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
294 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
295 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
296 !if $(HAVE_MS_WINDOWS) && $(HAVE_PNG) && !defined(ZLIB_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
297 !message Please specify root directory for your ZLIB installation: ZLIB_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
298 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
299 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
300 !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
301 !message Specified ZLIB directory does not contain "$(ZLIB_DIR)\zlib.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
302 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
303 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
304 !if $(HAVE_MS_WINDOWS) && $(HAVE_TIFF) && !defined(TIFF_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
305 !message Please specify root directory for your TIFF installation: TIFF_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
306 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
307 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
308 !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
309 !message Specified TIFF directory does not contain "$(TIFF_DIR)\libtiff\libtiff.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
310 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
311 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
312 !if $(HAVE_MS_WINDOWS) && $(HAVE_JPEG) && !defined(JPEG_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
313 !message Please specify root directory for your JPEG installation: JPEG_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
314 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
315 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
316 !if $(HAVE_MS_WINDOWS) && $(HAVE_JPEG) && !exist("$(JPEG_DIR)\libjpeg.lib")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
317 !message Specified JPEG directory does not contain "$(JPEG_DIR)\libjpeg.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
318 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
319 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
320 !if $(HAVE_MS_WINDOWS) && $(HAVE_XFACE) && !defined(COMPFACE_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
321 !message Please specify root directory for your COMPFACE installation: COMPFACE_DIR=path
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
322 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
323 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
324 !if $(HAVE_MS_WINDOWS) && $(HAVE_XFACE) && !exist("$(COMPFACE_DIR)\libcompface.lib")
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
325 !message Specified COMPFACE directory does not contain "$(COMPFACE_DIR)\libcompface.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
326 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
327 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
328 !if $(HAVE_MS_WINDOWS) && $(HAVE_TOOLBARS) && !$(HAVE_XPM)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
329 !message Toolbars require XPM support
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
330 CONFIG_ERROR=1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
331 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
332 !if $(CONFIG_ERROR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
333 !error Configuration error(s) found
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
334 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
335
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
336 #
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
337 # Whether to use dependency information generated by make-src-depend
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
338 #
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
339 !if $(DEPEND) && exist("$(SRC)\depend")
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
340 ! if [if not exist $(OUTDIR)\nul mkdir "$(OUTDIR)"]
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
341 ! endif
795
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
342 # 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
343 ! 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
344 ! endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
345 ! include "$(OUTDIR)\depend.tmp"
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
346 !else
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
347 ! if [echo WARNING: Compiling without dependency information.]
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
348 ! endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
349 !endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
350
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
351 #
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
352 # Compiler command echo control. Define VERBOSECC=1 to get verbose compilation.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
353 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
354 !if $(VERBOSECC)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
355 CCV=$(CC)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
356 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
357 CCV=@$(CC)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
358 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
359
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
360 !if $(DEBUG_XEMACS)
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
361
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
362 # ---- Debugging support ----
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
363 ! if $(HAVE_VC6)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
364 # support edit-and-continue
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
365 DEBUG_FLAGS_COMPILE=-ZI
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
366 ! else
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
367 DEBUG_FLAGS_COMPILE=-Zi
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
368 ! endif
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
369 DEBUG_FLAGS_LINK=-debug:full
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
370 DEBUG_DEFINES=-DDEBUG_XEMACS -D_DEBUG
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
371 #BROWSERFLAGS=-Fr -Fd$(OUTDIR)\temacs.pdb
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
372 BROWSERFLAGS=-Fr$*.sbr -Fd$(OUTDIR)\temacs.pdb
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
373
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
374 !else
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
375
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
376 # ---- No debugging support ----
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
377 DEBUG_FLAGS_COMPILE=
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
378 DEBUG_FLAGS_LINK=-incremental:no
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
379 DEBUG_DEFINES=-DDEBUG_XEMACS -D_DEBUG
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
380 BROWSERFLAGS=
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
381
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
382 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
383
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
384 !if $(USE_CRTDLL)
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
385 ! if $(DEBUG_XEMACS)
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
386 C_LIBFLAG=-MDd
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
387 LIBC_LIB=msvcrtd.lib
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
388 ! else
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
389 C_LIBFLAG=-MD
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
390 LIBC_LIB=msvcrt.lib
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
391 ! endif
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
392 !else
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
393 C_LIBFLAG=-ML
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
394 LIBC_LIB=libc.lib
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
395 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
396
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
397 !if $(OPTIMIZED_BUILD)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
398 # -G5 means optimize for Pentium. (According to the code-optimization
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
399 # article, -GB is the same as -G5, and -G6, i.e. optimze for Pentium Pro,
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
400 # gains you little over -G5 for PPro's but causes big slowdowns for
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
401 # Pentiums.) -GF means put strings in read-only memory; -Gr means use
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
402 # fastcall convention. Another possible addition: -Ob2 -- allows inlining
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
403 # of any function, not just those declared inline. Potential code size
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
404 # increase, though.
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
405 #
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
406 # #### Note: fastcall doesn't actually seem to make any difference, at least
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
407 # not using the (admittedly unscientific) test of (hanoi 6). The
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
408 # optimization article claims 1-2% improvement in both speed and size.
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
409 OPTFLAGS_FASTCALL =-O2 -G5 -Gr -Ob2
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
410 OPTFLAGS_CDECL =-O2 -G5 -Ob2
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
411 !else
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
412 OPTFLAGS_FASTCALL =-Od
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
413 OPTFLAGS_CDECL =-Od
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
414 !endif
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
415
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
416 !if $(USE_FASTCALL)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
417 OPTFLAGS = $(OPTFLAGS_FASTCALL)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
418 !else
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
419 OPTFLAGS = $(OPTFLAGS_CDECL)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
420 !endif
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
421
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
422 !if $(PROFILE_SUPPORT)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
423 PROFILE_FLAGS=-profile
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
424 !else
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
425 PROFILE_FLAGS=
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
426 !endif
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
427
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
428 CFLAGS_NO_OPT=-nologo -W3 -DSTRICT $(DEBUG_FLAGS_COMPILE)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
429
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
430 CFLAGS_NO_LIB=$(CFLAGS_NO_OPT) $(OPTFLAGS)
826
6728e641994e [xemacs-hg @ 2002-05-05 11:30:15 by ben]
ben
parents: 819
diff changeset
431 CFLAGS=$(CFLAGS_NO_LIB) $(C_LIBFLAG)
6728e641994e [xemacs-hg @ 2002-05-05 11:30:15 by ben]
ben
parents: 819
diff changeset
432
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
433 CFLAGS_CDECL_NO_LIB=$(CFLAGS_NO_OPT) $(OPTFLAGS_CDECL)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
434 CFLAGS_CDECL=$(CFLAGS_CDECL_NO_LIB) $(C_LIBFLAG)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
435
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
436 !if $(HAVE_X_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
437 X_DEFINES=-DHAVE_X_WINDOWS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
438 X_INCLUDES=-I$(X11_DIR)\include
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
439 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
440 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
441
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
442 !if $(HAVE_MS_WINDOWS)
827
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
443 MSW_DEFINES=-DHAVE_MS_WINDOWS
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
444 MSW_INCLUDES=
827
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
445 MSW_LIBS=comctl32.lib
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
446
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
447 !if $(HAVE_XPM)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
448 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XPM -DFOR_MSW
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
449 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(XPM_DIR)" -I"$(XPM_DIR)\lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
450 MSW_LIBS=$(MSW_LIBS) "$(XPM_DIR)\lib\Xpm.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
451 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
452 !if $(HAVE_GIF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
453 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_GIF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
454 MSW_GIF_OBJ=$(OUTDIR)\dgif_lib.obj $(OUTDIR)\gif_io.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
455 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
456 !if $(HAVE_PNG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
457 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_PNG
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
458 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(PNG_DIR)" -I"$(ZLIB_DIR)"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
459 MSW_LIBS=$(MSW_LIBS) "$(PNG_DIR)\libpng.lib" "$(ZLIB_DIR)\zlib.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
460 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
461 !if $(HAVE_TIFF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
462 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TIFF
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
463 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(TIFF_DIR)\libtiff"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
464 MSW_LIBS=$(MSW_LIBS) "$(TIFF_DIR)\libtiff\libtiff.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
465 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
466 !if $(HAVE_JPEG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
467 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_JPEG
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
468 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(JPEG_DIR)"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
469 MSW_LIBS=$(MSW_LIBS) "$(JPEG_DIR)\libjpeg.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
470 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
471 !if $(HAVE_XFACE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
472 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_XFACE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
473 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(COMPFACE_DIR)"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
474 MSW_LIBS=$(MSW_LIBS) "$(COMPFACE_DIR)\libcompface.lib"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
475 !endif
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
476 !if $(HAVE_ZLIB)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
477 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_ZLIB
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
478 MSW_INCLUDES=$(MSW_INCLUDES) -I"$(ZLIB_DIR)"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
479 MSW_LIBS=$(MSW_LIBS) "$(ZLIB_DIR)\zlib.lib"
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
480 !endif
827
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
481 !if $(HAVE_MENUBARS)
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
482 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_MENUBARS
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
483 MSW_MENUBAR_OBJ=$(OUTDIR)\menubar.obj $(OUTDIR)\menubar-msw.obj
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
484 !endif
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
485 !if $(HAVE_SCROLLBARS)
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
486 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_SCROLLBARS
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
487 MSW_SCROLLBAR_OBJ=$(OUTDIR)\scrollbar.obj $(OUTDIR)\scrollbar-msw.obj
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
488 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
489 !if $(HAVE_TOOLBARS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
490 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_TOOLBARS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
491 MSW_TOOLBAR_OBJ=$(OUTDIR)\toolbar.obj $(OUTDIR)\toolbar-msw.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
492 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
493 !if $(HAVE_WIDGETS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
494 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_WIDGETS
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
495 !endif
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
496 !if $(HAVE_DIALOGS)
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
497 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_DIALOGS
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
498 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
499 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
500 !if $(HAVE_NATIVE_SOUND)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
501 MSW_DEFINES=$(MSW_DEFINES) -DHAVE_NATIVE_SOUND
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
502 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
503 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
504
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
505 !if $(MULE)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
506 MULE_DEFINES=-DMULE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
507 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
508
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
509 !if $(QUICK_BUILD)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
510 QUICK_DEFINES=-DQUICK_BUILD
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
511 !endif
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
512
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
513 !if $(ERROR_CHECK_ALL)
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
514 ERROR_CHECK_DEFINES=-DERROR_CHECK_ALL
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
515 !endif
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
516
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
517 !if $(USE_UNION_TYPE)
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
518 UNION_DEFINES=-DUSE_UNION_TYPE
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
519 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
520
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
521 !if $(USE_PORTABLE_DUMPER)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
522 DUMPER_DEFINES=-DPDUMP
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
523 !endif
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
524
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
525 !if $(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
526 MALLOC_DEFINES=-DSYSTEM_MALLOC
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
527 !else
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
528 MALLOC_DEFINES=-DGNU_MALLOC
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
529 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
530
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
531 # Hard-coded paths
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
532
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
533 !if $(INFODOCK)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
534 PATH_PREFIX=../..
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
535 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
536 PATH_PREFIX=..
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
537 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
538
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
539 PATH_DEFINES=-DPATH_PREFIX=\"$(PATH_PREFIX)\"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
540
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
541 # Generic variables
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
542
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
543 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
544
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
545 DEFINES=$(X_DEFINES) $(MSW_DEFINES) $(MULE_DEFINES) $(UNION_DEFINES) \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
546 $(DUMPER_DEFINES) $(MALLOC_DEFINES) $(QUICK_DEFINES) \
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
547 $(ERROR_CHECK_DEFINES) \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
548 -DWIN32_LEAN_AND_MEAN -DWIN32_NATIVE -Demacs \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
549 -DHAVE_CONFIG_H $(PROGRAM_DEFINES) $(PATH_DEFINES)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
550
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
551 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
552
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
553 $(OUTDIR)\nul:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
554 -@mkdir $(OUTDIR)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
555
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
556 XEMACS_INCLUDES=\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
557 $(SRC)\config.h \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
558 $(SRC)\Emacs.ad.h \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
559 $(SRC)\paths.h
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
560
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
561 # #### 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
562 $(SRC)\config.h: $(SRC)\config.h.in
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
563 # #### 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
564 # #### 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
565 # #### 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
566 # #### 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
567 @copy $(SRC)\config.h.in $(SRC)\config.h
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
568
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
569 $(SRC)\Emacs.ad.h: Emacs.ad.h
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
570 @$(COPY) Emacs.ad.h $(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
571
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
572 $(SRC)\paths.h: paths.h
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
573 @$(COPY) paths.h $(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
574
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
575 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
576
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
577 # lib-src programs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
578
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
579 LIB_SRC_DEFINES = -DHAVE_CONFIG_H -DWIN32_NATIVE
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 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
582 # Creating config.values to be used by config.el
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
583 #
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
584 CONFIG_VALUES = $(LIB_SRC)\config.values
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
585 !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
586 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
587 # MAKEDIR has to be made into a string.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
588 #!if [echo blddir>>$(CONFIG_VALUES) && echo $(ESC)"$(MAKEDIR:\=\\)\\..$(ESC)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
589 !if [echo blddir>>$(CONFIG_VALUES) && echo "$(MAKEDIR:\=\\)\\..">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
590 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
591 !if [echo CC>>$(CONFIG_VALUES) && echo "$(CC:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
592 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
593 !if [echo CFLAGS>>$(CONFIG_VALUES) && echo "$(CFLAGS:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
594 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
595 !if [echo CPP>>$(CONFIG_VALUES) && echo "$(CPP:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
596 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
597 !if [echo CPPFLAGS>>$(CONFIG_VALUES) && echo "$(CPPFLAGS:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
598 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
599 !if [echo LISPDIR>>$(CONFIG_VALUES) && echo "$(MAKEDIR:\=\\)\\$(LISP:\=\\)">>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
600 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
601 # PATH_PACKAGEPATH is already a quoted string.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
602 !if [echo PACKAGE_PATH>>$(CONFIG_VALUES) && echo $(PATH_PACKAGEPATH)>>$(CONFIG_VALUES)]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
603 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
604
839
182d9d1c71a5 [xemacs-hg @ 2002-05-14 10:57:37 by ben]
ben
parents: 834
diff changeset
605
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
606 LINK_DEPENDENCY_ARGS = -Fe$@ -Fd$* $** -link $(DEBUG_FLAGS_LINK)
839
182d9d1c71a5 [xemacs-hg @ 2002-05-14 10:57:37 by ben]
ben
parents: 834
diff changeset
607 LINK_STANDARD_LIBRARY_ARGS = setargv.obj user32.lib wsock32.lib
182d9d1c71a5 [xemacs-hg @ 2002-05-14 10:57:37 by ben]
ben
parents: 834
diff changeset
608
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
609 # Inferred rule
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
610 {$(LIB_SRC)}.c{$(LIB_SRC)}.exe :
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
611 cd $(LIB_SRC)
839
182d9d1c71a5 [xemacs-hg @ 2002-05-14 10:57:37 by ben]
ben
parents: 834
diff changeset
612 $(CCV) -I$(LIB_SRC) -I$(SRC) $(LIB_SRC_DEFINES) $(CFLAGS) $(LINK_DEPENDENCY_ARGS) $(LINK_STANDARD_LIBRARY_ARGS)
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
613 cd $(NT)
428
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 # Individual dependencies
812
f846c2ef930d [xemacs-hg @ 2002-04-13 20:31:27 by jhar]
jhar
parents: 800
diff changeset
616 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
617 $(LIB_SRC)/etags.exe : $(LIB_SRC)/etags.c $(ETAGS_DEPS)
839
182d9d1c71a5 [xemacs-hg @ 2002-05-14 10:57:37 by ben]
ben
parents: 834
diff changeset
618 cd $(LIB_SRC)
182d9d1c71a5 [xemacs-hg @ 2002-05-14 10:57:37 by ben]
ben
parents: 834
diff changeset
619 $(CCV) -I$(LIB_SRC) -I$(SRC) $(LIB_SRC_DEFINES) $(CFLAGS) $(LINK_DEPENDENCY_ARGS) -stack:0x800000 $(LINK_STANDARD_LIBRARY_ARGS)
182d9d1c71a5 [xemacs-hg @ 2002-05-14 10:57:37 by ben]
ben
parents: 834
diff changeset
620 cd $(NT)
182d9d1c71a5 [xemacs-hg @ 2002-05-14 10:57:37 by ben]
ben
parents: 834
diff changeset
621
827
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
622 $(LIB_SRC)/movemail.exe : $(LIB_SRC)/movemail.c $(LIB_SRC)/pop.c $(ETAGS_DEPS)
819
6504113e7c2d [xemacs-hg @ 2002-04-25 18:03:23 by andyp]
andyp
parents: 815
diff changeset
623
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
624 # Minitar uses zlib so just use cdecl to simplify things
812
f846c2ef930d [xemacs-hg @ 2002-04-13 20:31:27 by jhar]
jhar
parents: 800
diff changeset
625 $(LIB_SRC)/minitar.exe : $(NT)/minitar.c
827
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
626 cd $(LIB_SRC)
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
627 $(CCV) -I"$(ZLIB_DIR)" $(LIB_SRC_DEFINES) $(CFLAGS_CDECL_NO_LIB) $(LINK_DEPENDENCY_ARGS) "$(ZLIB_DIR)\zlib.lib"
827
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
628 cd $(NT)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
629
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
630 LIB_SRC_TOOLS = \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
631 $(LIB_SRC)/etags.exe \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
632 $(LIB_SRC)/hexl.exe \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
633 $(LIB_SRC)/i.exe \
819
6504113e7c2d [xemacs-hg @ 2002-04-25 18:03:23 by andyp]
andyp
parents: 815
diff changeset
634 $(LIB_SRC)/winclient.exe \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
635 $(LIB_SRC)/make-docfile.exe \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
636 $(LIB_SRC)/mmencode.exe \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
637 $(LIB_SRC)/movemail.exe \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
638 $(LIB_SRC)/sorted-doc.exe \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
639 $(LIB_SRC)/wakeup.exe
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
640 !if $(USE_MINITAR)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
641 LIB_SRC_TOOLS = \
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
642 $(LIB_SRC_TOOLS) \
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
643 $(LIB_SRC)/minitar.exe
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
644 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
645 !if $(USE_PORTABLE_DUMPER)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
646 LIB_SRC_TOOLS = \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
647 $(XEMACS_INCLUDES) \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
648 $(LIB_SRC)/make-dump-id.exe \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
649 $(LIB_SRC_TOOLS)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
650 !endif
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
651
428
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
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
654 # LASTFILE Library
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
655
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
656 !if !$(USE_SYSTEM_MALLOC) || !$(USE_PORTABLE_DUMPER)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
657
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
658 LASTFILE=$(OUTDIR)\lastfile.lib
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
659 LASTFILE_SRC=$(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
660 LASTFILE_FLAGS=$(CFLAGS) $(INCLUDES) -Fo$@ -Fd$* -c
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
661 LASTFILE_OBJS= \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
662 $(OUTDIR)\lastfile.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
663
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
664 $(LASTFILE): $(XEMACS_INCLUDES) $(LASTFILE_OBJS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
665 link.exe -lib -nologo -out:$@ $(LASTFILE_OBJS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
666
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
667 $(OUTDIR)\lastfile.obj: $(LASTFILE_SRC)\lastfile.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
668 $(CCV) $(LASTFILE_FLAGS) $(LASTFILE_SRC)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
669
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
670 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
671
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
672 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
673
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
674 !if $(HAVE_X_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
675
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
676 # LWLIB Library
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
677
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
678 LWLIB=$(OUTDIR)\lwlib.lib
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
679 LWLIB_FLAGS=$(CFLAGS) $(INCLUDES) $(DEFINES) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
680 -DNEED_ATHENA -DNEED_LUCID \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
681 -D_WINDOWS -DMENUBARS_LUCID -DSCROLLBARS_LUCID -DDIALOGS_ATHENA \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
682 -Fo$@ -c
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
683 LWLIB_OBJS= \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
684 $(OUTDIR)\lwlib-utils.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
685 $(OUTDIR)\lwlib-Xaw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
686 $(OUTDIR)\lwlib-Xlw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
687 $(OUTDIR)\lwlib.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
688 $(OUTDIR)\xlwmenu.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
689 $(OUTDIR)\xlwscrollbar.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
690
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
691 $(LWLIB): $(LWLIB_OBJS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
692 link.exe -lib -nologo -out:$@ $(LWLIB_OBJS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
693
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
694 $(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
695 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
696
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
697 $(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
698 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
699
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
700 $(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
701 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
702
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
703 $(OUTDIR)\lwlib.obj: $(LWLIB_SRCDIR)\lwlib.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
704 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
705
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
706 $(OUTDIR)\xlwmenu.obj: $(LWLIB_SRCDIR)\xlwmenu.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
707 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
708
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
709 $(OUTDIR)\xlwscrollbar.obj: $(LWLIB_SRCDIR)\xlwscrollbar.c
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
710 $(CCV) $(LWLIB_FLAGS) $(LWLIB_SRCDIR)\$(@B).c
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
711
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
712 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
713
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
714 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
715
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
716 # TEMACS Executable
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
717
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
718 # This may not exist
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
719 !if "$(emacs_beta_version)" != ""
496
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
720 !if "$(emacs_is_beta)" != ""
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
721 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
722 !else
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
723 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
724 !endif
98145293255c [xemacs-hg @ 2001-05-01 12:05:20 by adrian]
adrian
parents: 494
diff changeset
725 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
726
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
727 !if !$(USE_PORTABLE_DUMPER)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
728 TEMACS_ENTRYPOINT=-entry:_start
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
729 !else
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
730 TEMACS_ENTRYPOINT=-entry:mainCRTStartup
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
731 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
732
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
733 TEMACS_DIR=$(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
734 TEMACS=$(TEMACS_DIR)\temacs.exe
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
735 TEMACS_BROWSE=$(TEMACS_DIR)\temacs.bsc
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
736 TEMACS_SRC=$(SRC)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
737 TEMACS_LIBS=$(LASTFILE) $(LWLIB) $(X_LIBS) $(MSW_LIBS) \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
738 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
739 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
740 mpr.lib uuid.lib imm32.lib $(LIBC_LIB)
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
741 TEMACS_LFLAGS=-nologo $(LIBRARIES) $(DEBUG_FLAGS_LINK) -base:0x1000000\
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
742 -stack:0x800000 $(TEMACS_ENTRYPOINT) -subsystem:windows\
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
743 -pdb:$(TEMACS_DIR)\temacs.pdb -map:$(TEMACS_DIR)\temacs.map \
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
744 -heap:0x00100000 -nodefaultlib $(PROFILE_FLAGS) setargv.obj
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
745 TEMACS_CPP_FLAGS_NO_CFLAGS=-c $(INCLUDES) $(DEFINES) $(DEBUG_DEFINES) \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
746 -DEMACS_MAJOR_VERSION=$(emacs_major_version) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
747 -DEMACS_MINOR_VERSION=$(emacs_minor_version) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
748 $(EMACS_BETA_VERSION) \
632
406bf4f67ac1 [xemacs-hg @ 2001-07-19 07:19:58 by stephent]
stephent
parents: 587
diff changeset
749 $(EMACS_PATCH_LEVEL) \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
750 -DXEMACS_CODENAME=\"$(xemacs_codename:&=and)\" \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
751 -DEMACS_CONFIGURATION=\"$(EMACS_CONFIGURATION)\" \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
752 -DPATH_PACKAGEPATH=\"$(PATH_PACKAGEPATH)\"
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
753 TEMACS_CPP_FLAGS=$(CFLAGS) $(TEMACS_CPP_FLAGS_NO_CFLAGS)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
754 TEMACS_CPP_CDECL_FLAGS=$(CFLAGS_CDECL) $(TEMACS_CPP_FLAGS_NO_CFLAGS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
755
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
756 !if $(HAVE_X_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
757 TEMACS_X_OBJS=\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
758 $(OUTDIR)\balloon-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
759 $(OUTDIR)\balloon_help.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
760 $(OUTDIR)\console-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
761 $(OUTDIR)\device-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
762 $(OUTDIR)\dialog-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
763 $(OUTDIR)\EmacsFrame.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
764 $(OUTDIR)\EmacsManager.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
765 $(OUTDIR)\EmacsShell.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
766 $(OUTDIR)\TopLevelEmacsShell.obj\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
767 $(OUTDIR)\TransientEmacsShell.obj\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
768 $(OUTDIR)\event-Xt.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
769 $(OUTDIR)\frame-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
770 $(OUTDIR)\glyphs-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
771 $(OUTDIR)\gui-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
772 $(OUTDIR)\menubar-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
773 $(OUTDIR)\objects-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
774 $(OUTDIR)\redisplay-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
775 $(OUTDIR)\scrollbar-x.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
776 $(OUTDIR)\xgccache.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
777 $(OUTDIR)\xmu.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
778 $(OUTDIR)\select-x.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
779 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
780
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
781 !if $(HAVE_MS_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
782 TEMACS_MSW_OBJS=\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
783 $(OUTDIR)\console-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
784 $(OUTDIR)\device-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
785 $(OUTDIR)\event-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
786 $(OUTDIR)\frame-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
787 $(OUTDIR)\glyphs-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
788 $(OUTDIR)\gui-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
789 $(OUTDIR)\objects-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
790 $(OUTDIR)\redisplay-msw.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
791 $(OUTDIR)\select-msw.obj \
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
792 $(OUTDIR)\dired-msw.obj \
827
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
793 $(MSW_MENUBAR_OBJ) \
28426972f654 [xemacs-hg @ 2002-05-06 14:14:33 by jhar]
jhar
parents: 826
diff changeset
794 $(MSW_SCROLLBAR_OBJ) \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
795 $(MSW_TOOLBAR_OBJ) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
796 $(MSW_DIALOG_OBJ) \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
797 $(MSW_GIF_OBJ)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
798 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
799
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
800 !if $(MULE)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
801 TEMACS_MULE_OBJS=\
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
802 $(OUTDIR)\mule-ccl.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
803 $(OUTDIR)\mule-charset.obj \
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
804 $(OUTDIR)\mule-coding.obj
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
805
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
806 ! if $(HAVE_X_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
807 TEMACS_MULE_OBJS=\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
808 $(TEMACS_MULE_OBJS) $(OUTDIR)\input-method-xlib.obj
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
809 ! endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
810 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
811
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
812 !if $(DEBUG_XEMACS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
813 TEMACS_DEBUG_OBJS=\
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
814 $(OUTDIR)\debug.obj \
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
815 $(OUTDIR)\tests.obj
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
816 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
817
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
818 !if !$(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
819 TEMACS_ALLOC_OBJS=\
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
820 $(OUTDIR)\free-hook.obj \
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
821 $(OUTDIR)\gmalloc.obj \
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
822 $(OUTDIR)\ntheap.obj \
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
823 $(OUTDIR)\vm-limit.obj
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
824 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
825
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
826 !if !$(USE_PORTABLE_DUMPER)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
827 TEMACS_DUMP_OBJS=\
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
828 $(OUTDIR)\unexnt.obj
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
829 !else
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
830 TEMACS_DUMP_OBJS=\
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
831 $(OUTDIR)\dumper.obj
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
832 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
833
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
834 TEMACS_OBJS= \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
835 $(TEMACS_X_OBJS)\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
836 $(TEMACS_MSW_OBJS)\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
837 $(TEMACS_CODING_OBJS)\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
838 $(TEMACS_MULE_OBJS)\
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
839 $(TEMACS_DEBUG_OBJS)\
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
840 $(TEMACS_ALLOC_OBJS)\
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
841 $(TEMACS_DUMP_OBJS)\
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
842 $(OUTDIR)\abbrev.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
843 $(OUTDIR)\alloc.obj \
851
e7ee5f8bde58 [xemacs-hg @ 2002-05-23 11:46:08 by ben]
ben
parents: 841
diff changeset
844 $(OUTDIR)\alloca.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
845 $(OUTDIR)\blocktype.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
846 $(OUTDIR)\buffer.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
847 $(OUTDIR)\bytecode.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
848 $(OUTDIR)\callint.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
849 $(OUTDIR)\casefiddle.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
850 $(OUTDIR)\casetab.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
851 $(OUTDIR)\chartab.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
852 $(OUTDIR)\cmdloop.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
853 $(OUTDIR)\cmds.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
854 $(OUTDIR)\console-stream.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
855 $(OUTDIR)\console.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
856 $(OUTDIR)\data.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
857 $(OUTDIR)\device.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
858 $(OUTDIR)\dired.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
859 $(OUTDIR)\doc.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
860 $(OUTDIR)\doprnt.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
861 $(OUTDIR)\dragdrop.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
862 $(OUTDIR)\dynarr.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
863 $(OUTDIR)\editfns.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
864 $(OUTDIR)\elhash.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
865 $(OUTDIR)\emacs.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
866 $(OUTDIR)\eval.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
867 $(OUTDIR)\event-stream.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
868 $(OUTDIR)\events.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
869 $(OUTDIR)\extents.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
870 $(OUTDIR)\faces.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
871 $(OUTDIR)\file-coding.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
872 $(OUTDIR)\fileio.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
873 $(OUTDIR)\filemode.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
874 $(OUTDIR)\floatfns.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
875 $(OUTDIR)\fns.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
876 $(OUTDIR)\font-lock.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
877 $(OUTDIR)\frame.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
878 $(OUTDIR)\general.obj \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
879 $(OUTDIR)\getloadavg.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
880 $(OUTDIR)\glyphs.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
881 $(OUTDIR)\glyphs-eimage.obj \
587
28e2f03164f1 [xemacs-hg @ 2001-05-29 08:03:09 by ben]
ben
parents: 583
diff changeset
882 $(OUTDIR)\glyphs-shared.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
883 $(OUTDIR)\glyphs-widget.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
884 $(OUTDIR)\gui.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
885 $(OUTDIR)\gutter.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
886 $(OUTDIR)\hash.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
887 $(OUTDIR)\indent.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
888 $(OUTDIR)\imgproc.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
889 $(OUTDIR)\insdel.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
890 $(OUTDIR)\intl.obj \
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
891 $(OUTDIR)\intl-win32.obj \
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
892 $(OUTDIR)\intl-encap-win32.obj \
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
893 $(OUTDIR)\intl-auto-encap-win32.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
894 $(OUTDIR)\keymap.obj \
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
895 $(OUTDIR)\libinterface.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
896 $(OUTDIR)\line-number.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
897 $(OUTDIR)\lread.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
898 $(OUTDIR)\lstream.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
899 $(OUTDIR)\macros.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
900 $(OUTDIR)\marker.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
901 $(OUTDIR)\md5.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
902 $(OUTDIR)\minibuf.obj \
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
903 # #### Leave the next one out when integrating my working ws
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
904 $(OUTDIR)\nt.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
905 $(OUTDIR)\ntplay.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
906 $(OUTDIR)\objects.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
907 $(OUTDIR)\opaque.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
908 $(OUTDIR)\print.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
909 $(OUTDIR)\process.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
910 $(OUTDIR)\process-nt.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
911 $(OUTDIR)\profile.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
912 $(OUTDIR)\rangetab.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
913 $(OUTDIR)\realpath.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
914 $(OUTDIR)\redisplay-output.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
915 $(OUTDIR)\redisplay.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
916 $(OUTDIR)\regex.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
917 $(OUTDIR)\search.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
918 $(OUTDIR)\select.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
919 $(OUTDIR)\signal.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
920 $(OUTDIR)\sound.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
921 $(OUTDIR)\specifier.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
922 $(OUTDIR)\strftime.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
923 $(OUTDIR)\symbols.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
924 $(OUTDIR)\syntax.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
925 $(OUTDIR)\sysdep.obj \
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
926 $(OUTDIR)\text.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
927 $(OUTDIR)\tparam.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
928 $(OUTDIR)\undo.obj \
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
929 $(OUTDIR)\unicode.obj \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
930 $(OUTDIR)\widget.obj \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
931 $(OUTDIR)\window.obj \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
932 $(OUTDIR)\win32.obj
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
933
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
934 # Rules
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
935
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
936 .SUFFIXES:
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
937 .SUFFIXES: .c .obj .texi .info
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
938
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
939 # nmake rule with batching:
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
940 #{$(TEMACS_SRC)}.c{$(OUTDIR)}.obj:
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
941 # echo $< >> $(OUTDIR)\listfile.tmp
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
942
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
943 {$(TEMACS_SRC)}.c{$(OUTDIR)}.obj:
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
944 $(CCV) $(TEMACS_CPP_FLAGS) $< -Fo$@ $(BROWSERFLAGS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
945
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
946 # An explicit rule looks like this ($< works only in implicit rules):
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
947 # $(OUTDIR)\foo.obj: $(TEMACS_SRC)\foo.c
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
948 # $(CCV) $(TEMACS_CPP_FLAGS) $(TEMACS_SRC)\$(@B).c -Fo$@ $(BROWSERFLAGS)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
949
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
950 $(OUTDIR)\emacs.obj: $(XEMACS)\version.sh
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
951
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
952 $(OUTDIR)\TopLevelEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
953 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TOP_LEVEL_EMACS_SHELL $(TEMACS_SRC)\$(@B).c -Fo$@ $(BROWSERFLAGS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
954
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
955 $(OUTDIR)\TransientEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
956 $(CCV) $(TEMACS_CPP_FLAGS) -DDEFINE_TRANSIENT_EMACS_SHELL $(TEMACS_SRC)\$(@B).c -Fo$@ $(BROWSERFLAGS)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
957
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
958 $(OUTDIR)\libinterface.obj: $(TEMACS_SRC)\libinterface.c
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
959 $(CCV) $(TEMACS_CPP_CDECL_FLAGS) $(TEMACS_SRC)\$(@B).c -Fo$@ $(BROWSERFLAGS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
960
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
961 #$(TEMACS_SRC)\Emacs.ad.h: $(XEMACS)\etc\Emacs.ad
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
962 # !"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
963
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
964 #$(TEMACS_SRC)\paths.h: $(TEMACS_SRC)\paths.h.in
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
965 # !"cd $(TEMACS_SRC); cp paths.h.in paths.h"
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
966
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
967 create-list-file:
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
968 @if exist $(OUTDIR)\listfile.tmp del $(OUTDIR)\listfile.tmp
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
969
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
970 compile-list-file:
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
971 cd $(OUTDIR)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
972 @if exist listfile.tmp $(CC) $(TEMACS_CPP_FLAGS) @listfile.tmp $(BROWSERFLAGS)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
973
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
974 $(TEMACS_BROWSE): $(TEMACS_OBJS)
795
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
975 @dir /b/s $(OUTDIR)\*.sbr > $(OUTDIR)\bscmake.tmp
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
976 bscmake -nologo -o$(TEMACS_BROWSE) @$(OUTDIR)\bscmake.tmp
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
977 -$(DEL) $(OUTDIR)\bscmake.tmp
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
978
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
979 # dump-id.c file that contains the dump id
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
980
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
981 $(OUTDIR)\dump-id.obj : $(SRC)\dump-id.c
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
982 cd $(OUTDIR)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
983 $(CCV) $(TEMACS_CPP_FLAGS) $(TEMACS_SRC)\$(@B).c $(BROWSERFLAGS)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
984
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
985 $(SRC)\dump-id.c : $(LIB_SRC)/make-dump-id.exe $(TEMACS_OBJS)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
986 cd $(SRC)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
987 $(LIB_SRC)\make-dump-id.exe
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
988 cd $(NT)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
989
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
990 !if $(USE_PORTABLE_DUMPER)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
991 TEMACS_DUMP_ID_OBJ = $(OUTDIR)\dump-id.obj
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
992 !else
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
993 TEMACS_DUMP_ID_OBJ =
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
994 !endif
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
995
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
996 !if $(DEBUG_XEMACS)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
997 $(TEMACS): $(TEMACS_OBJS) $(OUTDIR)\temacs.res $(TEMACS_BROWSE) $(TEMACS_DUMP_ID_OBJ)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
998 !else
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
999 $(TEMACS): $(TEMACS_OBJS) $(OUTDIR)\temacs.res $(TEMACS_DUMP_ID_OBJ)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1000 !endif
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1001 !if $(USE_PORTABLE_DUMPER)
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1002 cd $(NT)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1003 link.exe @<<
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1004 $(TEMACS_LFLAGS) -out:$@ $(TEMACS_OBJS) $(TEMACS_LIBS) $(TEMACS_DUMP_ID_OBJ)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1005 <<
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1006 !else
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1007 link.exe @<<
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1008 $(TEMACS_LFLAGS) -out:$@ $(TEMACS_OBJS) $(OUTDIR)\temacs.res $(TEMACS_LIBS)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1009 <<
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1010 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1011
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1012 $(OUTDIR)\temacs.res: $(NT)\xemacs.rc
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1013 cd $(NT)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1014 rc -Fo$@ xemacs.rc
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1015
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1016
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1017 PROGNAME=$(TEMACS_DIR)\xemacs.exe
776
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
1018 BATCH = -no-packages -batch
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
1019 BATCH_PACKAGES = -vanilla -batch
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
1020 TEMACS_BATCH = "$(LIB_SRC)\i" "$(TEMACS)" $(BATCH)
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
1021 XEMACS_BATCH = "$(LIB_SRC)\i" "$(PROGNAME)" $(BATCH)
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
1022 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
1023
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1024
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1025 # Section handling automated tests starts here
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1026
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1027 blddir=$(MAKEDIR:\=\\)\\..
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1028 temacs_loadup=
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1029 dump_temacs = $(temacs_loadup) dump
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1030 run_temacs = $(temacs_loadup) run-temacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1031 ## We have automated tests!!
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1032 testdir=../tests/automated
841
44478bd99873 [xemacs-hg @ 2002-05-14 15:15:58 by ben]
ben
parents: 839
diff changeset
1033 batch_test_emacs=$(BATCH_PACKAGES) -l $(testdir)/test-harness.el -f batch-test-emacs $(testdir)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1034
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1035 # .PHONY: check check-temacs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1036
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1037 check:
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1038 cd $(TEMACS_DIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1039 $(PROGNAME) $(batch_test_emacs)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1040
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1041 check-temacs:
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1042 cd $(TEMACS_DIR)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1043 $(TEMACS_BATCH) -l $(LISP)/loadup.el run-temacs $(batch_test_emacs)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1044
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1045 # Section handling automated tests ends here
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1046
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1047 # Section handling tags starts here
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1048
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1049 tagslisp=lisp
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1050
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1051 tags:
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1052 @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
1053 @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
1054 @echo (setq tag-table-alist
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1055 @echo '(("$(XEMACSDIRSTRING)\\" . "$(XEMACSDIRSTRING)\\")))
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1056 cd $(XEMACS)
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1057 -$(DEL) TAGS
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1058 set PATH=lib-src;%PATH%
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1059 # 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
1060 # 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
1061 # 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
1062 # 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
1063 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
1064 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
1065
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1066 # Section handling tags ends here
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1067
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1068 # Section handling info starts here
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1069
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1070 !if !defined(MAKEINFO)
776
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
1071 MAKEINFO=$(XEMACS_BATCH_PACKAGES) -l texinfmt -f batch-texinfo-format
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1072 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1073
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1074 MANDIR = $(XEMACS)\man
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1075 INFODIR = $(XEMACS)\info
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1076 INFO_FILES= \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1077 $(INFODIR)\cl.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1078 $(INFODIR)\custom.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1079 $(INFODIR)\emodules.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1080 $(INFODIR)\external-widget.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1081 $(INFODIR)\info.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1082 $(INFODIR)\standards.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1083 $(INFODIR)\term.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1084 $(INFODIR)\termcap.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1085 $(INFODIR)\texinfo.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1086 $(INFODIR)\widget.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1087 $(INFODIR)\xemacs-faq.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1088 $(INFODIR)\xemacs.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1089 $(INFODIR)\lispref.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1090 $(INFODIR)\new-users-guide.info \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1091 $(INFODIR)\internals.info
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1092
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1093 {$(MANDIR)}.texi{$(INFODIR)}.info:
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1094 cd $(MANDIR)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1095 $(MAKEINFO) $**
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1096
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1097 XEMACS_SRCS = \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1098 $(MANDIR)\xemacs\abbrevs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1099 $(MANDIR)\xemacs\basic.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1100 $(MANDIR)\xemacs\buffers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1101 $(MANDIR)\xemacs\building.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1102 $(MANDIR)\xemacs\calendar.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1103 $(MANDIR)\xemacs\cmdargs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1104 $(MANDIR)\xemacs\custom.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1105 $(MANDIR)\xemacs\display.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1106 $(MANDIR)\xemacs\entering.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1107 $(MANDIR)\xemacs\files.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1108 $(MANDIR)\xemacs\fixit.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1109 $(MANDIR)\xemacs\frame.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1110 $(MANDIR)\xemacs\glossary.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1111 $(MANDIR)\xemacs\gnu.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1112 $(MANDIR)\xemacs\help.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1113 $(MANDIR)\xemacs\indent.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1114 $(MANDIR)\xemacs\keystrokes.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1115 $(MANDIR)\xemacs\killing.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1116 $(MANDIR)\xemacs\m-x.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1117 $(MANDIR)\xemacs\major.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1118 $(MANDIR)\xemacs\mark.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1119 $(MANDIR)\xemacs\menus.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1120 $(MANDIR)\xemacs\mini.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1121 $(MANDIR)\xemacs\misc.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1122 $(MANDIR)\xemacs\mouse.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1123 $(MANDIR)\xemacs\mule.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1124 $(MANDIR)\xemacs\new.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1125 $(MANDIR)\xemacs\packages.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1126 $(MANDIR)\xemacs\picture.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1127 $(MANDIR)\xemacs\programs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1128 $(MANDIR)\xemacs\reading.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1129 $(MANDIR)\xemacs\regs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1130 $(MANDIR)\xemacs\search.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1131 $(MANDIR)\xemacs\sending.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1132 $(MANDIR)\xemacs\startup.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1133 $(MANDIR)\xemacs\text.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1134 $(MANDIR)\xemacs\trouble.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1135 $(MANDIR)\xemacs\undo.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1136 $(MANDIR)\xemacs\windows.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1137 $(MANDIR)\xemacs\xemacs.texi
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1138
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1139 LISPREF_SRCS = \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1140 $(MANDIR)\lispref\abbrevs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1141 $(MANDIR)\lispref\annotations.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1142 $(MANDIR)\lispref\back.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1143 $(MANDIR)\lispref\backups.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1144 $(MANDIR)\lispref\buffers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1145 $(MANDIR)\lispref\building.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1146 $(MANDIR)\lispref\commands.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1147 $(MANDIR)\lispref\compile.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1148 $(MANDIR)\lispref\consoles-devices.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1149 $(MANDIR)\lispref\control.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1150 $(MANDIR)\lispref\customize.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1151 $(MANDIR)\lispref\databases.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1152 $(MANDIR)\lispref\debugging.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1153 $(MANDIR)\lispref\dialog.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1154 $(MANDIR)\lispref\display.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1155 $(MANDIR)\lispref\dragndrop.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1156 $(MANDIR)\lispref\edebug-inc.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1157 $(MANDIR)\lispref\edebug.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1158 $(MANDIR)\lispref\errors.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1159 $(MANDIR)\lispref\eval.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1160 $(MANDIR)\lispref\extents.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1161 $(MANDIR)\lispref\faces.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1162 $(MANDIR)\lispref\files.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1163 $(MANDIR)\lispref\frames.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1164 $(MANDIR)\lispref\functions.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1165 $(MANDIR)\lispref\glyphs.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1166 $(MANDIR)\lispref\hash-tables.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1167 $(MANDIR)\lispref\help.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1168 $(MANDIR)\lispref\hooks.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1169 $(MANDIR)\lispref\index.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1170 $(MANDIR)\lispref\internationalization.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1171 $(MANDIR)\lispref\intro.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1172 $(MANDIR)\lispref\keymaps.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1173 $(MANDIR)\lispref\ldap.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1174 $(MANDIR)\lispref\lispref.texi \
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1175 $(MANDIR)\lispref\lists.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1176 $(MANDIR)\lispref\loading.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1177 $(MANDIR)\lispref\locals.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1178 $(MANDIR)\lispref\macros.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1179 $(MANDIR)\lispref\maps.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1180 $(MANDIR)\lispref\markers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1181 $(MANDIR)\lispref\menus.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1182 $(MANDIR)\lispref\minibuf.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1183 $(MANDIR)\lispref\modes.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1184 $(MANDIR)\lispref\mouse.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1185 $(MANDIR)\lispref\mule.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1186 $(MANDIR)\lispref\numbers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1187 $(MANDIR)\lispref\objects.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1188 $(MANDIR)\lispref\os.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1189 $(MANDIR)\lispref\positions.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1190 $(MANDIR)\lispref\processes.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1191 $(MANDIR)\lispref\range-tables.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1192 $(MANDIR)\lispref\scrollbars.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1193 $(MANDIR)\lispref\searching.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1194 $(MANDIR)\lispref\sequences.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1195 $(MANDIR)\lispref\specifiers.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1196 $(MANDIR)\lispref\streams.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1197 $(MANDIR)\lispref\strings.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1198 $(MANDIR)\lispref\symbols.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1199 $(MANDIR)\lispref\syntax.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1200 $(MANDIR)\lispref\text.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1201 $(MANDIR)\lispref\tips.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1202 $(MANDIR)\lispref\toolbar.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1203 $(MANDIR)\lispref\tooltalk.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1204 $(MANDIR)\lispref\variables.texi \
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1205 $(MANDIR)\lispref\windows.texi \
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1206 $(MANDIR)\lispref\x-windows.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1207
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1208 INTERNALS_SRCS = \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1209 $(MANDIR)\internals\internals.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1210 $(MANDIR)\internals\index.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1211
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1212 NEW_USERS_GUIDE_SRCS = \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1213 $(MANDIR)\new-users-guide\custom1.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1214 $(MANDIR)\new-users-guide\custom2.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1215 $(MANDIR)\new-users-guide\edit.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1216 $(MANDIR)\new-users-guide\enter.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1217 $(MANDIR)\new-users-guide\files.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1218 $(MANDIR)\new-users-guide\help.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1219 $(MANDIR)\new-users-guide\modes.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1220 $(MANDIR)\new-users-guide\new-users-guide.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1221 $(MANDIR)\new-users-guide\region.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1222 $(MANDIR)\new-users-guide\search.texi \
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1223 $(MANDIR)\new-users-guide\xmenu.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1224
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1225 $(INFODIR)\xemacs.info: $(XEMACS_SRCS)
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1226 cd $(MANDIR)\xemacs
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1227 $(MAKEINFO) xemacs.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1228 cd ..
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1229
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1230
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1231 $(INFODIR)\lispref.info: $(LISPREF_SRCS)
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1232 cd $(MANDIR)\lispref
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1233 $(MAKEINFO) lispref.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1234 cd ..
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1235
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1236 $(INFODIR)\internals.info: $(INTERNALS_SRCS)
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1237 cd $(MANDIR)\internals
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1238 $(MAKEINFO) internals.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1239 cd ..
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1240
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1241 $(INFODIR)\new-users-guide.info: $(NEW_USERS_GUIDE_SRCS)
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1242 cd $(MANDIR)\new-users-guide
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1243 $(MAKEINFO) new-users-guide.texi
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1244 cd ..
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1245
815
66265f190a16 [xemacs-hg @ 2002-04-14 17:40:13 by jhar]
jhar
parents: 814
diff changeset
1246 info: makeinfo-test $(INFO_FILES)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1247
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1248 makeinfo-test:
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1249 @<<makeinfo_test.bat
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1250 @echo off
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1251 if exist "$(MAKEINFO)" goto test_done
776
79940b592197 [xemacs-hg @ 2002-03-15 07:43:14 by ben]
ben
parents: 771
diff changeset
1252 @$(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
1253 @if not errorlevel 1 goto suggest_makeinfo
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1254 @echo XEmacs 'info' cannot be built!
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1255 @echo Install XEmacs package 'texinfo' (see README.packages).
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1256 :suggest_makeinfo
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1257 @echo Consider specifying path to makeinfo program: MAKEINFO=path
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1258 @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
1259 @if errorlevel 1 exit 1
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1260 :test_done
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1261 <<NOKEEP
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1262
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1263 # Section handling info ends here
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1264
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1265 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1266
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1267 # LISP bits 'n bobs
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1268
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1269 LOADPATH=$(LISP)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1270
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1271 # Rebuild docfile target
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1272
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1273 DOC=$(LIB_SRC)\DOC
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1274
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1275 docfile ::
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1276 if exist $(DOC) $(DEL) $(DOC)
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1277 docfile :: $(DOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1278
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1279 # 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
1280 # 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
1281 # 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
1282 make-docargs: $(TEMACS_OBJS)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1283 @echo Creating make-docfile argument file ...
795
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
1284 -$(DEL) $(OUTDIR)\make-docfile.tmp
68d4a70c1558 [xemacs-hg @ 2002-03-29 11:09:23 by jhar]
jhar
parents: 794
diff changeset
1285 @!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
1286 @echo Done.
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1287
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1288 $(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
1289 if exist $(DOC) $(DEL) $(DOC)
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1290 cd $(TEMACS_DIR)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1291 $(TEMACS_BATCH) -l $(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
1292 $(LIB_SRC)\make-docfile.exe -a $(DOC) @$(OUTDIR)\make-docfile.tmp
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1293
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1294 update-elc:
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1295 cd $(TEMACS_DIR)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1296 $(TEMACS_BATCH) -l $(LISP)\update-elc.el
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1297
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1298 # 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
1299 $(TEMACS_DIR)\NEEDTODUMP :
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1300 @echo >$(TEMACS_DIR)\NEEDTODUMP
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1301
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1302 # This rule dumps xemacs and then possibly spawns sub-make if PURESPACE
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1303 # requirements have changed.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1304
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1305 $(TEMACS_DIR)\SATISFIED: $(PROGNAME)
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1306
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1307 $(PROGNAME) : $(TEMACS) $(TEMACS_DIR)\NEEDTODUMP
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1308 @echo >$(TEMACS_DIR)\SATISFIED
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1309 cd $(TEMACS_DIR)
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1310 $(TEMACS_BATCH) -l $(LISP)\loadup.el dump
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1311 !if $(USE_PORTABLE_DUMPER)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1312 rc -d INCLUDE_DUMP -Fo $(OUTDIR)\xemacs.res $(NT)\xemacs.rc
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1313 # 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
1314 # 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
1315 link.exe @<<
9a775fb11bb7 [xemacs-hg @ 2001-05-18 04:39:39 by kkm]
kkm
parents: 528
diff changeset
1316 $(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
1317 <<
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1318 -$(DEL) $(TEMACS_DIR)\xemacs.dmp
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1319 !endif
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1320 cd $(NT)
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1321 @if not exist $(TEMACS_DIR)\SATISFIED $(MAKE) /$(MAKEFLAGS) -nologo -f xemacs.mak $@
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1322 #------------------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1323
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1324 # use this rule to build the complete system
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1325 all: installation $(OUTDIR)\nul $(LASTFILE) $(LWLIB) \
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1326 $(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
1327 update-elc-2 info
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1328
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
1329 temacs: $(LASTFILE) $(TEMACS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1330
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1331 # use this rule to install the system
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1332 install: all
430
a5df635868b2 Import from CVS: tag r21-2-23
cvs
parents: 428
diff changeset
1333 cd $(NT)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1334 @echo Installing in $(INSTALL_DIR) ...
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1335 @echo PlaceHolder > PlaceHolder
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1336 @$(COPY) PROBLEMS "$(INSTALL_DIR)\"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1337 @$(COPY) PlaceHolder "$(INSTALL_DIR)\lock\"
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1338 -$(DEL) "$(INSTALL_DIR)\lock\PlaceHolder"
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1339 @$(COPY) $(LIB_SRC)\*.exe "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)\"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1340 @$(COPY) $(LIB_SRC)\DOC "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1341 @$(COPY) $(CONFIG_VALUES) "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1342 @$(COPY) $(TEMACS_DIR)\xemacs.exe "$(INSTALL_DIR)\$(EMACS_CONFIGURATION)"
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1343 @$(COPYDIR) $(XEMACS)\etc "$(INSTALL_DIR)\etc\"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1344 @$(COPYDIR) $(XEMACS)\info "$(INSTALL_DIR)\info\"
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1345 @$(COPYDIR) $(XEMACS)\lisp "$(INSTALL_DIR)\lisp\"
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1346 @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
1347 @$(COPY) PlaceHolder "$(PACKAGE_PREFIX)\site-packages\"
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1348 -$(DEL) "$(PACKAGE_PREFIX)\site-packages\PlaceHolder"
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1349 @$(COPY) PlaceHolder "$(PACKAGE_PREFIX)\mule-packages\"
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1350 -$(DEL) "$(PACKAGE_PREFIX)\mule-packages\PlaceHolder"
583
391cf801cb8d [xemacs-hg @ 2001-05-27 10:50:44 by nick]
nick
parents: 580
diff changeset
1351 @$(COPY) PlaceHolder "$(PACKAGE_PREFIX)\xemacs-packages\"
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1352 -$(DEL) "$(PACKAGE_PREFIX)\xemacs-packages\PlaceHolder"
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1353 -$(DEL) PlaceHolder
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1354
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1355 mostlyclean:
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1356 -$(DEL) $(XEMACS)\Installation
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1357 -$(DEL) $(OUTDIR)\*.lib
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1358 -$(DEL) $(OUTDIR)\*.obj
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1359 -$(DEL) $(OUTDIR)\*.pdb
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1360 -$(DEL) $(OUTDIR)\*.res
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1361 -$(DEL) $(OUTDIR)\*.sbr
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1362 -$(DEL) $(TEMACS_DIR)\*.exe
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1363 -$(DEL) $(TEMACS_DIR)\*.map
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1364 -$(DEL) $(SRC)\*.bsc
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1365 -$(DEL) $(TEMACS_DIR)\*.pdb
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1366 -$(DEL) $(LIB_SRC)\*.exe
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1367 -$(DEL) $(LIB_SRC)\*.obj
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1368 -$(DEL) $(LIB_SRC)\*.pdb
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1369 -$(DEL) $(LIB_SRC)\*.res
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1370
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1371 clean: mostlyclean versionclean
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1372 -$(DEL) $(XEMACS)\TAGS
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1373
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1374 nicenclean: clean
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1375 -$(DEL) $(NT)\*.bak
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1376 -$(DEL) $(NT)\*.orig
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1377 -$(DEL) $(NT)\*.rej
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1378 -$(DEL) $(NT)\*.tmp
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1379 -$(DEL) $(LIB_SRC)\*.bak
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1380 -$(DEL) $(LIB_SRC)\*.orig
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1381 -$(DEL) $(LIB_SRC)\*.rej
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1382 -$(DEL) $(LIB_SRC)\*.tmp
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1383 -$(DEL) $(SRC)\*.bak
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1384 -$(DEL) $(SRC)\*.orig
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1385 -$(DEL) $(SRC)\*.rej
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1386 -$(DEL) $(SRC)\*.tmp
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1387 -$(DEL) $(LISP)\*.bak
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1388 -$(DEL) $(LISP)\*.orig
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1389 -$(DEL) $(LISP)\*.rej
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1390 -$(DEL) $(LISP)\*.tmp
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1391
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1392 # Convenience target.
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1393 # 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
1394 # 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
1395 # want to use distclean.
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1396 configclean:
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1397 -$(DEL) $(SRC)\config.h
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1398 -$(DEL) $(SRC)\paths.h
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1399 -$(DEL) $(SRC)\Emacs.ad.h
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1400
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1401 ## This is used in making a distribution.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1402 ## Do not use it on development directories!
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1403 distclean: nicenclean configclean
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1404 -$(DEL) $(LIB_SRC)\$(CONFIG_VALUES)
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1405 -$(DEL) $(INFODIR)\*.info*
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1406 -$(DEL) $(LISP)\*.elc
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1407 -$(DEL) $(LISP)\mule\*.elc
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1408 -$(DEL) $(LISP)\term\*.elc
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1409
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1410 realclean: distclean
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1411
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1412 versionclean:
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1413 -$(DEL) $(TEMACS_DIR)\xemacs.exe
637
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1414 -$(DEL) $(LIB_SRC)\DOC
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1415
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1416 #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
1417 #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
1418 #whatever. So just leave it at "realclean"
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1419 extraclean: realclean
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1420 # -$(DEL) *~
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1421 # -$(DEL) *.*~
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1422 # -$(DEL) #*
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1423 # -$(DEL) m\*~
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1424 # -$(DEL) m\#*
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1425 # -$(DEL) s\*~
2538b7200a20 [xemacs-hg @ 2001-07-26 06:21:45 by stephent]
stephent
parents: 632
diff changeset
1426 # -$(DEL) s\#*
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1427
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1428 depend:
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1429 cd $(SRC)
432
3a7e78e1142d Import from CVS: tag r21-2-24
cvs
parents: 430
diff changeset
1430 perl ./make-src-depend > depend.tmp
3a7e78e1142d Import from CVS: tag r21-2-24
cvs
parents: 430
diff changeset
1431 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
1432
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1433 unicode-encapsulate:
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1434 cd $(SRC)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1435 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
1436
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1437 $(XEMACS)\Installation:: installation
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1438
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1439 installation::
558
ed498ef2108b [xemacs-hg @ 2001-05-23 09:59:33 by ben]
ben
parents: 551
diff changeset
1440 @echo OS version:>$(XEMACS)\Installation
ed498ef2108b [xemacs-hg @ 2001-05-23 09:59:33 by ben]
ben
parents: 551
diff changeset
1441 @ver >> $(XEMACS)\Installation
ed498ef2108b [xemacs-hg @ 2001-05-23 09:59:33 by ben]
ben
parents: 551
diff changeset
1442 @type >> $(XEMACS)\Installation <<
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1443 !if defined(OS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1444 OS: $(OS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1445 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1446
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1447 XEmacs $(XEMACS_VERSION_STRING) $(xemacs_codename:"=\") configured for `$(EMACS_CONFIGURATION)'.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1448
872
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1449 Building XEmacs using \"$(MAKE:\=\\)\".
79c6ff3eef26 [xemacs-hg @ 2002-06-20 21:18:01 by ben]
ben
parents: 853
diff changeset
1450 Building XEmacs using make flags \"$(MAKEFLAGS)\".
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1451 Building XEmacs in \"$(MAKEDIR:\=\\)\".
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1452 !if defined(CCV)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1453 Using compiler \"$(CC) $(CFLAGS)\".
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1454 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1455 Installing XEmacs in \"$(INSTALL_DIR:\=\\)\".
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1456 Package path is $(PATH_PACKAGEPATH:"=\").
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1457 !if $(INFODOCK)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1458 Building InfoDock.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1459 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1460 !if $(HAVE_MS_WINDOWS)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1461 Compiling in support for Microsoft Windows native GUI.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1462 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1463 !if $(HAVE_X_WINDOWS)
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1464 Compiling in support for X Windows.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1465 !endif
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1466 !if $(MULE)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1467 Compiling in international (MULE) support.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1468 !endif
488
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1469 !if $(HAVE_GTK)
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1470 --------------------------------------------------------------------
523
cd662ad69f40 [xemacs-hg @ 2001-05-09 13:43:49 by ben]
ben
parents: 496
diff changeset
1471 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
1472 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
1473 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
1474 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
1475 --------------------------------------------------------------------
1e7b510d04f6 [xemacs-hg @ 2001-04-28 21:04:49 by adrian]
adrian
parents: 462
diff changeset
1476 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1477 !if $(HAVE_XPM)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1478 Compiling in support for XPM images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1479 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1480 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1481 WARNING: Compiling without XPM support.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1482 WARNING: You should strongly consider installing XPM.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1483 WARNING: Otherwise toolbars and other graphics will look suboptimal.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1484 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
1485 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1486 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1487 !if $(HAVE_GIF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1488 Compiling in support for GIF images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1489 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1490 !if $(HAVE_PNG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1491 Compiling in support for PNG images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1492 !else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1493 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1494 WARNING: Compiling without PNG image support.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1495 WARNING: You should strongly consider installing the PNG libraries.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1496 WARNING: Otherwise certain images and glyphs may not display.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1497 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
1498 --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1499 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1500 !if $(HAVE_TIFF)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1501 Compiling in support for TIFF images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1502 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1503 !if $(HAVE_JPEG)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1504 Compiling in support for JPEG images.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1505 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1506 !if $(HAVE_XFACE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1507 Compiling in support for X-Face message headers.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1508 !endif
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1509 !if $(HAVE_ZLIB)
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1510 Compiling in support for GZIP compression/decompression.
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 669
diff changeset
1511 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1512 !if $(HAVE_TOOLBARS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1513 Compiling in support for toolbars.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1514 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1515 !if $(HAVE_DIALOGS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1516 Compiling in support for dialogs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1517 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1518 !if $(HAVE_WIDGETS)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1519 Compiling in support for widgets.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1520 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1521 !if $(HAVE_NATIVE_SOUND)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1522 Compiling in support for native sounds.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1523 !endif
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1524 !if $(USE_UNION_TYPE)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1525 Using union type for Lisp object storage.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1526 !endif
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
1527 !if $(USE_PORTABLE_DUMPER)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
1528 Using portable dumper.
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 432
diff changeset
1529 !endif
440
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1530 !if $(USE_SYSTEM_MALLOC)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1531 Using system malloc.
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1532 !endif
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1533 !if $(USE_CRTDLL)
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1534 Using DLL version of C runtime library
8de8e3f6228a Import from CVS: tag r21-2-28
cvs
parents: 438
diff changeset
1535 !endif
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1536 !if $(ERROR_CHECK_ALL)
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1537 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
1538 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1539 !if $(DEBUG_XEMACS)
814
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1540 Compiling in debugging support (no slowdown).
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1541 !endif
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1542 !if $(OPTIMIZED_BUILD)
a634e3b7acc8 [xemacs-hg @ 2002-04-14 12:41:59 by ben]
ben
parents: 812
diff changeset
1543 Compiling with optimization.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1544 !endif
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1545 !if $(QUICK_BUILD)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1546 Disabling non-essential build actions. Use with care!
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1547 !endif
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1548 <<NOKEEP
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1549 @echo --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1550 @type $(XEMACS)\Installation
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1551 @echo --------------------------------------------------------------------
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1552
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1553 # Update out-of-date .elcs, other than needed for dumping.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1554 update-elc-2:
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 440
diff changeset
1555 $(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
1556
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1557 # DO NOT DELETE THIS LINE -- make depend depends on it.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1558