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