9cd5a8b9d659e76e2a4d58ee2bf074a56533f727
[gnulib.git] / modules / c++defs
1 Description:
2 Function declaration macros with C++ support.
3
4 Applicability:
5 all
6
7 Files:
8 build-aux/c++defs.h
9
10 Depends-on:
11
12 configure.ac:
13
14 Makefile.am:
15 nodist_pkginclude_HEADERS += c++defs.h
16
17 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
18 # statements but through direct file reference. Therefore this snippet must be
19 # present in all Makefile.am that need it. This is ensured by the applicability
20 # 'all' defined above.
21
22 BUILT_SOURCES += c++defs.h
23 # The c++defs.h that gets inserted into generated .h files is the same as
24 # build-aux/c++defs.h, except that it has the copyright header cut off.
25 c++defs.h: $(top_srcdir)/build-aux/c++defs.h
26         $(AM_V_GEN)rm -f $@-t $@ && \
27         sed -n -e '/_GL_CXXDEFS/,$$p' \
28           < $(top_srcdir)/build-aux/c++defs.h \
29           > $@-t && \
30         mv $@-t $@
31 MOSTLYCLEANFILES += c++defs.h c++defs.h-t
32
33 CXXDEFS_H=c++defs.h
34
35 Include:
36
37 License:
38 LGPLv2+
39
40 Maintainer:
41 Bruno Haible