annotate nt/makefile.def @ 11551:032725b727cd

(mail-position-on-field): Use $, not \n, in regexp.
author Richard M. Stallman <rms@gnu.org>
date Tue, 25 Apr 1995 03:35:00 +0000
parents 306b976d73bf
children 703c7eabbe1c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11401
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
1 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2 # Makefile definition file for building GNU Emacs on Windows NT
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
3 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
4 # GNU Emacs is free software; you can redistribute it and/or modify
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
5 # it under the terms of the GNU General Public License as published by
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
6 # the Free Software Foundation; either version 2, or (at your option)
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
7 # any later version.
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
8 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
9 # GNU Emacs is distributed in the hope that it will be useful,
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
12 # GNU General Public License for more details.
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
13 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
14 # You should have received a copy of the GNU General Public License
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
15 # along with GNU Emacs; see the file COPYING. If not, write to
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
16 # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
17 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
18 # Geoff Voelker (voelker@cs.washington.edu) 9-6-94
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
19
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
20 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
21 # BEGIN CONFIGURATION
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
22 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
23
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
24 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
25 # Set ARCH to the architecture on which you're building (i386, mips, alpha).
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
26 # Set SYS_INC_DIR and SYS_LIB_DIR to your system include and library dirs.
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
27 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
28
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
29 ARCH = mips
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
30 SYS_INC_DIR = C:\mstools\h
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
31 SYS_LIB_DIR = C:\mstools\lib
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
32
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
33 # Set this to be the directory into which you want emacs installed
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
34 INSTALL_DIR = C:\emacs
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
35
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
36 # May need to be cl386.exe when using the SDK on an x86.
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
37 CC = cl.exe
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
38
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
39 # May need to be lib32.exe on NT 3.1, lib.exe on NT 3.5
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
40 AR = lib32.exe
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
41
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
42 MAKE = nmake.exe
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
43 LINK = link32.exe
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
44
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
45 # If you are using VC 2.0, define COMPAT_LIB (only tested on i386)
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
46 #COMPAT_LIB = $(SYS_LIB_DIR)\oldnames.lib
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
47
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
48 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
49 # END CONFIGURATION
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
50 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
51 # You shouldn't have to change any of the below to get emacs to build and
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
52 # install on your system. If you did have to make changes, let me know.
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
53 #
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
54
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
55 INC = -I. -I$(SYS_INC_DIR) -I$(SYS_INC_DIR)\crt
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
56 CFLAGS = -nologo $(INC) $(ARCH_CFLAGS) $(LOCAL_FLAGS) -DWIN32_LEAN_AND_MEAN -D$(ARCH)
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
57
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
58 OBJDIR = obj
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
59 $(OBJDIR):; -mkdir $(OBJDIR)
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
60 BLD = $(OBJDIR)\$(ARCH)
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
61 $(BLD): $(OBJDIR)
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
62 -mkdir $(BLD)
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
63
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
64 CP = copy
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
65 CP_DIR = xcopy /fried
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
66
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
67 # This is completely braindamaged, but it's the only routine known to be there
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
68 DEL_TREE = echo y | rmdir /s
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
69
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
70 !IF "$(ARCH)" == "i386"
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
71 ARCH_CFLAGS = -nologo -D_X86_=1 -c -Zel -W2 -H63 -G3d -Zi -Od
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
72 ARCH_LDFLAGS = -align:0x1000
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
73
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
74 !ELSE
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
75 !IF "$(ARCH)" == "mips"
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
76 CC = mcl.exe
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
77 ARCH_CFLAGS = -D_MIPS_=1 -c -W2 -Zi -Od -Gt0 -D__stdcall= -D__cdecl=
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
78 ARCH_LDFLAGS = -align:0x1000
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
79
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
80 !ELSE
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
81 !IF "$(ARCH)" == "alpha"
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
82 CC = claxp.exe
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
83 ARCH_CFLAGS = -D_ALPHA_=1 -c -Ze -Zi -W2 -D__stdcall= -D__cdecl=
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
84 ARCH_LDFLAGS = -align:0x2000
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
85
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
86 !ELSE
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
87 !ERROR Unknown architecture type.
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
88 !ENDIF
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
89 !ENDIF
306b976d73bf Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
90 !ENDIF