Files
libcoap/.gitignore
T
Carsten Schoenert d01e1cad2e expand i/c/coap.h to include additional information
The header coap.h should be the only header file a user has to include
to get functions from the libcoap available. Bu we have to provide not
only the header interface to the user, the user needs also some extra
information like the libcoap version or upstream related infos.

To get these automated in to a shipped coap.h header file we simple can
use some autotool magic and expand some macros while configure is
running and pasing i/c/coap.h.in. By this we can currently add the
following macro variables:

 LIBCOAP_PACKAGE_BUGREPORT -> upstream email contact
 LIBCOAP_PACKAGE_NAME      -> the used package name (libcoap)
 LIBCOAP_PACKAGE_STRING    -> package name + version
 LIBCOAP_PACKAGE_URL       -> upstream homepage
 LIBCOAP_PACKAGE_VERSION   -> the current used version

All these macros variables are expanded from the respective macro names
from the configure run. The variables are prefixed because this with
LIBCOAP_ to not get name clashing on the user side while running the
autotools of the users project.

There are probably more predefined macros needed, but they can be easily
added later into include/coap/coap.h.in.
2015-06-02 20:41:37 +02:00

60 lines
879 B
Plaintext

# .gitignore for libcoap
# ignoring autogenerated files and directories by autoreconf
INSTALL
Makefile
Makefile.in
aclocal.m4
ar-lib
autom4te.cache/
coap_config.h*
compile
config.*
configure
debian/
depcomp
install-sh
libcoap-*.tar.bz2
libtool
ltmain.sh
m4/
# warn about specific macros in the m4 directory if they missing
!m4/ax_*
missing
stamp-h1
# ignoring more files generated by the configure script or the make actions
.libs/
libcoap*.la
libcoap*.pc
src/.deps/
src/.dirstamp
src/.libs/
src/*.o
src/*.lo
# the doc/ folder
doc/Doxyfile
doc/Makefile.in
doc/doxyfile.stamp
doc/doxygen_sqlite3.db
doc/html/
# the examples/ folder
examples/.deps/
examples/client.o
examples/coap-client
examples/coap-server
examples/coap_list.o
examples/rd
examples/rd.o
examples/server.o
# the include/ folder
include/coap/coap.h
# the tests/ folder
tests/.deps
tests/testdriver
tests/*.o