Mercurial > hg > xemacs-beta
annotate modules/sample/external/Makefile.in.in @ 5872:f9e59cd39a9a
Clean up #'read-quoted-char, support help-event-list there.
lisp/changeLog addition:
2015-03-14 Aidan Kehoe <kehoea@parhasard.net>
* simple.el (quoted-insert):
Update the docstring here, syncing GNU's, especially mentioning
read-quoted-char-radix.
* cmdloop.el:
* cmdloop.el (read-quoted-char-radix): Move this up here, outside
the functions.
* cmdloop.el (read-function-key-map): New label, reading and
replacing characters from function-key-map if appropriate.
* cmdloop.el (read-quoted-char): Multiple changes:
-- Take advantage of help-event-list, but be careful not to have
any keystrokes with character equivalents in it, so the user can
type C-q C-h and have the expected result.
-- Use function-key-map, as does #'read-char and
#'read-exclusive-char, helpful for character composition under
X11.
-- Pop up the help window ourselves if, e.g. F1 arrives on a TTY
via function-key-map, event-stream won't have done it.
-- Error if no keystroke that can be converted into a character is
specified, don't just insert ?\x00 as we used to and as does GNU
-- Use #'digit-char-p instead of reimplementing it.
-- Fix a bug of mine where I wasn't consistent about treating
character codes as Unicode.
| author | Aidan Kehoe <kehoea@parhasard.net> |
|---|---|
| date | Tue, 17 Mar 2015 12:22:50 +0000 |
| parents | 4aa8ee813265 |
| children |
| rev | line source |
|---|---|
| 996 | 1 ## Makefile for the sample module in XEmacs. |
| 2 ## Copyright (C) 2002 Jerry James. | |
|
4737
dce479915b74
Clarify the GPL status of several sample module files. J. Kean Johnston
Jerry James <james@xemacs.org>
parents:
1490
diff
changeset
|
3 ## |
|
dce479915b74
Clarify the GPL status of several sample module files. J. Kean Johnston
Jerry James <james@xemacs.org>
parents:
1490
diff
changeset
|
4 ## This sample Makefile is free; you can redistribute it and/or modify it |
|
dce479915b74
Clarify the GPL status of several sample module files. J. Kean Johnston
Jerry James <james@xemacs.org>
parents:
1490
diff
changeset
|
5 ## under the terms of the GNU General Public License as published by the |
|
5417
dd9541c73e70
Converted the modules samples to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
4737
diff
changeset
|
6 ## Free Software Foundation, either version 3 of the License, or (at your |
|
dd9541c73e70
Converted the modules samples to GPLv3 or later.
Mats Lidell <matsl@xemacs.org>
parents:
4737
diff
changeset
|
7 ## option) any later version. |
| 996 | 8 |
| 9 ## This file is not part of XEmacs. | |
| 10 | |
| 11 ### Specialize this part for your module | |
| 12 MODNAME=sample | |
| 13 MODVER=0.0.1 | |
| 14 MODTITLE="Sample module for XEmacs" | |
| 15 SRCS=sample.c | |
| 16 | |
| 17 ### You should not need to modify anything below this line | |
|
5512
4aa8ee813265
Add a DESTDIR variable to all Makefiles, defaulting to the empty string, and
Jerry James <james@xemacs.org>
parents:
5417
diff
changeset
|
18 DESTDIR= |
| 996 | 19 SHELL=/bin/sh |
| 20 RM=rm -f | |
| 21 CFLAGS=@CFLAGS@ | |
| 22 LDFLAGS=@LDFLAGS@ | |
| 23 | |
| 24 srcdir=@srcdir@ | |
| 25 VPATH=@srcdir@ | |
| 26 | |
| 1490 | 27 SRC_SRCS=$(SRCS:%=$(srcdir)/%) |
| 28 OBJS=$(SRCS:.c=.o) | |
| 29 | |
| 996 | 30 ELLCC=@ELLCC@ |
| 31 MODARCHDIR=$(shell @ELLCC@ --mod-archdir) | |
| 32 INSTALLPATH=$(shell @ELLCC@ --mod-site-location) | |
| 33 INSTALL=@INSTALL@ | |
| 34 INSTALL_PROGRAM=@INSTALL_PROGRAM@ | |
| 35 | |
| 36 .PHONY: clean distclean install | |
| 37 all: $(MODNAME).ell | |
| 38 | |
| 39 .c.o: | |
| 40 $(ELLCC) $(CFLAGS) --mode=compile --mod-output=$@ \ | |
| 41 -I$(MODARCHDIR)/include -c $< | |
| 42 | |
| 43 $(MODNAME).ell: $(OBJS) $(MODNAME)_i.o | |
| 1489 | 44 $(ELLCC) --mode=link --mod-output=$@ $(OBJS) $(MODNAME)_i.o $(LDFLAGS) |
| 996 | 45 |
| 46 $(MODNAME)_i.c: $(SRCS) | |
| 47 ELLMAKEDOC=$(MODARCHDIR)/make-docfile $(ELLCC) --mode=init \ | |
| 48 --mod-output=$@ --mod-name=$(MODNAME) --mod-version=$(MODVER) \ | |
| 49 --mod-title=$(MODTITLE) $(SRC_SRCS) | |
| 50 | |
| 51 clean: | |
| 52 $(RM) $(MODNAME).ell $(OBJS) $(MODNAME)_i.* *~ | |
| 53 | |
| 54 distclean: clean | |
| 55 $(RM) Makefile config.* configure | |
| 56 | |
| 57 install: $(MODNAME).ell | |
|
5512
4aa8ee813265
Add a DESTDIR variable to all Makefiles, defaulting to the empty string, and
Jerry James <james@xemacs.org>
parents:
5417
diff
changeset
|
58 $(INSTALL_PROGRAM) $< $(DESTDIR)$(INSTALLPATH) |
