annotate nt/xemacs.mak @ 227:0e522484dd2a r20-5b12

Import from CVS: tag r20-5b12
author cvs
date Mon, 13 Aug 2007 10:12:37 +0200
parents 12579d965149
children 557eaa0339bf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
1 XEMACS=..
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
2 LISP=$(XEMACS)\lisp
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
3 PACKAGE_PATH="~/.xemacs;f:/src/xemacs/packages"
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
4 HAVE_X=0
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
5 HAVE_MSW=1
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
6
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
7 HAVE_MULE=0
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
8 HAVE_IMAGEMAGICK=0
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
9
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
10 DEBUG_XEMACS=1
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
11
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
12 !if $(DEBUG_XEMACS)
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
13 OPT=-Od -Zi
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
14 !else
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
15 OPT=-O2 -G5 -Zi
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
16 !endif
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
17
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
18 #------------------------------------------------------------------------------
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
19
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
20 !if $(HAVE_X)
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
21
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
22 X11R6=h:\utils\X11R6
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
23
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
24 !if $(HAVE_IMAGEMAGICK)
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
25 MAGICK=e:\utils\ImageMagick
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
26
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
27 MAGICK_INCLUDES=-I$(MAGICK)\Magick
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
28 MAGICK_LIBS=Magick.dll.lib
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
29 !endif
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
30
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
31 X_DEFINES=-DHAVE_X_WINDOWS
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
32 X_INCLUDES=-I$(X11R6)\include $(MAGICK_INCLUDES)
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
33 X_LIBS=$(MAGICK_LIBS) Xaw.lib Xmu.lib Xt.lib SM.lib ICE.lib Xext.lib X11.lib
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
34 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
35
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
36 !if $(HAVE_MSW)
225
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
37 MSW_DEFINES=-DHAVE_MS_WINDOWS -DHAVE_SCROLLBARS
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
38 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
39
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
40 !if $(HAVE_MULE)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
41 MULE_DEFINES=-DMULE
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
42 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
43
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
44 !if $(DEBUG_XEMACS)
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
45 DEBUG_DEFINES=-DDEBUG_XEMACS
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
46 DEBUG_FLAGS= -debugtype:both -debug:full
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
47 !endif
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
48
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
49 !include "..\version.sh"
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 155
diff changeset
50
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
51 # Nothing should need to be edited below this point.
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
52 #------------------------------------------------------------------------------
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
53
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
54 # Generic variables
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
55
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
56 INCLUDES=$(X_INCLUDES) -I$(XEMACS)\nt\inc -I$(XEMACS)\src -I$(XEMACS)\lwlib -I"$(MSVCDIR)\include"
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
57
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
58 DEFINES=$(X_DEFINES) $(MSW_DEFINES) $(MULE_DEFINES) -DWIN32 -D_WIN32 \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
59 -DWIN32_LEAN_AND_MEAN -DWINDOWSNT -Demacs -DHAVE_CONFIG_H \
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
60 -D_DEBUG
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
61
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
62 OUTDIR=obj
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
63
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
64 #------------------------------------------------------------------------------
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
65
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
66 default: $(OUTDIR)\nul all
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
67
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
68 $(OUTDIR)\nul:
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
69 -@mkdir $(OUTDIR)
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
70
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
71 XEMACS_INCLUDES=\
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
72 $(XEMACS)\src\config.h \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
73 $(XEMACS)\src\Emacs.ad.h \
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
74 $(XEMACS)\src\paths.h \
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
75 $(XEMACS)\src\puresize-adjust.h
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
76
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
77 $(XEMACS)\src\config.h: config.h
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
78 !copy config.h $(XEMACS)\src
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
79
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
80 $(XEMACS)\src\Emacs.ad.h: Emacs.ad.h
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
81 !copy Emacs.ad.h $(XEMACS)\src
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
82
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
83 $(XEMACS)\src\paths.h: paths.h
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
84 !copy paths.h $(XEMACS)\src
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
85
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
86 $(XEMACS)\src\puresize-adjust.h: puresize-adjust.h
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
87 !copy puresize-adjust.h $(XEMACS)\src
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
88
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
89 #------------------------------------------------------------------------------
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
90
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
91 # LASTFILE Library
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
92
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
93 LASTFILE=$(OUTDIR)\lastfile.lib
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
94 LASTFILE_SRC=$(XEMACS)\src
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
95 LASTFILE_FLAGS=-nologo -w $(OPT) $(INCLUDES) -Fo$@ -c
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
96 LASTFILE_OBJS= \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
97 $(OUTDIR)\lastfile.obj
179
9ad43877534d Import from CVS: tag r20-3b16
cvs
parents: 167
diff changeset
98
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
99 $(LASTFILE): $(XEMACS_INCLUDES) $(LASTFILE_OBJS)
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
100 link.exe -lib -nologo -out:$@ $(LASTFILE_OBJS)
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
101
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
102 $(OUTDIR)\lastfile.obj: $(LASTFILE_SRC)\lastfile.c
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
103 $(CC) $(LASTFILE_FLAGS) $**
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
104
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
105 #------------------------------------------------------------------------------
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
106
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
107 !if $(HAVE_X)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
108
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
109 # LWLIB Library
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
110
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
111 LWLIB=$(OUTDIR)\lwlib.lib
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
112 LWLIB_SRC=$(XEMACS)\lwlib
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
113 LWLIB_FLAGS=-nologo -w $(OPT) $(INCLUDES) $(DEFINES) \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
114 -DNEED_ATHENA -DNEED_LUCID \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
115 -D_WINDOWS -DMENUBARS_LUCID -DSCROLLBARS_LUCID -DDIALOGS_ATHENA \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
116 -Fo$@ -c
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
117 LWLIB_OBJS= \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
118 $(OUTDIR)\lwlib-config.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
119 $(OUTDIR)\lwlib-utils.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
120 $(OUTDIR)\lwlib-Xaw.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
121 $(OUTDIR)\lwlib-Xlw.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
122 $(OUTDIR)\lwlib.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
123 $(OUTDIR)\xlwmenu.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
124 $(OUTDIR)\xlwscrollbar.obj
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
125
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
126 $(LWLIB): $(LWLIB_OBJS)
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
127 link.exe -lib -nologo $(DEBUG_FLAGS) -out:$@ $(LWLIB_OBJS)
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
128
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
129 $(OUTDIR)\lwlib-config.obj: $(LWLIB_SRC)\lwlib-config.c
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
130 $(CC) $(LWLIB_FLAGS) $**
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
131
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
132 $(OUTDIR)\lwlib-utils.obj: $(LWLIB_SRC)\lwlib-utils.c
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
133 $(CC) $(LWLIB_FLAGS) $**
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
134
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
135 $(OUTDIR)\lwlib-Xaw.obj: $(LWLIB_SRC)\lwlib-Xaw.c
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
136 $(CC) $(LWLIB_FLAGS) $**
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
137
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
138 $(OUTDIR)\lwlib-Xlw.obj: $(LWLIB_SRC)\lwlib-Xlw.c
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
139 $(CC) $(LWLIB_FLAGS) $**
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
140
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
141 $(OUTDIR)\lwlib.obj: $(LWLIB_SRC)\lwlib.c
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
142 $(CC) $(LWLIB_FLAGS) $**
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
143
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
144 $(OUTDIR)\xlwmenu.obj: $(LWLIB_SRC)\xlwmenu.c
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
145 $(CC) $(LWLIB_FLAGS) $**
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
146
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
147 $(OUTDIR)\xlwscrollbar.obj: $(LWLIB_SRC)\xlwscrollbar.c
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
148 $(CC) $(LWLIB_FLAGS) $**
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
149
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
150 !endif
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
151 #------------------------------------------------------------------------------
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
152
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
153 # lib-src programs
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
154
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
155 LIB_SRC=$(XEMACS)\lib-src
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
156 LIB_SRC_FLAGS=$(INCLUDES) $(DEFINES) -ML
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
157 LIB_SRC_LIBS= kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
158 advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib libc.lib
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
159 LIB_SRC_LFLAGS=-nologo $(LIB_SRC_LIBS) -base:0x1000000\
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
160 -subsystem:console -pdb:none $(DEBUG_FLAGS) -machine:I386\
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
161 -nodefaultlib -out:$@
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 155
diff changeset
162
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
163 DOC=$(LIB_SRC)\DOC
195
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 183
diff changeset
164 DOC_SRC1=\
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
165 $(XEMACS)\src\abbrev.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
166 $(XEMACS)\src\alloc.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
167 $(XEMACS)\src\alloca.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
168 $(XEMACS)\src\blocktype.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
169 $(XEMACS)\src\buffer.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
170 $(XEMACS)\src\bytecode.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
171 $(XEMACS)\src\callint.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
172 $(XEMACS)\src\callproc.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
173 $(XEMACS)\src\casefiddle.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
174 $(XEMACS)\src\casetab.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
175 $(XEMACS)\src\chartab.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
176 $(XEMACS)\src\cmdloop.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
177 $(XEMACS)\src\cmds.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
178 $(XEMACS)\src\console-stream.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
179 $(XEMACS)\src\console.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
180 $(XEMACS)\src\data.c \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
181 $(XEMACS)\src\device.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
182 $(XEMACS)\src\dgif_lib.c
195
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 183
diff changeset
183 DOC_SRC2=\
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
184 $(XEMACS)\src\dialog.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
185 $(XEMACS)\src\dired.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
186 $(XEMACS)\src\doc.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
187 $(XEMACS)\src\doprnt.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
188 $(XEMACS)\src\dynarr.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
189 $(XEMACS)\src\editfns.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
190 $(XEMACS)\src\elhash.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
191 $(XEMACS)\src\emacs.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
192 $(XEMACS)\src\eval.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
193 $(XEMACS)\src\event-stream.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
194 $(XEMACS)\src\events.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
195 $(XEMACS)\src\extents.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
196 $(XEMACS)\src\faces.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
197 $(XEMACS)\src\fileio.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
198 $(XEMACS)\src\filelock.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
199 $(XEMACS)\src\filemode.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
200 $(XEMACS)\src\floatfns.c \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
201 $(XEMACS)\src\fns.c
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
202 DOC_SRC3=\
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
203 $(XEMACS)\src\font-lock.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
204 $(XEMACS)\src\frame.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
205 $(XEMACS)\src\free-hook.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
206 $(XEMACS)\src\general.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
207 $(XEMACS)\src\gif_err.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
208 $(XEMACS)\src\gifalloc.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
209 $(XEMACS)\src\glyphs.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
210 $(XEMACS)\src\gmalloc.c \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
211 $(XEMACS)\src\gui.c \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
212 $(XEMACS)\src\hash.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
213 $(XEMACS)\src\indent.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
214 $(XEMACS)\src\inline.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
215 $(XEMACS)\src\insdel.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
216 $(XEMACS)\src\intl.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
217 $(XEMACS)\src\keymap.c \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
218 $(XEMACS)\src\line-number.c \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
219 $(XEMACS)\src\lread.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
220 $(XEMACS)\src\lstream.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
221 $(XEMACS)\src\macros.c \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
222 $(XEMACS)\src\marker.c
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
223 DOC_SRC4=\
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
224 $(XEMACS)\src\md5.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
225 $(XEMACS)\src\minibuf.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
226 $(XEMACS)\src\nt.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
227 $(XEMACS)\src\ntheap.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
228 $(XEMACS)\src\ntproc.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
229 $(XEMACS)\src\objects.c \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
230 $(XEMACS)\src\opaque.c \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
231 $(XEMACS)\src\print.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
232 $(XEMACS)\src\process.c \
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
233 $(XEMACS)\src\profile.c \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
234 $(XEMACS)\src\pure.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
235 $(XEMACS)\src\rangetab.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
236 $(XEMACS)\src\realpath.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
237 $(XEMACS)\src\redisplay-output.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
238 $(XEMACS)\src\redisplay.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
239 $(XEMACS)\src\regex.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
240 $(XEMACS)\src\scrollbar.c \
225
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
241 $(XEMACS)\src\scrollbar-msw.c \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
242 $(XEMACS)\src\search.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
243 $(XEMACS)\src\signal.c \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
244 $(XEMACS)\src\sound.c
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
245 DOC_SRC5=\
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
246 $(XEMACS)\src\specifier.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
247 $(XEMACS)\src\strftime.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
248 $(XEMACS)\src\symbols.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
249 $(XEMACS)\src\syntax.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
250 $(XEMACS)\src\sysdep.c \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
251 $(XEMACS)\src\termcap.c \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
252 $(XEMACS)\src\tparam.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
253 $(XEMACS)\src\undo.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
254 $(XEMACS)\src\unexnt.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
255 $(XEMACS)\src\vm-limit.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
256 $(XEMACS)\src\window.c \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
257 $(XEMACS)\src\widget.c
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
258
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
259 !if $(HAVE_X)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
260 DOC_SRC6=\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
261 $(XEMACS)\src\balloon_help.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
262 $(XEMACS)\src\console-x.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
263 $(XEMACS)\src\device-x.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
264 $(XEMACS)\src\dialog-x.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
265 $(XEMACS)\src\EmacsFrame.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
266 $(XEMACS)\src\EmacsManager.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
267 $(XEMACS)\src\EmacsShell-sub.c\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
268 $(XEMACS)\src\EmacsShell.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
269 $(XEMACS)\src\event-Xt.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
270 $(XEMACS)\src\frame-x.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
271 $(XEMACS)\src\glyphs-x.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
272 $(XEMACS)\src\gui-x.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
273 $(XEMACS)\src\menubar.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
274 $(XEMACS)\src\menubar-x.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
275 $(XEMACS)\src\objects-x.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
276 $(XEMACS)\src\redisplay-x.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
277 $(XEMACS)\src\scrollbar-x.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
278 $(XEMACS)\src\balloon-x.c \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
279 $(XEMACS)\src\xgccache.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
280 $(XEMACS)\src\xmu.c \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
281 $(XEMACS)\src\xselect.c
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
282 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
283
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
284 !if $(HAVE_MSW)
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
285 DOC_SRC7=\
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
286 $(XEMACS)\src\console-msw.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
287 $(XEMACS)\src\device-msw.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
288 $(XEMACS)\src\event-msw.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
289 $(XEMACS)\src\frame-msw.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
290 $(XEMACS)\src\objects-msw.c \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
291 $(XEMACS)\src\redisplay-msw.c \
221
6c0ae1f9357f Import from CVS: tag r20-4b9
cvs
parents: 219
diff changeset
292 $(XEMACS)\src\select-msw.c \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
293 $(XEMACS)\src\msw-proc.c
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
294 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
295
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
296 !if $(HAVE_MULE)
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
297 DOC_SRC8=\
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
298 $(XEMACS)\src\input-method-xlib.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
299 $(XEMACS)\src\mule.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
300 $(XEMACS)\src\mule-charset.c \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
301 $(XEMACS)\src\mule-ccl.c \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
302 $(XEMACS)\src\mule-coding.c
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
303 !endif
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
304
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
305 !if $(DEBUG_XEMACS)
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
306 DOC_SRC_9=\
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
307 $(XEMACS)\src\debug.c
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
308 !endif
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
309
195
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 183
diff changeset
310 MAKE_DOCFILE=$(LIB_SRC)\make-docfile.exe
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
311
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
312 $(MAKE_DOCFILE): $(OUTDIR)\make-docfile.obj
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
313 link.exe -out:$@ $(LIB_SRC_LFLAGS) $** $(LIB_SRC_LIBS)
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
314
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
315 $(OUTDIR)\make-docfile.obj: $(LIB_SRC)\make-docfile.c
195
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 183
diff changeset
316 $(CC) $(LIB_SRC_FLAGS) -c $** -Fo$@
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
317
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
318 RUNEMACS=$(XEMACS)\src\runemacs.exe
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 155
diff changeset
319
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 155
diff changeset
320 $(RUNEMACS): $(OUTDIR)\runemacs.obj
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
321 link.exe -out:$@ -subsystem:windows -entry:WinMainCRTStartup \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
322 -pdb:none -release -incremental:no $** \
179
9ad43877534d Import from CVS: tag r20-3b16
cvs
parents: 167
diff changeset
323 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
324 advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib libc.lib
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 155
diff changeset
325
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
326 $(OUTDIR)\runemacs.obj: $(XEMACS)\nt\runemacs.c
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
327 $(CC) -nologo -ML -w $(OPT) -c \
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 155
diff changeset
328 -D_DEBUG -DWIN32 -D_WIN32 -DWIN32_LEAN_AND_MEAN \
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
329 -D_X86_ -Demacs -DHAVE_CONFIG_H \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
330 $** -Fo$@
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 155
diff changeset
331
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 155
diff changeset
332 SUPPORT_PROGS=$(MAKE_DOCFILE) $(RUNEMACS)
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 155
diff changeset
333
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
334 #------------------------------------------------------------------------------
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
335
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
336 # TEMACS Executable
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
337
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
338 TEMACS_DIR=$(XEMACS)\src
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
339 TEMACS=$(TEMACS_DIR)\temacs.exe
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
340 TEMACS_BROWSE=$(TEMACS_DIR)\temacs.bsc
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
341 TEMACS_SRC=$(XEMACS)\src
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
342 TEMACS_LIBS=$(LASTFILE) $(LWLIB) $(X_LIBS) kernel32.lib user32.lib gdi32.lib \
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
343 winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib \
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
344 uuid.lib wsock32.lib winmm.lib libc.lib
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
345 TEMACS_LFLAGS=-nologo $(LIBRARIES) $(DEBUG_FLAGS) -base:0x1000000\
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
346 -stack:0x800000 -entry:_start -subsystem:console\
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
347 -pdb:$(TEMACS_DIR)\temacs.pdb -map:$(TEMACS_DIR)\temacs.map \
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
348 -heap:0x00100000 -out:$@
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
349 TEMACS_CPP_FLAGS= $(INCLUDES) $(DEFINES) $(DEBUG_DEFINES) \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
350 -DEMACS_MAJOR_VERSION=$(emacs_major_version) \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
351 -DEMACS_MINOR_VERSION=$(emacs_minor_version) \
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
352 -DEMACS_BETA_VERSION=$(emacs_beta_version) \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
353 -DXEMACS_CODENAME=\"$(xemacs_codename)\" \
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
354 -DPATH_PREFIX=\"$(XEMACS)\" \
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
355 -DPACKAGE_PATH=\"$(PACKAGE_PATH)\"
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
356
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
357 TEMACS_FLAGS=-nologo -ML -w $(OPT) -c $(TEMACS_CPP_FLAGS)
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
358
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
359 !if $(HAVE_X)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
360 TEMACS_X_OBJS=\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
361 $(OUTDIR)\balloon-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
362 $(OUTDIR)\balloon_help.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
363 $(OUTDIR)\console-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
364 $(OUTDIR)\device-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
365 $(OUTDIR)\dialog-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
366 $(OUTDIR)\EmacsFrame.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
367 $(OUTDIR)\EmacsManager.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
368 $(OUTDIR)\EmacsShell.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
369 $(OUTDIR)\TopLevelEmacsShell.obj\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
370 $(OUTDIR)\TransientEmacsShell.obj\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
371 $(OUTDIR)\event-Xt.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
372 $(OUTDIR)\frame-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
373 $(OUTDIR)\glyphs-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
374 $(OUTDIR)\gui-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
375 $(OUTDIR)\menubar.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
376 $(OUTDIR)\menubar-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
377 $(OUTDIR)\objects-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
378 $(OUTDIR)\redisplay-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
379 $(OUTDIR)\scrollbar.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
380 $(OUTDIR)\scrollbar-x.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
381 $(OUTDIR)\xgccache.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
382 $(OUTDIR)\xmu.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
383 $(OUTDIR)\xselect.obj
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
384 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
385
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
386 !if $(HAVE_MSW)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
387 TEMACS_MSW_OBJS=\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
388 $(OUTDIR)\console-msw.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
389 $(OUTDIR)\device-msw.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
390 $(OUTDIR)\event-msw.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
391 $(OUTDIR)\frame-msw.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
392 $(OUTDIR)\objects-msw.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
393 $(OUTDIR)\redisplay-msw.obj \
221
6c0ae1f9357f Import from CVS: tag r20-4b9
cvs
parents: 219
diff changeset
394 $(OUTDIR)\select-msw.obj \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
395 $(OUTDIR)\msw-proc.obj
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
396 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
397
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
398 !if $(HAVE_MULE)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
399 TEMACS_MULE_OBJS=\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
400 $(OUTDIR)\input-method-xlib.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
401 $(OUTDIR)\mule.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
402 $(OUTDIR)\mule-charset.obj \
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
403 $(OUTDIR)\mule-ccl.obj \
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
404 $(OUTDIR)\mule-coding.obj
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
405 !endif
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
406
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
407 !if $(DEBUG_XEMACS)
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
408 TEMACS_DEBUG_OBJS=\
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
409 $(OUTDIR)\debug.obj
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
410 !endif
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
411
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
412 TEMACS_OBJS= \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
413 $(TEMACS_X_OBJS)\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
414 $(TEMACS_MSW_OBJS)\
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
415 $(TEMACS_MULE_OBJS)\
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
416 $(TEMACS_DEBUG_OBJS)\
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
417 $(OUTDIR)\abbrev.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
418 $(OUTDIR)\alloc.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
419 $(OUTDIR)\alloca.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
420 $(OUTDIR)\blocktype.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
421 $(OUTDIR)\buffer.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
422 $(OUTDIR)\bytecode.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
423 $(OUTDIR)\callint.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
424 $(OUTDIR)\callproc.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
425 $(OUTDIR)\casefiddle.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
426 $(OUTDIR)\casetab.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
427 $(OUTDIR)\chartab.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
428 $(OUTDIR)\cmdloop.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
429 $(OUTDIR)\cmds.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
430 $(OUTDIR)\console-stream.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
431 $(OUTDIR)\console.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
432 $(OUTDIR)\data.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
433 $(OUTDIR)\device.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
434 $(OUTDIR)\dgif_lib.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
435 $(OUTDIR)\dialog.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
436 $(OUTDIR)\dired.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
437 $(OUTDIR)\doc.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
438 $(OUTDIR)\doprnt.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
439 $(OUTDIR)\dynarr.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
440 $(OUTDIR)\editfns.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
441 $(OUTDIR)\elhash.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
442 $(OUTDIR)\emacs.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
443 $(OUTDIR)\eval.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
444 $(OUTDIR)\event-stream.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
445 $(OUTDIR)\events.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
446 $(OUTDIR)\extents.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
447 $(OUTDIR)\faces.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
448 $(OUTDIR)\fileio.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
449 $(OUTDIR)\filelock.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
450 $(OUTDIR)\filemode.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
451 $(OUTDIR)\floatfns.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
452 $(OUTDIR)\fns.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
453 $(OUTDIR)\font-lock.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
454 $(OUTDIR)\frame.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
455 $(OUTDIR)\free-hook.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
456 $(OUTDIR)\general.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
457 $(OUTDIR)\gif_err.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
458 $(OUTDIR)\gifalloc.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
459 $(OUTDIR)\glyphs.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
460 $(OUTDIR)\gmalloc.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
461 $(OUTDIR)\gui.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
462 $(OUTDIR)\hash.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
463 $(OUTDIR)\indent.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
464 $(OUTDIR)\inline.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
465 $(OUTDIR)\insdel.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
466 $(OUTDIR)\intl.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
467 $(OUTDIR)\keymap.obj \
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
468 $(OUTDIR)\line-number.obj \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
469 $(OUTDIR)\lread.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
470 $(OUTDIR)\lstream.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
471 $(OUTDIR)\macros.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
472 $(OUTDIR)\marker.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
473 $(OUTDIR)\md5.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
474 $(OUTDIR)\minibuf.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
475 $(OUTDIR)\nt.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
476 $(OUTDIR)\ntheap.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
477 $(OUTDIR)\ntproc.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
478 $(OUTDIR)\objects.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
479 $(OUTDIR)\opaque.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
480 $(OUTDIR)\print.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
481 $(OUTDIR)\process.obj \
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
482 $(OUTDIR)\profile.obj \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
483 $(OUTDIR)\pure.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
484 $(OUTDIR)\rangetab.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
485 $(OUTDIR)\realpath.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
486 $(OUTDIR)\redisplay-output.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
487 $(OUTDIR)\redisplay.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
488 $(OUTDIR)\regex.obj \
225
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
489 $(OUTDIR)\scrollbar.obj \
12579d965149 Import from CVS: tag r20-4b11
cvs
parents: 223
diff changeset
490 $(OUTDIR)\scrollbar-msw.obj \
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
491 $(OUTDIR)\search.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
492 $(OUTDIR)\signal.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
493 $(OUTDIR)\sound.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
494 $(OUTDIR)\specifier.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
495 $(OUTDIR)\strftime.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
496 $(OUTDIR)\symbols.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
497 $(OUTDIR)\syntax.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
498 $(OUTDIR)\sysdep.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
499 $(OUTDIR)\tparam.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
500 $(OUTDIR)\undo.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
501 $(OUTDIR)\unexnt.obj \
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
502 $(OUTDIR)\vm-limit.obj \
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 195
diff changeset
503 $(OUTDIR)\widget.obj \
227
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 225
diff changeset
504 $(OUTDIR)\window.obj \
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 225
diff changeset
505 xemacs.res
155
43dd3413c7c7 Import from CVS: tag r20-3b4
cvs
parents: 118
diff changeset
506
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
507 # Rules
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
508
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
509 .SUFFIXES:
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
510 .SUFFIXES: .c
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
511
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
512 # nmake rule
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
513 {$(TEMACS_SRC)}.c{$(OUTDIR)}.obj:
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
514 $(CC) $(TEMACS_FLAGS) $< -Fo$@ -Fr$*.sbr
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
515
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
516 $(OUTDIR)\TopLevelEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
517 $(CC) $(TEMACS_FLAGS) -DDEFINE_TOP_LEVEL_EMACS_SHELL $** -Fo$@
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
518
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
519 $(OUTDIR)\TransientEmacsShell.obj: $(TEMACS_SRC)\EmacsShell-sub.c
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
520 $(CC) $(TEMACS_FLAGS) -DDEFINE_TRANSIENT_EMACS_SHELL $** -Fo$@
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
521
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
522 $(OUTDIR)\pure.obj: $(TEMACS_SRC)\pure.c $(TEMACS_SRC)\puresize-adjust.h
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
523
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
524 #$(TEMACS_SRC)\Emacs.ad.h: $(XEMACS)\etc\Emacs.ad
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
525 # !"sed -f ad2c.sed < $(XEMACS)\etc\Emacs.ad > $(TEMACS_SRC)\Emacs.ad.h"
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
526
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
527 #$(TEMACS_SRC)\paths.h: $(TEMACS_SRC)\paths.h.in
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
528 # !"cd $(TEMACS_SRC); cp paths.h.in paths.h"
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
529
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
530 $(TEMACS): $(TEMACS_INCLUDES) $(TEMACS_OBJS)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
531 link.exe @<<
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
532 $(TEMACS_LFLAGS) $(TEMACS_OBJS) $(TEMACS_LIBS)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
533 <<
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
534 !$(TEMACS) -batch -l update-elc.el
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
535
227
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 225
diff changeset
536 xemacs.res: xemacs.rc
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 225
diff changeset
537 rc xemacs.rc
0e522484dd2a Import from CVS: tag r20-5b12
cvs
parents: 225
diff changeset
538
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
539 # MSDEV Source Broswer file. "*.sbr" is too inclusive but this is harmless
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
540 $(TEMACS_BROWSE): $(TEMACS_OBJS)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
541 dir /b/s $(OUTDIR)\*.sbr > bscmake.tmp
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
542 bscmake -o$@ @bscmake.tmp
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
543 del bscmake.tmp
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
544
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
545 #------------------------------------------------------------------------------
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
546
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
547 # LISP bits 'n bobs
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
548
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
549 LOADPATH=$(LISP)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
550
217
d44af0c54775 Import from CVS: tag r20-4b7
cvs
parents: 215
diff changeset
551 $(DOC): $(LIB_SRC)\make-docfile.exe
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
552 -del $(DOC)
195
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 183
diff changeset
553 !$(TEMACS) -batch -l make-docfile.el -- -o $(DOC) -i $(XEMACS)\site-packages
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 183
diff changeset
554 !$(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC1)
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 183
diff changeset
555 !$(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC2)
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 183
diff changeset
556 !$(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC3)
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 183
diff changeset
557 !$(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC4)
a2f645c6b9f8 Import from CVS: tag r20-3b24
cvs
parents: 183
diff changeset
558 !$(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC5)
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
559 !$(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC6)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
560 !$(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC7)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
561 !$(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC8)
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
562 !$(LIB_SRC)\make-docfile.exe -a $(DOC) -d $(TEMACS_SRC) $(DOC_SRC9)
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 179
diff changeset
563
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
564 update-elc: $(LOADPATH)\startup.el
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
565 !$(TEMACS) -batch -l update-elc.el
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
566
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
567 rebuild: $(TEMACS_DIR)\puresize-adjust.h
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
568 !nmake -f xemacs.mak dump-xemacs
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
569
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
570 # This rule dumps xemacs and then checks to see if a rebuild is required due
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
571 # to changing PURESPACE requirements.
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
572 dump-xemacs: $(TEMACS)
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
573 !touch rebuild
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
574 cd $(TEMACS_DIR)
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
575 !$(TEMACS) -batch -l loadup.el dump
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
576 cd $(XEMACS)\nt
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
577 !nmake -f xemacs.mak rebuild
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
578
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
579 #------------------------------------------------------------------------------
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
580
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
581 # use this rule to build the complete system
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
582 all: $(LASTFILE) $(LWLIB) $(SUPPORT_PROGS) $(TEMACS) $(TEMACS_BROWSE) $(DOC) dump-xemacs
223
2c611d1463a6 Import from CVS: tag r20-4b10
cvs
parents: 221
diff changeset
583 -del rebuild
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
584
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
585 # use this rule to install the system
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents: 100
diff changeset
586 install:
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
587
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
588 # The last line demands that you have a semi-decent shell
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
589 distclean:
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
590 -mkdepend -f xemacs.mak
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
591 del *.bak
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
592 del *.orig
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
593 del *.rej
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
594 del *.pdb
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
595 del *.tmp
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
596 del puresize-adjust.h
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
597 cd $(OUTDIR)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
598 del *.obj
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
599 del *.sbr
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
600 del *.lib
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
601 cd ..\$(TEMACS_DIR)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
602 del config.h
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
603 del paths.h
215
1f0dabaa0855 Import from CVS: tag r20-4b6
cvs
parents: 213
diff changeset
604 del Emacs.ad.h
213
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
605 del *.bak
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
606 del *.orig
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
607 del *.rej
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
608 del *.exe
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
609 del *.map
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
610 del *.bsc
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
611 del *.pdb
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
612 cd $(LIB_SRC)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
613 del DOC
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
614 del *.bak
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
615 del *.orig
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
616 del *.rej
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
617 del *.exe
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
618 cd $(LISP)
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
619 -del /s /q *.bak *.elc *.orig *.rej
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
620
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
621 depend:
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
622 mkdepend -f xemacs.mak -p$(OUTDIR)\ -o.obj -w9999 -- $(TEMACS_CPP_FLAGS) -- $(DOC_SRC1) $(DOC_SRC2) $(DOC_SRC3) $(DOC_SRC4) $(DOC_SRC5) $(DOC_SRC6) $(DOC_SRC7) $(DOC_SRC8) $(LASTFILE_SRC)\lastfile.c $(LIB_SRC)\make-docfile.c .\runemacs.c
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
623
78f53ef88e17 Import from CVS: tag r20-4b5
cvs
parents: 197
diff changeset
624 # DO NOT DELETE THIS LINE -- make depend depends on it.
219
262b8bb4a523 Import from CVS: tag r20-4b8
cvs
parents: 217
diff changeset
625 mkdepend -f xemacs.mak -p$(OUTDIR)\ -o.obj -w9999 -- $(TEMACS_CPP_FLAGS) -- $(DOC_SRC1) $(DOC_SRC2) $(DOC_SRC3) $(DOC_SRC4) $(DOC_SRC5) $(DOC_SRC6) $(DOC_SRC7) $(DOC_SRC8) $(DOC_SRC9) $(LASTFILE_SRC)\lastfile.c $(LIB_SRC)\make-docfile.c .\runemacs.c