annotate modules/c++defs @ 14107:c1a1f592f879

replace include_HEADERS with pkgincludedir_HEADERS
author Bruce Korb <bkorb@gnu.org>
date Tue, 16 Nov 2010 13:07:00 -0800
parents f49fe7e6d028
children 873a3371d1d2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12928
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 Function declaration macros with C++ support.
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Applicability:
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 all
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 Files:
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 build-aux/c++defs.h
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 Depends-on:
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 configure.ac:
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 Makefile.am:
14107
c1a1f592f879 replace include_HEADERS with pkgincludedir_HEADERS
Bruce Korb <bkorb@gnu.org>
parents: 14102
diff changeset
15 nodist_pkgincludedir_HEADERS += c++defs.h
14102
f49fe7e6d028 add _HEADERS primaries to Makefile.am snippets for installable headers
Gary V. Vaughan <gary@gnu.org>
parents: 12928
diff changeset
16
12928
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 # statements but through direct file reference. Therefore this snippet must be
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 # present in all Makefile.am that need it. This is ensured by the applicability
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 # 'all' defined above.
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 BUILT_SOURCES += c++defs.h
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 # The c++defs.h that gets inserted into generated .h files is the same as
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 # build-aux/c++defs.h, except that it has the copyright header cut off.
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 c++defs.h: $(top_srcdir)/build-aux/c++defs.h
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 $(AM_V_GEN)rm -f $@-t $@ && \
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 sed -n -e '/_GL_CXXDEFS/,$$p' \
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 < $(top_srcdir)/build-aux/c++defs.h \
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 > $@-t && \
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 mv $@-t $@
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33 CXXDEFS_H=c++defs.h
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35 Include:
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
36
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
37 License:
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
38 LGPLv2+
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
39
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
40 Maintainer:
ab37e90dc2cd New module 'c++defs'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
41 Bruno Haible