Mercurial > hg > xemacs-beta
annotate nt/xpm.mak @ 5884:5a93f519accc
If not waiting for C-x #, don't memorise the device, #'gnuserv-edit-files
lisp/ChangeLog addition:
2015-04-03 Aidan Kehoe <kehoea@parhasard.net>
* gnuserv.el (gnuserv-edit-files):
No need to memorise the device created for the sake of C-x #, if
the client is not waiting for us.
Fixes a bug in the following situation:
-- Start gnuserv from an XEmacs within screen
-- Call gnuclient with an X11 display available, connecting
successfully to that XEmacs and creating an X11 frame
-- Then call gnuclient file-name.txt, save the file, then type C-x
#; this deletes all the frames on the device, which it shouldn't.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Fri, 03 Apr 2015 00:27:59 +0100 |
parents | 308d34e9f07d |
children |
rev | line source |
---|---|
276 | 1 # |
2 # XPM Makefile for Microsoft NMAKE without X libraries | |
3 # | |
4927
5274591ce707
Add copyright and license information for Jonathan Harris's contributions.
Jerry James <james@xemacs.org>
parents:
817
diff
changeset
|
4 # Copyright (C) 1997 Free Software Foundation, Inc. |
5274591ce707
Add copyright and license information for Jonathan Harris's contributions.
Jerry James <james@xemacs.org>
parents:
817
diff
changeset
|
5 # |
5274591ce707
Add copyright and license information for Jonathan Harris's contributions.
Jerry James <james@xemacs.org>
parents:
817
diff
changeset
|
6 # This file is part of XEmacs. |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5231
diff
changeset
|
7 # |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5231
diff
changeset
|
8 # XEmacs is free software: you can redistribute it and/or modify it |
4927
5274591ce707
Add copyright and license information for Jonathan Harris's contributions.
Jerry James <james@xemacs.org>
parents:
817
diff
changeset
|
9 # under the terms of the GNU General Public License as published by the |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5231
diff
changeset
|
10 # Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5231
diff
changeset
|
11 # option) any later version. |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5231
diff
changeset
|
12 # |
4927
5274591ce707
Add copyright and license information for Jonathan Harris's contributions.
Jerry James <james@xemacs.org>
parents:
817
diff
changeset
|
13 # XEmacs is distributed in the hope that it will be useful, but WITHOUT |
5274591ce707
Add copyright and license information for Jonathan Harris's contributions.
Jerry James <james@xemacs.org>
parents:
817
diff
changeset
|
14 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
5274591ce707
Add copyright and license information for Jonathan Harris's contributions.
Jerry James <james@xemacs.org>
parents:
817
diff
changeset
|
15 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
5274591ce707
Add copyright and license information for Jonathan Harris's contributions.
Jerry James <james@xemacs.org>
parents:
817
diff
changeset
|
16 # for more details. |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5231
diff
changeset
|
17 # |
4927
5274591ce707
Add copyright and license information for Jonathan Harris's contributions.
Jerry James <james@xemacs.org>
parents:
817
diff
changeset
|
18 # You should have received a copy of the GNU General Public License |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
5231
diff
changeset
|
19 # along with XEmacs. If not, see <http://www.gnu.org/licenses/>. |
4927
5274591ce707
Add copyright and license information for Jonathan Harris's contributions.
Jerry James <james@xemacs.org>
parents:
817
diff
changeset
|
20 # |
398 | 21 !if !defined(DEBUG) |
22 !if defined(DEBUG_XEMACS) | |
23 DEBUG=$(DEBUG_XEMACS) | |
24 !else | |
25 DEBUG=0 | |
26 !endif | |
27 !endif | |
276 | 28 |
398 | 29 !if !defined(USE_CRTDLL) |
817 | 30 USE_CRTDLL=1 |
276 | 31 !endif |
32 | |
398 | 33 !if $(DEBUG) |
276 | 34 OPT=-Od -Zi |
398 | 35 LINK_DEBUG=-debug |
276 | 36 !else |
398 | 37 OPT=-Ox |
38 !endif | |
39 | |
40 !if $(USE_CRTDLL) | |
41 !if $(DEBUG) | |
42 C_LIBFLAG=-MDd | |
43 !else | |
44 C_LIBFLAG=-MD | |
45 !endif | |
46 !else | |
47 !if $(DEBUG) | |
48 C_LIBFLAG=-MLd | |
49 !else | |
50 C_LIBFLAG=-ML | |
51 !endif | |
276 | 52 !endif |
53 | |
54 WARN_CPP_FLAGS = -W3 | |
55 | |
56 CC=cl | |
398 | 57 CFLAGS=-nologo -DFOR_MSW $(C_LIBFLAG) $(WARN_CPP_FLAGS) \ |
58 $(OPT) $(INCLUDES) -c | |
276 | 59 |
60 OBJS= data.obj create.obj misc.obj rgb.obj scan.obj parse.obj hashtab.obj \ | |
61 WrFFrI.obj RdFToI.obj CrIFrDat.obj CrDatFrI.obj \ | |
62 CrIFrBuf.obj CrBufFrI.obj \ | |
63 RdFToDat.obj WrFFrDat.obj \ | |
64 Attrib.obj Image.obj Info.obj RdFToBuf.obj WrFFrBuf.obj \ | |
65 simx.obj | |
66 | |
67 # nmake rule | |
68 | |
69 .SUFFIXES: | |
70 .SUFFIXES: .c | |
71 | |
398 | 72 .c.obj:: |
73 $(CC) $(CFLAGS) $< | |
276 | 74 |
75 | |
76 # targets | |
77 | |
78 all: ..\X11\xpm.h Xpm.lib | |
79 | |
80 ..\X11\xpm.h: ..\X11\NUL xpm.h | |
81 copy xpm.h ..\X11 | |
82 | |
83 ..\X11\NUL: | |
84 mkdir ..\X11 | |
85 | |
86 Xpm.lib: $(OBJS) | |
398 | 87 lib -nologo -out:$@ $(OBJS) |