annotate admin/unidata/Makefile.in @ 108202:05cdbfffcad4

Emulate POSIX_SIGNALS on MS-Windows. s/ms-w32.h (POSIX_SIGNALS, struct sigaction, SIG_BLOCK) (SIG_SETMASK, SIG_UNBLOCK): Define. sysdep.c (sys_signal) [WINDOWSNT]: #ifdef away. (wait_for_termination) [WINDOWSNT]: Move MS-Windows specific code from non-POSIX_SIGNALS section to POSIX_SIGNALS section. w32.c (sigemptyset, sigaddset, sigfillset, sigprocmask): New stubs.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 01 May 2010 21:38:33 +0300
parents 1d1d5d9bd884
children 99288c087e4b 376148b31b5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
91461
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
1 # Makefile -- Makefile to generate character property tables.
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 100971
diff changeset
2 # Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010
91461
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
3 # National Institute of Advanced Industrial Science and Technology (AIST)
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
4 # Registration Number H13PRO009
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
5 #
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
6 # This file is part of GNU Emacs.
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
7
94829
aeac1d771ae4 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91873
diff changeset
8 # GNU Emacs is free software: you can redistribute it and/or modify
91461
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
9 # it under the terms of the GNU General Public License as published by
94829
aeac1d771ae4 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91873
diff changeset
10 # the Free Software Foundation, either version 3 of the License, or
aeac1d771ae4 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91873
diff changeset
11 # (at your option) any later version.
91461
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
12
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
13 # GNU Emacs is distributed in the hope that it will be useful,
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
16 # GNU General Public License for more details.
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
17
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
18 # You should have received a copy of the GNU General Public License
94829
aeac1d771ae4 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91873
diff changeset
19 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
aeac1d771ae4 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91873
diff changeset
20
91461
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
21
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
22 EMACS = ../../src/emacs
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
23 DSTDIR = ../../lisp/international
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
24 RUNEMACS = ${EMACS} -Q --multibyte -batch
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
25
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
26 all: ${DSTDIR}/charprop.el
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
27
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
28 .el.elc:
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
29 ${RUNEMACS} -batch -f batch-byte-compile $<
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
30
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
31 unidata.txt: UnicodeData.txt
91873
008f96c5e9bc (unidata.txt): Don't use $<, it's non-portable in this context.
Eli Zaretskii <eliz@gnu.org>
parents: 91539
diff changeset
32 sed -e 's/\([^;]*\);\(.*\)/(#x\1 "\2")/' -e 's/;/" "/g' < UnicodeData.txt > $@
91461
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
33
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
34 ${DSTDIR}/charprop.el: unidata-gen.elc unidata.txt
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
35 ELC=`/bin/pwd`/unidata-gen.elc; \
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
36 DATA=`/bin/pwd`/unidata.txt; \
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
37 cd ${DSTDIR}; \
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
38 ${RUNEMACS} -batch --load $${ELC} -f unidata-gen-files $${DATA}
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
39
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
40 install: charprop.el
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
41 cp charprop.el ${DSTDIR}
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
42 cp `sed -n 's/^;; FILE: //p' < charprop.el` ${DSTDIR}
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
43
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
44 clean:
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
45 if test -f charprop.el; then \
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
46 rm -f `sed -n 's/^;; FILE: //p' < charprop.el`; \
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
47 fi
27d290bd441c Renamed Makefile to Makefile.in.
Eli Zaretskii <eliz@gnu.org>
parents:
diff changeset
48 rm -f charprop.el unidata-gen.elc unidata.txt