Mercurial > emacs
annotate nt/nmake.defs @ 53248:c1a1b254c17b
*** empty log message ***
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Tue, 23 Dec 2003 20:30:10 +0000 |
parents | 93ce5f375b46 |
children | db94fc6b4b22 375f2633d815 |
rev | line source |
---|---|
37382
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
1 # |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
2 # Makefile definition file for building GNU Emacs on the Microsoft W32 API. |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
3 # Copyright (c) 2000-2001 Free Software Foundation, Inc. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48375
diff
changeset
|
4 # |
37382
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
5 # GNU Emacs is free software; you can redistribute it and/or modify |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
6 # it under the terms of the GNU General Public License as published by |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
7 # the Free Software Foundation; either version 2, or (at your option) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
8 # any later version. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48375
diff
changeset
|
9 # |
37382
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
10 # GNU Emacs is distributed in the hope that it will be useful, |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
13 # GNU General Public License for more details. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48375
diff
changeset
|
14 # |
37382
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
15 # You should have received a copy of the GNU General Public License |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
16 # along with GNU Emacs; see the file COPYING. If not, write to |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
17 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
18 # Boston, MA 02111-1307, USA. |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
19 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
20 # Ensure 'all' is the default target |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
21 all: |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
22 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
23 THE_SHELL = $(COMSPEC) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
24 SHELLTYPE=CMD |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
25 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
26 MAKETYPE=nmake |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
27 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
28 CURDIR = $(MAKEDIR:\=/) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
29 THISDIR = $(MAKEDIR) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
30 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
31 ALL_DEPS = $** |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
32 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
33 SUBSYSTEM_WINDOWS=-subsystem:windows |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
34 SUBSYSTEM_CONSOLE=-subsystem:console |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
35 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
36 # 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
|
37 # |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
38 !ifndef INSTALL_DIR |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
39 INSTALL_DIR = $(CURDIR)/.. |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
40 !endif |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
41 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
42 # Ensure EMACSLOADPATH is defined in the environment. |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
43 # |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
44 !if [set EMACSLOADPATH=foo] |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
45 !endif |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
46 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
47 # 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
|
48 # speed up compiles (see rule at end). |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
49 # |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
50 _NMAKE_VER_5=162 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
51 _NMAKE_VER_4=0 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
52 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
53 !IFNDEF _NMAKE_VER |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
54 _NMAKE_VER=$(_NMAKE_VER_4) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
55 !ENDIF |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
56 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
57 # 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
|
58 # |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
59 !ifndef INCLUDE |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
60 !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
|
61 !endif |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
62 !ifndef LIB |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
63 !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
|
64 !endif |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
65 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
66 # Determine the architecture we're running on. |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48375
diff
changeset
|
67 # Define ARCH for our purposes; |
37382
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
68 # Define CPU for use by ntwin32.mak; |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
69 # 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
|
70 # |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
71 !ifdef PROCESSOR_ARCHITECTURE |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
72 # We're on Windows NT |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
73 CPU = $(PROCESSOR_ARCHITECTURE) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
74 CONFIG_H = config.nt |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
75 OS_TYPE = windowsnt |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
76 ! if "$(PROCESSOR_ARCHITECTURE)" == "x86" |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
77 ARCH = i386 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
78 CPU = i386 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
79 ! else |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
80 ! if "$(PROCESSOR_ARCHITECTURE)" == "MIPS" |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
81 ARCH = mips |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
82 ! else |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
83 ! if "$(PROCESSOR_ARCHITECTURE)" == "ALPHA" |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
84 ARCH = alpha |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
85 ! else |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
86 ! if "$(PROCESSOR_ARCHITECTURE)" == "PPC" |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
87 ARCH = ppc |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
88 ! else |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
89 ! error Unknown architecture type "$(PROCESSOR_ARCHITECTURE)" |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
90 ! endif |
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 !else |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
95 # We're on Windows 95 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
96 ARCH = i386 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
97 CPU = i386 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
98 CONFIG_H = config.nt |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
99 OS_TYPE = windows95 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
100 !endif |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
101 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
102 AR = lib |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
103 AR_OUT = -out: |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
104 CC = cl |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
105 CC_OUT = -Fo |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
106 LINK = link |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
107 LINK_OUT = -out: |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
108 RC = rc |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
109 RC_OUT = -Fo |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
110 RC_INCLUDE = -i |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
111 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
112 libc = libc.lib |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48375
diff
changeset
|
113 baselibs = |
37382
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
114 O = obj |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
115 A = lib |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
116 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
117 BASE_LIBS = $(libc) $(baselibs) oldnames.lib |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
118 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
119 ADVAPI32 = advapi32.lib |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
120 COMDLG32 = comdlg32.lib |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
121 GDI32 = gdi32.lib |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
122 MPR = mpr.lib |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
123 SHELL32 = shell32.lib |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
124 USER32 = user32.lib |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
125 WSOCK32 = wsock32.lib |
48375
4d7b83cc03aa
Added a partial implementation of play-sound-internal for Windows. Fixed the following entry in etc/PROBLEMS: Emacs built on Windows 9x/ME crashes at startup on Windows XP, or Emacs built on XP crashes at startup on Windows 9x/ME.
Ben Key <bkey1@tampabay.rr.com>
parents:
42529
diff
changeset
|
126 WINMM = winmm.lib |
37382
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
127 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
128 !ifdef NOOPT |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
129 DEBUG_CFLAGS = -DEMACSDEBUG |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
130 !else |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48375
diff
changeset
|
131 DEBUG_CFLAGS = |
37382
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
132 !endif |
42529
a717ef452897
(CFLAGS): Define _WIN32_WINNT as 0x0400, in order to
Andrew Innes <andrewi@gnu.org>
parents:
41179
diff
changeset
|
133 CFLAGS = -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 $(ARCH_CFLAGS) -D$(ARCH) \ |
37382
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
134 -D_CRTAPI1=_cdecl $(DEBUG_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
135 EMACS_EXTRA_C_FLAGS = |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
136 |
41179
05144f7eaa49
(SYS_LDFLAGS): Add setargv.obj for wildcard
Jason Rumney <jasonr@gnu.org>
parents:
37382
diff
changeset
|
137 SYS_LDFLAGS = -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
|
138 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
139 # 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
|
140 # -stack, -heap, or -base settings. |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
141 TEMACS_EXTRA_LINK = -stack:0x00800000 -heap:0x00100000 -base:0x01000000 -debug:full -debugtype:both -pdb:$(BLD)\temacs.pdb -machine:$(ARCH) $(SUBSYSTEM_CONSOLE) -entry:_start -map:$(BLD)\temacs.map $(EXTRA_LINK) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
142 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
143 !ifdef NOOPT |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
144 OBJDIR = obj |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
145 !else |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
146 OBJDIR = obj-spd |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
147 !endif |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
148 $(OBJDIR):; -mkdir $(OBJDIR) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
149 BLD = $(OBJDIR)/$(ARCH) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
150 $(BLD): $(OBJDIR) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
151 -mkdir "$(BLD)" |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
152 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
153 COMPILER_TEMP_FILES = *.pdb |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
154 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
155 CP = cp -f |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
156 CP_DIR = cp -rf |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
157 IFNOTSAMEDIR = if not exist ..\same-dir.tst |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
158 ENDIF = |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
159 FOREACH = for %%f in ( |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
160 FORVAR = %%f |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
161 FORDO = ) do |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
162 ENDFOR = |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
163 ARGQUOTE = " |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
164 DQUOTE = \" |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
165 DEL = rm |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
166 DEL_TREE = rm -r |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
167 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
168 !ifdef NODEBUG |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48375
diff
changeset
|
169 DEBUG_FLAG = |
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
48375
diff
changeset
|
170 DEBUG_LINK = |
37382
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
171 !else |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
172 DEBUG_FLAG = -Zi |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
173 DEBUG_LINK = -debug:full -debugtype:both |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
174 !endif |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
175 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
176 !if "$(ARCH)" == "i386" |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
177 !ifdef NOOPT |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
178 ARCH_CFLAGS = -nologo -D_X86_=1 -c -Zel -W2 -H63 -Od -G3d -Zp8 $(DEBUG_FLAG) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
179 !else |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
180 ARCH_CFLAGS = -nologo -D_X86_=1 -c -Zel -W2 -H63 -Oxsb2 -Oy- -G6dF -Zp8 $(DEBUG_FLAG) |
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 ARCH_LDFLAGS = $(SYS_LDFLAGS) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
183 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
184 !else |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
185 !if "$(ARCH)" == "mips" |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
186 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
|
187 ARCH_LDFLAGS = $(SYS_LDFLAGS) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
188 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
189 !else |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
190 !if "$(ARCH)" == "alpha" |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
191 !if "$(BUILD_TYPE)" == "spd" |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
192 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
|
193 !else |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
194 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
|
195 !endif |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
196 ARCH_LDFLAGS = $(SYS_LDFLAGS) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
197 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
198 !else |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
199 !if "$(ARCH)" == "ppc" |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
200 # 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
|
201 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
|
202 ARCH_LDFLAGS = $(SYS_LDFLAGS) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
203 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
204 !else |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
205 !ERROR Unknown architecture type "$(ARCH)". |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
206 !endif |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
207 !endif |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
208 !endif |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
209 !endif |
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 LINK_FLAGS = $(ARCH_LDFLAGS) $(DEBUG_LINK) $(USER_LDFLAGS) |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
212 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
213 # 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
|
214 # 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
|
215 # in order to use the MSVC profiler. |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
216 !IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)") |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
217 EXTRA_LINK = |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
218 !ELSE |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
219 EXTRA_LINK = -profile |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
220 !ENDIF |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
221 |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
222 # |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
223 # 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
|
224 # one time, use this feature. |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
225 # |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
226 !IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)") |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
227 .c{$(BLD)}.obj: |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
228 $(CC) $(CFLAGS) -Fo$(BLD)\ $< |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
229 !ELSE |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
230 .c{$(BLD)}.obj:: |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
231 $(CC) $(CFLAGS) -Fo$(BLD)\ $< |
3e0214f03d95
(EMACSLOADPATH): Ensure EMACSLOADPATH is defined in
Andrew Innes <andrewi@gnu.org>
parents:
36859
diff
changeset
|
232 !ENDIF |
52414
93ce5f375b46
Fix some DOS line-ending inconsistencies introduced with arch-tag:
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
233 |
93ce5f375b46
Fix some DOS line-ending inconsistencies introduced with arch-tag:
Miles Bader <miles@gnu.org>
parents:
52401
diff
changeset
|
234 # arch-tag: fefa49b0-c23c-46c7-9094-cab2a405058e |