view 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
line wrap: on
line source

Description:
Function declaration macros with C++ support.

Applicability:
all

Files:
build-aux/c++defs.h

Depends-on:

configure.ac:

Makefile.am:
nodist_pkgincludedir_HEADERS += c++defs.h

# The BUILT_SOURCES created by this Makefile snippet are not used via #include
# statements but through direct file reference. Therefore this snippet must be
# present in all Makefile.am that need it. This is ensured by the applicability
# 'all' defined above.

BUILT_SOURCES += c++defs.h
# The c++defs.h that gets inserted into generated .h files is the same as
# build-aux/c++defs.h, except that it has the copyright header cut off.
c++defs.h: $(top_srcdir)/build-aux/c++defs.h
	$(AM_V_GEN)rm -f $@-t $@ && \
	sed -n -e '/_GL_CXXDEFS/,$$p' \
	  < $(top_srcdir)/build-aux/c++defs.h \
	  > $@-t && \
	mv $@-t $@
MOSTLYCLEANFILES += c++defs.h c++defs.h-t

CXXDEFS_H=c++defs.h

Include:

License:
LGPLv2+

Maintainer:
Bruno Haible