Mercurial > hg > xemacs-beta
annotate modules/sample/external/Makefile.in.in @ 5296:d185fa593d5f last-version-with-netinstall
Specify ERROR_ME_WARN explicitly in specifier_instance_from_inst_list().
src/ChangeLog
2010-10-25 Aidan Kehoe <kehoea@parhasard.net>
* specifier.c (specifier_instance_from_inst_list):
Call call_with_suspended_errors() with ERROR_ME_WARN, explicitly;
avoids the problem Giacomo Boffi describes in
http://mid.gmane.org/19617.52517.341117.388679@aiuole.stru.polimi.it
, but the specifier instantiation bug that makes XEmacs fail for
him is still visible.
| author | Aidan Kehoe <kehoea@parhasard.net> |
|---|---|
| date | Mon, 25 Oct 2010 17:57:37 +0100 |
| parents | dce479915b74 |
| children | dd9541c73e70 |
| 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 |
|
dce479915b74
Clarify the GPL status of several sample module files. J. Kean Johnston
Jerry James <james@xemacs.org>
parents:
1490
diff
changeset
|
6 ## Free Software Foundation; either version 2, or (at your option) any |
|
dce479915b74
Clarify the GPL status of several sample module files. J. Kean Johnston
Jerry James <james@xemacs.org>
parents:
1490
diff
changeset
|
7 ## 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 | |
| 18 SHELL=/bin/sh | |
| 19 RM=rm -f | |
| 20 CFLAGS=@CFLAGS@ | |
| 21 LDFLAGS=@LDFLAGS@ | |
| 22 | |
| 23 srcdir=@srcdir@ | |
| 24 VPATH=@srcdir@ | |
| 25 | |
| 1490 | 26 SRC_SRCS=$(SRCS:%=$(srcdir)/%) |
| 27 OBJS=$(SRCS:.c=.o) | |
| 28 | |
| 996 | 29 ELLCC=@ELLCC@ |
| 30 MODARCHDIR=$(shell @ELLCC@ --mod-archdir) | |
| 31 INSTALLPATH=$(shell @ELLCC@ --mod-site-location) | |
| 32 INSTALL=@INSTALL@ | |
| 33 INSTALL_PROGRAM=@INSTALL_PROGRAM@ | |
| 34 | |
| 35 .PHONY: clean distclean install | |
| 36 all: $(MODNAME).ell | |
| 37 | |
| 38 .c.o: | |
| 39 $(ELLCC) $(CFLAGS) --mode=compile --mod-output=$@ \ | |
| 40 -I$(MODARCHDIR)/include -c $< | |
| 41 | |
| 42 $(MODNAME).ell: $(OBJS) $(MODNAME)_i.o | |
| 1489 | 43 $(ELLCC) --mode=link --mod-output=$@ $(OBJS) $(MODNAME)_i.o $(LDFLAGS) |
| 996 | 44 |
| 45 $(MODNAME)_i.c: $(SRCS) | |
| 46 ELLMAKEDOC=$(MODARCHDIR)/make-docfile $(ELLCC) --mode=init \ | |
| 47 --mod-output=$@ --mod-name=$(MODNAME) --mod-version=$(MODVER) \ | |
| 48 --mod-title=$(MODTITLE) $(SRC_SRCS) | |
| 49 | |
| 50 clean: | |
| 51 $(RM) $(MODNAME).ell $(OBJS) $(MODNAME)_i.* *~ | |
| 52 | |
| 53 distclean: clean | |
| 54 $(RM) Makefile config.* configure | |
| 55 | |
| 56 install: $(MODNAME).ell | |
| 57 $(INSTALL_PROGRAM) $< $(INSTALLPATH) |
