annotate nt/nmake.defs @ 99468:1e145446bad0

*** empty log message ***
author Eli Zaretskii <eliz@gnu.org>
date Sat, 08 Nov 2008 19:07:31 +0000
parents ecd6143014da
children aeceb2460b39
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
55092
9077e3f7cd49 Add "-*- makefile -*-" mode tag.
Juanma Barranquero <lekktu@gmail.com>
parents: 53738
diff changeset
1 # -*- Makefile -*- definition file for building GNU Emacs on Windows NT.
94795
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
3 # 2008 Free Software Foundation, Inc.
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
4
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
5 # This file is part of GNU Emacs.
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
6
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
7 # GNU Emacs is free software: you can redistribute it and/or modify
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
8 # it under the terms of the GNU General Public License as published by
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
9 # the Free Software Foundation, either version 3 of the License, or
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
10 # (at your option) any later version.
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
11
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
12 # GNU Emacs is distributed in the hope that it will be useful,
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
15 # GNU General Public License for more details.
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
16
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
17 # You should have received a copy of the GNU General Public License
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
18 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
188974bfdea0 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 93592
diff changeset
19
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
20
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
21 # Ensure 'all' is the default target
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
22 all:
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
23
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
24 THE_SHELL = $(COMSPEC)
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
25 SHELLTYPE=CMD
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
26
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
27 MAKETYPE=nmake
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
28
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
29 CURDIR = $(MAKEDIR:\=/)
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
30 THISDIR = $(MAKEDIR)
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
31
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
32 ALL_DEPS = $**
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
33
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
34 SUBSYSTEM_WINDOWS=-subsystem:windows
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
35 SUBSYSTEM_CONSOLE=-subsystem:console
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
36
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
37 # INSTALL_DIR is the directory into which emacs will be installed.
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
38 #
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
39 !ifndef INSTALL_DIR
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
40 INSTALL_DIR = $(CURDIR)/..
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
41 !endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
42
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
43 # Ensure EMACSLOADPATH is defined in the environment.
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
44 #
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
45 !if [set EMACSLOADPATH=foo]
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
46 !endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
47
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
48 # Allow detection of builds with MSVC 5 or later, so we can
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
49 # speed up compiles (see rule at end).
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
50 #
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
51 _NMAKE_VER_5=162
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
52 _NMAKE_VER_4=0
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
53
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
54 !IFNDEF _NMAKE_VER
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
55 _NMAKE_VER=$(_NMAKE_VER_4)
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
56 !ENDIF
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
57
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
58 # Check that the INCLUDE and LIB environment variables are set.
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
59 #
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
60 !ifndef INCLUDE
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
61 !error The INCLUDE environment variable needs to be set.
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
62 !endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
63 !ifndef LIB
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
64 !error The LIB environment variable needs to be set.
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
65 !endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
66
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
67 # Determine the architecture we're running on.
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 48375
diff changeset
68 # Define ARCH for our purposes;
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
69 # Define CPU for use by ntwin32.mak;
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
70 # Define CONFIG_H to the appropriate config.h for the system;
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
71 #
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
72 !ifdef PROCESSOR_ARCHITECTURE
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
73 # We're on Windows NT
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
74 CPU = $(PROCESSOR_ARCHITECTURE)
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
75 CONFIG_H = config.nt
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
76 OS_TYPE = windowsnt
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
77 ! if "$(PROCESSOR_ARCHITECTURE)" == "x86"
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
78 ARCH = i386
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
79 CPU = i386
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
80 ! else
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
81 ! if "$(PROCESSOR_ARCHITECTURE)" == "MIPS"
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
82 ARCH = mips
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
83 ! else
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
84 ! if "$(PROCESSOR_ARCHITECTURE)" == "ALPHA"
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
85 ARCH = alpha
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
86 ! else
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
87 ! if "$(PROCESSOR_ARCHITECTURE)" == "PPC"
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
88 ARCH = ppc
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
89 ! else
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
90 ! error Unknown architecture type "$(PROCESSOR_ARCHITECTURE)"
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
91 ! endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
92 ! endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
93 ! endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
94 ! endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
95 !else
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
96 # We're on Windows 95
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
97 ARCH = i386
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
98 CPU = i386
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
99 CONFIG_H = config.nt
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
100 OS_TYPE = windows95
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
101 !endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
102
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
103 AR = lib
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
104 AR_OUT = -out:
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
105 CC = cl
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
106 CC_OUT = -Fo
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
107 LINK = link
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
108 LINK_OUT = -out:
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
109 RC = rc
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
110 RC_OUT = -Fo
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
111 RC_INCLUDE = -i
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
112
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
113 libc = libc.lib
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 48375
diff changeset
114 baselibs =
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
115 O = obj
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
116 A = lib
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
117
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
118 BASE_LIBS = $(libc) $(baselibs) oldnames.lib
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
119
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
120 ADVAPI32 = advapi32.lib
78900
3cfbdc2ce032 (COMCTL32): New system library.
Jason Rumney <jasonr@gnu.org>
parents: 78246
diff changeset
121 COMCTL32 = comctl32.lib
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
122 COMDLG32 = comdlg32.lib
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
123 GDI32 = gdi32.lib
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
124 MPR = mpr.lib
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
125 SHELL32 = shell32.lib
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
126 USER32 = user32.lib
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
127 WSOCK32 = wsock32.lib
78103
2243cbff72b1 (OLE32): New library to link.
Jason Rumney <jasonr@gnu.org>
parents: 75348
diff changeset
128 WINMM = winmm.lib
53738
db94fc6b4b22 gmake.defs, nmake.defs: Add linking to ``winspool.lib''.
Jason Rumney <jasonr@gnu.org>
parents: 52414
diff changeset
129 WINSPOOL = winspool.lib
78103
2243cbff72b1 (OLE32): New library to link.
Jason Rumney <jasonr@gnu.org>
parents: 75348
diff changeset
130 OLE32 = ole32.lib
93592
c2d06ecd99ba (UNISCRIBE): New variable.
Jason Rumney <jasonr@gnu.org>
parents: 92476
diff changeset
131 UNISCRIBE = usp10.lib
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
132
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
133 !ifdef NOOPT
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
134 DEBUG_CFLAGS = -DEMACSDEBUG
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
135 !else
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 48375
diff changeset
136 DEBUG_CFLAGS =
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
137 !endif
96348
ecd6143014da Remove unneeded -Defines in the compiler command line (MinGW and MSVC).
Juanma Barranquero <lekktu@gmail.com>
parents: 94795
diff changeset
138 CFLAGS = -I. $(ARCH_CFLAGS) \
92476
61be4b6febb2 (FONT_CFLAGS): New optional compiler flag.
Jason Rumney <jasonr@gnu.org>
parents: 79730
diff changeset
139 $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS)
96348
ecd6143014da Remove unneeded -Defines in the compiler command line (MinGW and MSVC).
Juanma Barranquero <lekktu@gmail.com>
parents: 94795
diff changeset
140 EMACS_EXTRA_C_FLAGS =
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
141
55339
1bfdadb27615 Remove files related to old msvc only windows build.
Jason Rumney <jasonr@gnu.org>
parents: 55092
diff changeset
142 SYS_LDFLAGS = -nologo -release -incremental:no -version:3.10 -swaprun:cd -swaprun:net setargv.obj
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
143
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
144 # see comments in allocate_heap in w32heap.c before changing any of the
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
145 # -stack, -heap, or -base settings.
74959
fd8d04432f19 (TEMACS_EXTRA_LINK): Remove duplicated flags from DEBUG_LINK.
Jason Rumney <jasonr@gnu.org>
parents: 74799
diff changeset
146 TEMACS_EXTRA_LINK = -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) $(SUBSYSTEM_CONSOLE) -entry:_start -map:$(BLD)\temacs.map $(EXTRA_LINK)
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
147
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
148 !ifdef NOOPT
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
149 OBJDIR = obj
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
150 !else
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
151 OBJDIR = obj-spd
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
152 !endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
153 $(OBJDIR):; -mkdir $(OBJDIR)
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
154 BLD = $(OBJDIR)/$(ARCH)
74799
e858b15de8f3 (stamp_BLD): Rename from $(BLD). Create a file stamp_BLD after creating
Eli Zaretskii <eliz@gnu.org>
parents: 68648
diff changeset
155 stamp_BLD: $(OBJDIR)
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
156 -mkdir "$(BLD)"
74799
e858b15de8f3 (stamp_BLD): Rename from $(BLD). Create a file stamp_BLD after creating
Eli Zaretskii <eliz@gnu.org>
parents: 68648
diff changeset
157 echo $(BLD) > $@
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
158
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
159 COMPILER_TEMP_FILES = *.pdb
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
160
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
161 CP = cp -f
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
162 CP_DIR = cp -rf
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
163 IFNOTSAMEDIR = if not exist ..\same-dir.tst
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
164 ENDIF =
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
165 FOREACH = for %%f in (
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
166 FORVAR = %%f
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
167 FORDO = ) do
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
168 ENDFOR =
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
169 ARGQUOTE = "
55932
68f52ab81acb Add quote in comment to resync font-locking.
Juanma Barranquero <lekktu@gmail.com>
parents: 55339
diff changeset
170 # "
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
171 DQUOTE = \"
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
172 DEL = rm
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
173 DEL_TREE = rm -r
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
174
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
175 !ifdef NODEBUG
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 48375
diff changeset
176 DEBUG_FLAG =
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 48375
diff changeset
177 DEBUG_LINK =
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
178 !else
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
179 DEBUG_FLAG = -Zi
74959
fd8d04432f19 (TEMACS_EXTRA_LINK): Remove duplicated flags from DEBUG_LINK.
Jason Rumney <jasonr@gnu.org>
parents: 74799
diff changeset
180 DEBUG_LINK = -debug:full
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
181 !endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
182
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
183 !if "$(ARCH)" == "i386"
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
184 !ifdef NOOPT
96348
ecd6143014da Remove unneeded -Defines in the compiler command line (MinGW and MSVC).
Juanma Barranquero <lekktu@gmail.com>
parents: 94795
diff changeset
185 ARCH_CFLAGS = -nologo -c -Zel -W2 -H63 -Od -G3d -Zp8 $(DEBUG_FLAG)
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
186 !else
96348
ecd6143014da Remove unneeded -Defines in the compiler command line (MinGW and MSVC).
Juanma Barranquero <lekktu@gmail.com>
parents: 94795
diff changeset
187 ARCH_CFLAGS = -nologo -c -Zel -W2 -H63 -Oxsb2 -Oy- -G6dF -Zp8 $(DEBUG_FLAG)
37382
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
188 !endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
189 ARCH_LDFLAGS = $(SYS_LDFLAGS)
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
190
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
191 !else
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
192 !if "$(ARCH)" == "mips"
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
193 ARCH_CFLAGS = -D_MIPS_=1 -c -W2 -Zi -Od -Gt0
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
194 ARCH_LDFLAGS = $(SYS_LDFLAGS)
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
195
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
196 !else
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
197 !if "$(ARCH)" == "alpha"
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
198 !if "$(BUILD_TYPE)" == "spd"
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
199 ARCH_CFLAGS = -D_ALPHA_=1 -c -Ze -Zi -W2 -Od -D__stdcall= -D__cdecl=
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
200 !else
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
201 ARCH_CFLAGS = -D_ALPHA_=1 -c -Ze -Zi -W2 -O1 -D__stdcall= -D__cdecl=
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
202 !endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
203 ARCH_LDFLAGS = $(SYS_LDFLAGS)
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
204
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
205 !else
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
206 !if "$(ARCH)" == "ppc"
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
207 # These flags are a guess...if they don't work, please send me mail.
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
208 ARCH_CFLAGS = -D_PPC_=1 -c -Ze -Zi -W2 -Od
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
209 ARCH_LDFLAGS = $(SYS_LDFLAGS)
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
210
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
211 !else
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
212 !ERROR Unknown architecture type "$(ARCH)".
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
213 !endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
214 !endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
215 !endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
216 !endif
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
217
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
218 LINK_FLAGS = $(ARCH_LDFLAGS) $(DEBUG_LINK) $(USER_LDFLAGS)
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
219
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
220 # From MSVC 5.0 onwards, it seem base relocation information is not included,
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
221 # at least in release builds. We need to ensure the reloc info is included
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
222 # in order to use the MSVC profiler.
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
223 !IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)")
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
224 EXTRA_LINK =
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
225 !ELSE
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
226 EXTRA_LINK = -profile
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
227 !ENDIF
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
228
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
229 #
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
230 # If the compiler supports compiling multiple .c files to .o files at
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
231 # one time, use this feature.
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
232 #
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
233 !IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)")
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
234 .c{$(BLD)}.obj:
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
235 $(CC) $(CFLAGS) -Fo$(BLD)\ $<
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
236 !ELSE
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
237 .c{$(BLD)}.obj::
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
238 $(CC) $(CFLAGS) -Fo$(BLD)\ $<
3e0214f03d95 (EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents: 36859
diff changeset
239 !ENDIF
52414
93ce5f375b46 Fix some DOS line-ending inconsistencies introduced with arch-tag:
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
240
93ce5f375b46 Fix some DOS line-ending inconsistencies introduced with arch-tag:
Miles Bader <miles@gnu.org>
parents: 52401
diff changeset
241 # arch-tag: fefa49b0-c23c-46c7-9094-cab2a405058e