Changeset 142
- Timestamp:
- 04/04/08 22:16:16 (4 years ago)
- Location:
- trunk
- Files:
-
- 6 deleted
- 19 edited
- 10 copied
-
. (modified) (1 prop)
-
Makefile.am (modified) (1 diff)
-
aclocal (deleted)
-
configure.ac (modified) (2 diffs)
-
doc (modified) (1 prop)
-
doc/Makefile.am (modified) (1 diff)
-
doc/changelog.sh (deleted)
-
doc/doxygen-footer.html (copied) (copied from branches/alonbl/mingw/doc/doxygen-footer.html)
-
doc/doxygen.conf.in (modified) (27 diffs)
-
doc/export-wiki.sh (deleted)
-
doc/export-wiki.xsl (deleted)
-
doc/generate-api.sh (deleted)
-
doc/nonpersistent (copied) (copied from branches/alonbl/mingw/doc/nonpersistent)
-
doc/nonpersistent/Makefile.am (copied) (copied from branches/alonbl/mingw/doc/nonpersistent/Makefile.am)
-
doc/nonpersistent/export-wiki.sh (copied) (copied from branches/alonbl/mingw/doc/nonpersistent/export-wiki.sh)
-
doc/nonpersistent/export-wiki.xsl (copied) (copied from branches/alonbl/mingw/doc/nonpersistent/export-wiki.xsl)
-
doc/nonpersistent/svn2cl.xsl (copied) (copied from branches/alonbl/mingw/doc/nonpersistent/svn2cl.xsl)
-
doc/opensc-logo.gif (copied) (copied from branches/alonbl/mingw/doc/opensc-logo.gif)
-
doc/svn2cl.xsl (deleted)
-
examples (modified) (1 prop)
-
src (modified) (1 prop)
-
src/Makefile.am (modified) (1 diff)
-
src/libp11.exports (copied) (copied from branches/alonbl/mingw/src/libp11.exports)
-
src/libpkcs11.c (modified) (1 diff)
-
src/p11_attr.c (modified) (1 diff)
-
src/p11_cert.c (modified) (1 diff)
-
src/p11_err.c (modified) (1 diff)
-
src/p11_key.c (modified) (1 diff)
-
src/p11_load.c (modified) (1 diff)
-
src/p11_misc.c (modified) (1 diff)
-
src/p11_ops.c (modified) (1 diff)
-
src/p11_rsa.c (modified) (1 diff)
-
src/p11_slot.c (modified) (1 diff)
-
src/versioninfo.rc.in (copied) (copied from branches/alonbl/mingw/src/versioninfo.rc.in)
-
svnignore (copied) (copied from branches/alonbl/mingw/svnignore)
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:ignore
set to
Makefile
Makefile.in
core
archive
acinclude.m4
aclocal.m4
autom4te.cache
compile
confdefs.h
config.*
configure
conftest
conftest.c
depcomp
install-sh
libtool
libtool.m4
ltmain.sh
missing
mkinstalldirs
so_locations
stamp-h*
.deps
.libs
.#*#
.*.bak
.*.orig
.*.rej
.*~
#*#
*.bak
*.d
*.def
*.dll
*.exe
*.la
*.lib
*.lo
*.orig
*.pdb
*.rej
*.u
*.rc
*.pc
*~
*.gz
*.bz2
*.[0-9]
*.html
*.gif
*.css
*.out
ChangeLog
doxygen.conf
-
Property
svn:ignore
set to
-
trunk/Makefile.am
r120 r142 1 # Process this file with automake to create Makefile.in 2 3 SUBDIRS = . aclocal src 4 DIST_SUBDIRS = . aclocal doc src 5 6 EXTRA_DIST = COPYING NEWS bootstrap depcomp $(shell ls examples/{README,Makefile,*.c}) 1 AUTOMAKE_OPTIONS = foreign 1.10 7 2 8 3 MAINTAINERCLEANFILES = \ 9 Makefile.in config.h.in configure \ 10 install-sh ltmain.sh missing mkinstalldirs \ 11 compile depcomp config.log config.status \ 12 config.guess config.sub acinclude.m4 aclocal.m4 4 config.log config.status \ 5 $(srcdir)/Makefile.in \ 6 $(srcdir)/config.h.in $(srcdir)/config.h.in~ $(srcdir)/configure \ 7 $(srcdir)/install-sh $(srcdir)/ltmain.sh $(srcdir)/missing \ 8 $(srcdir)/depcomp $(srcdir)/aclocal.m4 \ 9 $(srcdir)/config.guess $(srcdir)/config.sub \ 10 $(srcdir)/packaged 11 EXTRA_DIST = svnignore 13 12 14 DEPCLEANFILES = config.log configure 13 dist_noinst_DATA = COPYING bootstrap \ 14 $(srcdir)/examples/Makefile $(srcdir)/examples/*.c $(srcdir)/examples/README 15 dist_doc_DATA = NEWS 15 16 16 AUTOMAKE_OPTIONS = foreign 1.5 17 ACLOCAL_AMFLAGS = -I aclocal 17 SUBDIRS = src doc 18 19 # Allow detection of packaged tarball 20 dist-hook: 21 echo > "$(distdir)/packaged" -
trunk/configure.ac
r125 r142 1 1 dnl -*- mode: m4; -*- 2 dnl Process this file with autoconf to produce a configure script. 3 4 # Require autoconf 2.52 5 AC_PREREQ(2.52) 6 7 AC_INIT(libp11, [0.2.3-svn]) 8 9 AM_INIT_AUTOMAKE 10 11 AC_CONFIG_SRCDIR(src/libp11.h) 2 3 AC_PREREQ([2.60]) 4 5 define([PACKAGE_VERSION_MAJOR], [0]) 6 define([PACKAGE_VERSION_MINOR], [2]) 7 define([PACKAGE_VERSION_FIX], [3]) 8 9 AC_INIT([libp11], [PACKAGE_VERSION_MAJOR.PACKAGE_VERSION_MINOR.PACKAGE_VERSION_FIX-svn]) 10 AC_CONFIG_AUX_DIR([.]) 11 AM_CONFIG_HEADER([config.h]) 12 AM_INIT_AUTOMAKE([${PACKAGE_NAME}], [${PACKAGE_VERSION}]) 13 14 LIBP11_VERSION_MAJOR="PACKAGE_VERSION_MAJOR" 15 LIBP11_VERSION_MINOR="PACKAGE_VERSION_MINOR" 16 LIBP11_VERSION_FIX="PACKAGE_VERSION_FIX" 12 17 13 18 # LT Version numbers, remember to change them just *before* a release. 14 19 # (Code changed: REVISION++) 15 # (Interfaces added/removed/changed: CURRENT++, REVISION=0) 16 # (Interfaces added: AGE++) 17 # (Interfaces removed: AGE=0) 18 LIBP11_VERSION=1:1:1 19 20 AC_SUBST(LIBP11_VERSION) 20 # (Oldest interface removed: OLDEST++) 21 # (Interfaces added: CURRENT++, REVISION=0) 22 LIBP11_LT_CURRENT="1" 23 LIBP11_LT_OLDEST="0" 24 LIBP11_LT_REVISION="1" 25 LIBP11_LT_AGE="$((${LIBP11_LT_CURRENT}-${LIBP11_LT_OLDEST}))" 26 27 AC_CONFIG_SRCDIR([src/libp11.h]) 21 28 22 29 AC_CANONICAL_HOST 23 30 AC_PROG_CC 31 PKG_PROG_PKG_CONFIG 24 32 AC_C_BIGENDIAN 25 33 26 dnl Options 27 AM_MAINTAINER_MODE 34 AC_MSG_CHECKING([svn checkout]) 35 if test -e packaged; then 36 svn_checkout="no" 37 else 38 svn_checkout="yes" 39 fi 40 AC_MSG_RESULT([${svn_checkout}]) 41 42 AC_ARG_WITH( 43 [cygwin-native], 44 [AC_HELP_STRING([--with-cygwin-native], [compile native win32])], 45 , 46 [with_cygwin_native="no"] 47 ) 48 49 dnl Check for some target-specific stuff 50 test -z "${WIN32}" && WIN32="no" 51 test -z "${CYGWIN}" && CYGWIN="no" 52 case "${host}" in 53 *-mingw32*|*-winnt*) 54 WIN32="yes" 55 CPPFLAGS="${CPPFLAGS} -DWIN32_LEAN_AND_MEAN" 56 WIN_LIBPREFIX="lib" 57 ;; 58 *-cygwin*) 59 AC_MSG_CHECKING([cygwin mode to use]) 60 CYGWIN="yes" 61 if test "${with_cygwin_native}" = "yes"; then 62 AC_MSG_RESULT([Using native win32]) 63 CPPFLAGS="${CPPFLAGS} -DWIN32_LEAN_AND_MEAN" 64 CFLAGS="${CFLAGS} -mno-cygwin" 65 WIN32="yes" 66 else 67 AC_MSG_RESULT([Using cygwin]) 68 CPPFLAGS="${CPPFLAGS} -DCRYPTOKI_FORCE_WIN32" 69 WIN_LIBPREFIX="cyg" 70 AC_DEFINE([USE_CYGWIN], [1], [Define if you are on Cygwin]) 71 fi 72 ;; 73 esac 74 75 AC_ARG_ENABLE( 76 [strict], 77 [AC_HELP_STRING([--enable-strict], [enable strict compile mode @<:@disabled@:>@])], 78 , 79 [enable_strict="no"] 80 ) 81 82 AC_ARG_ENABLE( 83 [pedantic], 84 [AC_HELP_STRING([--enable-pedantic], [enable pedantic compile mode @<:@disabled@:>@])], 85 , 86 [enable_pedantic="no"] 87 ) 88 89 AC_ARG_ENABLE( 90 [doc], 91 [AC_HELP_STRING([--enable-doc], [enable installation of documents. @<:@disabled@:>@])], 92 , 93 [enable_doc="no"] 94 ) 95 96 AC_ARG_ENABLE( 97 [api-doc], 98 [AC_HELP_STRING([--enable-api-doc], [enable generation and installation of api documents. @<:@disabled@:>@])], 99 , 100 [enable_api_doc="no"] 101 ) 102 103 AC_ARG_WITH( 104 [apidocdir], 105 [AC_HELP_STRING([--with-apidocdir], [put API documents at this directory, default HTMLDIR/api])], 106 [apidocdir="${with_apidocdir}"], 107 [apidocdir="\$(htmldir)/api"] 108 ) 28 109 29 110 dnl Checks for programs. 30 111 AC_PROG_CPP 31 112 AC_PROG_INSTALL 113 AC_PROG_LN_S 114 AC_PROG_MKDIR_P 115 AC_PROG_SED 116 AC_PROG_MAKE_SET 32 117 33 118 dnl Add libtool support. 119 AC_LIBTOOL_WIN32_DLL 120 AC_LIBTOOL_RC 34 121 AC_PROG_LIBTOOL 35 122 … … 37 124 AC_HEADER_STDC 38 125 AC_HEADER_SYS_WAIT 39 AC_CHECK_HEADERS([errno.h fcntl.h malloc.h stdlib.h inttypes.h string.h strings.h sys/time.h unistd.h locale.h getopt.h dlfcn.h utmp.h]) 40 41 dnl use ltdl 42 AC_LIB_LINKFLAGS(ltdl) 43 44 saved_LIBS="$LIBS" 45 LIBS="$saved_LIBS $LIBLTDL" 46 AC_CHECK_HEADER([ltdl.h], [AC_MSG_RESULT([yes])], 47 [ AC_MSG_ERROR([ltdl.h not found, please install libltdl and/or libtool]) ]) 48 LIBS="$saved_LIBS" 49 50 PKG_CHECK_MODULES(OPENSSL, [openssl]) 126 AC_CHECK_HEADERS([ \ 127 errno.h fcntl.h malloc.h stdlib.h \ 128 inttypes.h string.h strings.h sys/time.h \ 129 unistd.h locale.h getopt.h dlfcn.h utmp.h \ 130 ]) 131 132 AC_CHECK_PROGS([DOXYGEN],[doxygen]) 133 test "${enable_api_doc}" = "yes" -a -z "${DOXYGEN}" && AC_MSG_ERROR([doxygen is required for api doc]) 134 135 dnl These required for svn checkout 136 AC_ARG_VAR([XSLTPROC], [xsltproc utility]) 137 AC_ARG_VAR([SVN], [subversion utility]) 138 AC_ARG_VAR([WGET], [wget utility]) 139 AC_ARG_VAR([WGET_OPTS], [wget options]) 140 AC_ARG_VAR([TR], [tr utility]) 141 AC_CHECK_PROGS([XSLTPROC],[xsltproc]) 142 AC_CHECK_PROGS([SVN],[svn]) 143 AC_CHECK_PROGS([WGET],[wget]) 144 AC_CHECK_PROGS([TR],[tr]) 145 test -z "${WGET_OPTS}" && WGET_OPTS="-nv" 146 147 dnl svn checkout dependencies 148 if test "${svn_checkout}" = "yes"; then 149 AC_MSG_CHECKING([XSLTPROC requirement]) 150 if test -n "${XSLTPROC}"; then 151 AC_MSG_RESULT([ok]) 152 else 153 if test "${enable_doc}" = "yes"; then 154 AC_MSG_ERROR([Missing XSLTPROC svn build with doc]) 155 else 156 AC_MSG_WARN(["make dist" will not work]) 157 fi 158 fi 159 160 AC_MSG_CHECKING([svn doc build dependencies]) 161 if test -n "${SVN}" -a -n "${TR}" -a -n "${WGET}"; then 162 AC_MSG_RESULT([ok]) 163 else 164 if test "${enable_doc}" = "yes"; then 165 AC_MSG_ERROR([Missing SVN, TR or WGET for svn doc build]) 166 else 167 AC_MSG_WARN(["make dist" will not work]) 168 fi 169 fi 170 fi 171 172 AC_ARG_VAR([LTLIB_CFLAGS], [C compiler flags for libltdl]) 173 AC_ARG_VAR([LTLIB_LIBS], [linker flags for libltdl]) 174 if test -z "${LTLIB_LIBS}"; then 175 AC_CHECK_LIB( 176 [ltdl], 177 [lt_dlopen], 178 [LTLIB_LIBS="-lltdl"], 179 [AC_MSG_ERROR([ltdl not found, please install libltdl and/or libtool])] 180 ) 181 182 fi 183 saved_CFLAGS="${CFLAGS}" 184 CFLAGS="${CFLAGS} ${LTLIB_CFLAGS}" 185 AC_CHECK_HEADER( 186 [ltdl.h], 187 , 188 [AC_MSG_ERROR([ltdl.h not found, please install libltdl and/or libtool])] 189 ) 190 CFLAGS="${saved_CFLAGS}" 191 192 PKG_CHECK_MODULES( 193 [OPENSSL], 194 [libcrypto >= 0.9.7], 195 , 196 [PKG_CHECK_MODULES( 197 [OPENSSL], 198 [openssl >= 0.9.7], 199 , 200 [AC_CHECK_LIB( 201 [crypto], 202 [RSA_version], 203 [OPENSSL_LIBS="-lcrypto"], 204 [AC_MSG_ERROR([Cannot find OpenSSL])] 205 )] 206 )] 207 ) 208 209 pkgconfigdir="\$(libdir)/pkgconfig" 210 211 AC_SUBST([pkgconfigdir]) 212 AC_SUBST([apidocdir]) 213 AC_SUBST([LIBP11_VERSION_MAJOR]) 214 AC_SUBST([LIBP11_VERSION_MINOR]) 215 AC_SUBST([LIBP11_VERSION_FIX]) 216 AC_SUBST([LIBP11_LT_CURRENT]) 217 AC_SUBST([LIBP11_LT_REVISION]) 218 AC_SUBST([LIBP11_LT_AGE]) 219 AC_SUBST([LIBP11_LT_OLDEST]) 220 AC_SUBST([WIN_LIBPREFIX]) 221 222 AM_CONDITIONAL([SVN_CHECKOUT], [test "${svn_checkout}" = "yes"]) 223 AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"]) 224 AM_CONDITIONAL([CYGWIN], [test "${CYGWIN}" = "yes"]) 225 AM_CONDITIONAL([ENABLE_DOC], [test "${enable_doc}" = "yes"]) 226 AM_CONDITIONAL([ENABLE_API_DOC], [test "${enable_api_doc}" = "yes"]) 227 228 if test "${enable_pedantic}" = "yes"; then 229 enable_strict="yes"; 230 CFLAGS="${CFLAGS} -pedantic" 231 fi 232 if test "${enable_strict}" = "yes"; then 233 CFLAGS="${CFLAGS} -Wall -Wextra" 234 fi 51 235 52 236 AC_OUTPUT([ 53 Makefile 54 aclocal/Makefile 55 doc/Makefile 56 doc/doxygen.conf 57 src/Makefile 58 src/libp11.pc 237 Makefile 238 src/Makefile 239 src/libp11.pc 240 src/versioninfo.rc 241 doc/Makefile 242 doc/doxygen.conf 243 doc/nonpersistent/Makefile 59 244 ]) 245 246 cat <<EOF 247 248 libp11 has been configured with the following options: 249 250 251 Version: ${PACKAGE_VERSION} 252 Libraries: $(eval eval eval echo "${libdir}") 253 254 doc support: ${enable_doc} 255 api doc support: ${enable_api_doc} 256 257 Host: ${host} 258 Compiler: ${CC} 259 Preprocessor flags: ${CPPFLAGS} 260 Compiler flags: ${CFLAGS} 261 Linker flags: ${LDFLAGS} 262 Libraries: ${LIBS} 263 264 LTLIB_CFLAGS: ${LTLIB_CFLAGS} 265 LTLIB_LIBS: ${LTLIB_LIBS} 266 OPENSSL_CFLAGS: ${OPENSSL_CFLAGS} 267 OPENSSL_LIBS: ${OPENSSL_LIBS} 268 269 EOF -
trunk/doc
-
Property
svn:ignore
set to
Makefile
Makefile.in
core
archive
acinclude.m4
aclocal.m4
autom4te.cache
compile
confdefs.h
config.*
configure
conftest
conftest.c
depcomp
install-sh
libtool
libtool.m4
ltmain.sh
missing
mkinstalldirs
so_locations
stamp-h*
.deps
.libs
.#*#
.*.bak
.*.orig
.*.rej
.*~
#*#
*.bak
*.d
*.def
*.dll
*.exe
*.la
*.lib
*.lo
*.orig
*.pdb
*.rej
*.u
*.rc
*.pc
*~
*.gz
*.bz2
*.[0-9]
*.html
*.gif
*.css
*.out
ChangeLog
doxygen.conf
-
Property
svn:ignore
set to
-
trunk/doc/Makefile.am
r76 r142 1 # Process this file with automake to createMakefile.in1 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in 2 2 3 MAINTAINERCLEANFILES = Makefile.in $(HTML) ChangeLog 3 if ENABLE_DOC 4 SUBDIRS = nonpersistent 5 endif 6 DIST_SUBDIRS = nonpersistent 4 7 5 EXTRA_DIST = README export-wiki.sh export-wiki.xsl \ 6 generate-api.sh doxygen.conf.in $(HTML) index.html ChangeLog 8 dist_doc_DATA = README 9 dist_noinst_DATA = $(srcdir)/doxygen-footer.html $(srcdir)/*.gif 7 10 8 HTML= $(shell ls $(srcdir)/*.html $(srcdir)/*.css $(srcdir)/api/*) 11 if ENABLE_API_DOC 9 12 10 index.html: 11 sh $(srcdir)/export-wiki.sh $(srcdir) 12 sh $(srcdir)/generate-api.sh $(srcdir) 13 apidoc_DATA=api.out/html/* 13 14 14 ChangeLog: 15 sh $(srcdir)/changelog.sh $(srcdir) 15 16 api.out/html/*: \ 17 $(top_srcdir)/src/*.h \ 18 $(srcdir)/*.gif \ 19 doxygen.conf 20 -rm -fr api.out 21 $(DOXYGEN) doxygen.conf 22 cp "$(srcdir)"/*.gif api.out/html 23 24 endif 25 26 clean-local: 27 -rm -fr api.out -
trunk/doc/doxygen.conf.in
r38 r142 1 # Doxyfile 1. 4.21 # Doxyfile 1.5.4 2 2 3 3 # This file describes the settings to be used by the documentation system … … 15 15 #--------------------------------------------------------------------------- 16 16 17 # This tag specifies the encoding used for all characters in the config file that 18 # follow. The default is UTF-8 which is also the encoding used for all text before 19 # the first occurrence of this tag. Doxygen uses libiconv (or the iconv built into 20 # libc) for the transcoding. See http://www.gnu.org/software/libiconv for the list of 21 # possible encodings. 22 23 DOXYFILE_ENCODING = UTF-8 24 17 25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 18 26 # by quotes) that should identify the project. … … 31 39 # where doxygen was started. If left blank the current directory will be used. 32 40 33 OUTPUT_DIRECTORY = doc41 OUTPUT_DIRECTORY = api.out 34 42 35 43 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create … … 46 54 # information to generate all constant output in the proper language. 47 55 # The default language is English, other supported languages are: 48 # Brazilian, Catalan, Chinese, Chinese-Traditional, Croatian, Czech, Danish,49 # Dutch, Finnish, French, German, Greek, Hungarian, Italian, Japanese,50 # Japanese-en (Japanese with English messages), Korean, Korean-en, Norwegian,51 # Polish, Portuguese, Romanian, Russian, Serbian, Slovak, Slovene, Spanish,52 # S wedish, and Ukrainian.56 # Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, 57 # Croatian, Czech, Danish, Dutch, Finnish, French, German, Greek, Hungarian, 58 # Italian, Japanese, Japanese-en (Japanese with English messages), Korean, 59 # Korean-en, Lithuanian, Norwegian, Polish, Portuguese, Romanian, Russian, 60 # Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian. 53 61 54 62 OUTPUT_LANGUAGE = English 55 56 # This tag can be used to specify the encoding used in the generated output.57 # The encoding is not always determined by the language that is chosen,58 # but also whether or not the output is meant for Windows or non-Windows users.59 # In case there is a difference, setting the USE_WINDOWS_ENCODING tag to YES60 # forces the Windows encoding (this is the default for the Windows binary),61 # whereas setting the tag to NO uses a Unix-style encoding (the default for62 # all platforms other than Windows).63 64 USE_WINDOWS_ENCODING = NO65 63 66 64 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will … … 116 114 # path to strip. 117 115 118 STRIP_FROM_PATH = 116 STRIP_FROM_PATH = @top_srcdir@/src 119 117 120 118 # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of … … 136 134 # will interpret the first line (until the first dot) of a JavaDoc-style 137 135 # comment as the brief description. If set to NO, the JavaDoc 138 # comments will behave just like the Qt-style comments (thus requiring an139 # explicit @brief command for a brief description.136 # comments will behave just like regular Qt-style comments 137 # (thus requiring an explicit @brief command for a brief description.) 140 138 141 139 JAVADOC_AUTOBRIEF = YES 140 141 # If the QT_AUTOBRIEF tag is set to YES then Doxygen will 142 # interpret the first line (until the first dot) of a Qt-style 143 # comment as the brief description. If set to NO, the comments 144 # will behave just like regular Qt-style comments (thus requiring 145 # an explicit \brief command for a brief description.) 146 147 QT_AUTOBRIEF = NO 142 148 143 149 # The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen … … 161 167 162 168 INHERIT_DOCS = YES 163 164 # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC165 # tag is set to YES, then doxygen will reuse the documentation of the first166 # member in the group (if any) for the other members of the group. By default167 # all members of a group must be documented explicitly.168 169 DISTRIBUTE_GROUP_DOC = NO170 169 171 170 # If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce … … 196 195 OPTIMIZE_OUTPUT_FOR_C = YES 197 196 198 # Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java sources199 # only. Doxygen will then generate output that is more tailored for Java.197 # Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java 198 # sources only. Doxygen will then generate output that is more tailored for Java. 200 199 # For instance, namespaces will be presented as packages, qualified scopes 201 200 # will look different, etc. 202 201 203 202 OPTIMIZE_OUTPUT_JAVA = NO 203 204 # If you use STL classes (i.e. std::string, std::vector, etc.) but do not want to 205 # include (a tag file for) the STL sources as input, then you should 206 # set this tag to YES in order to let doxygen match functions declarations and 207 # definitions whose arguments contain STL classes (e.g. func(std::string); v.s. 208 # func(std::string) {}). This also make the inheritance and collaboration 209 # diagrams that involve STL classes more complete and accurate. 210 211 BUILTIN_STL_SUPPORT = NO 212 213 # If you use Microsoft's C++/CLI language, you should set this option to YES to 214 # enable parsing support. 215 216 CPP_CLI_SUPPORT = NO 217 218 # Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. 219 # Doxygen will parse them like normal C++ but will assume all classes use public 220 # instead of private inheritance when no explicit protection keyword is present. 221 222 SIP_SUPPORT = NO 223 224 # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC 225 # tag is set to YES, then doxygen will reuse the documentation of the first 226 # member in the group (if any) for the other members of the group. By default 227 # all members of a group must be documented explicitly. 228 229 DISTRIBUTE_GROUP_DOC = NO 204 230 205 231 # Set the SUBGROUPING tag to YES (the default) to allow class member groups of … … 211 237 SUBGROUPING = YES 212 238 239 # When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct (or union) is 240 # documented as struct with the name of the typedef. So 241 # typedef struct TypeS {} TypeT, will appear in the documentation as a struct 242 # with name TypeT. When disabled the typedef will appear as a member of a file, 243 # namespace, or class. And the struct will be named TypeS. This can typically 244 # be useful for C code where the coding convention is that all structs are 245 # typedef'ed and only the typedef is referenced never the struct's name. 246 247 TYPEDEF_HIDES_STRUCT = NO 248 213 249 #--------------------------------------------------------------------------- 214 250 # Build related configuration options … … 244 280 245 281 EXTRACT_LOCAL_METHODS = NO 282 283 # If this flag is set to YES, the members of anonymous namespaces will be extracted 284 # and appear in the documentation as a namespace called 'anonymous_namespace{file}', 285 # where file will be replaced with the base name of the file that contains the anonymous 286 # namespace. By default anonymous namespace are hidden. 287 288 EXTRACT_ANON_NSPACES = NO 246 289 247 290 # If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all … … 377 420 # If the sources in your project are distributed over multiple directories 378 421 # then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy 379 # in the documentation. 422 # in the documentation. The default is NO. 380 423 381 424 SHOW_DIRECTORIES = YES … … 386 429 # popen()) the command <command> <input-file>, where <command> is the value of 387 430 # the FILE_VERSION_FILTER tag, and <input-file> is the name of an input file 388 # provided by doxygen. Whatever the prog am writes to standard output431 # provided by doxygen. Whatever the program writes to standard output 389 432 # is used as the file version. See the manual for examples. 390 433 … … 434 477 # be obtained via FILE_VERSION_FILTER) 435 478 436 WARN_FORMAT = "$file:$line: $text "479 WARN_FORMAT = "$file:$line: $text " 437 480 438 481 # The WARN_LOGFILE tag can be used to specify a file to which warning … … 451 494 # with spaces. 452 495 453 INPUT = src/ 496 INPUT = @top_srcdir@/src 497 498 # This tag can be used to specify the character encoding of the source files that 499 # doxygen parses. Internally doxygen uses the UTF-8 encoding, which is also the default 500 # input encoding. Doxygen uses libiconv (or the iconv built into libc) for the transcoding. 501 # See http://www.gnu.org/software/libiconv for the list of possible encodings. 502 503 INPUT_ENCODING = UTF-8 454 504 455 505 # If the value of the INPUT tag contains directories, you can use the … … 458 508 # blank the following patterns are tested: 459 509 # *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx 460 # *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm 510 # *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90 461 511 462 512 FILE_PATTERNS = libp11.h … … 482 532 # If the value of the INPUT tag contains directories, you can use the 483 533 # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude 484 # certain files from those directories. 485 486 EXCLUDE_PATTERNS = 534 # certain files from those directories. Note that the wildcards are matched 535 # against the file with absolute path, so to exclude all test directories 536 # for example use the pattern */test/* 537 538 EXCLUDE_PATTERNS = */.svn/* 539 540 # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names 541 # (namespaces, classes, functions, etc.) that should be excluded from the output. 542 # The symbol name can be a fully qualified name, a word, or if the wildcard * is used, 543 # a substring. Examples: ANamespace, AClass, AClass::ANamespace, ANamespace::*Test 544 545 EXCLUDE_SYMBOLS = 487 546 488 547 # The EXAMPLE_PATH tag can be used to specify one or more files or … … 544 603 # be generated. Documented entities will be cross-referenced with these sources. 545 604 # Note: To get rid of all source code in the generated output, make sure also 546 # VERBATIM_HEADERS is set to NO. 605 # VERBATIM_HEADERS is set to NO. If you have enabled CALL_GRAPH or CALLER_GRAPH 606 # then you must also enable this option. If you don't then doxygen will produce 607 # a warning and turn it on anyway 547 608 548 609 SOURCE_BROWSER = YES … … 570 631 571 632 REFERENCES_RELATION = YES 633 634 # If the REFERENCES_LINK_SOURCE tag is set to YES (the default) 635 # and SOURCE_BROWSER tag is set to YES, then the hyperlinks from 636 # functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will 637 # link to the source code. Otherwise they will link to the documentstion. 638 639 REFERENCES_LINK_SOURCE = YES 640 641 # If the USE_HTAGS tag is set to YES then the references to source code 642 # will point to the HTML generated by the htags(1) tool instead of doxygen 643 # built-in source browser. The htags tool is part of GNU's global source 644 # tagging system (see http://www.gnu.org/software/global/global.html). You 645 # will need version 4.8.6 or higher. 646 647 USE_HTAGS = NO 572 648 573 649 # If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen … … 613 689 # put in front of it. If left blank `html' will be used as the default path. 614 690 615 HTML_OUTPUT = api691 HTML_OUTPUT = html 616 692 617 693 # The HTML_FILE_EXTENSION tag can be used to specify the file extension for … … 631 707 # standard footer. 632 708 633 HTML_FOOTER = 709 HTML_FOOTER = @srcdir@/doxygen-footer.html 634 710 635 711 # The HTML_STYLESHEET tag can be used to specify a user-defined cascading … … 655 731 GENERATE_HTMLHELP = NO 656 732 733 # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML 734 # documentation will contain sections that can be hidden and shown after the 735 # page has loaded. For this to work a browser that supports 736 # JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox 737 # Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari). 738 739 HTML_DYNAMIC_SECTIONS = NO 740 657 741 # If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can 658 742 # be used to specify the file name of the resulting .chm file. You … … 957 1041 # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES 958 1042 # then the macro expansion is limited to the macros specified with the 959 # PREDEFINED and EXPAND_AS_ PREDEFINED tags.1043 # PREDEFINED and EXPAND_AS_DEFINED tags. 960 1044 961 1045 EXPAND_ONLY_PREDEF = NO … … 1060 1144 CLASS_DIAGRAMS = YES 1061 1145 1146 # You can define message sequence charts within doxygen comments using the \msc 1147 # command. Doxygen will then run the mscgen tool (see http://www.mcternan.me.uk/mscgen/) to 1148 # produce the chart and insert it in the documentation. The MSCGEN_PATH tag allows you to 1149 # specify the directory where the mscgen tool resides. If left empty the tool is assumed to 1150 # be found in the default search path. 1151 1152 MSCGEN_PATH = 1153 1062 1154 # If set to YES, the inheritance and collaboration graphs will hide 1063 1155 # inheritance and usage relations if the target is undocumented … … 1117 1209 INCLUDED_BY_GRAPH = YES 1118 1210 1119 # If the CALL_GRAPH and HAVE_DOT tags are set to YES then doxygen will1211 # If the CALL_GRAPH, SOURCE_BROWSER and HAVE_DOT tags are set to YES then doxygen will 1120 1212 # generate a call dependency graph for every global function or class method. 1121 1213 # Note that enabling this option will significantly increase the time of a run. … … 1125 1217 CALL_GRAPH = NO 1126 1218 1219 # If the CALLER_GRAPH, SOURCE_BROWSER and HAVE_DOT tags are set to YES then doxygen will 1220 # generate a caller dependency graph for every global function or class method. 1221 # Note that enabling this option will significantly increase the time of a run. 1222 # So in most cases it will be better to enable caller graphs for selected 1223 # functions only using the \callergraph command. 1224 1225 CALLER_GRAPH = NO 1226 1127 1227 # If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen 1128 1228 # will graphical hierarchy of all classes instead of a textual one. … … 1154 1254 DOTFILE_DIRS = 1155 1255 1156 # The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width 1157 # (in pixels) of the graphs generated by dot. If a graph becomes larger than 1158 # this value, doxygen will try to truncate the graph, so that it fits within 1159 # the specified constraint. Beware that most browsers cannot cope with very 1160 # large images. 1161 1162 MAX_DOT_GRAPH_WIDTH = 1024 1163 1164 # The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height 1165 # (in pixels) of the graphs generated by dot. If a graph becomes larger than 1166 # this value, doxygen will try to truncate the graph, so that it fits within 1167 # the specified constraint. Beware that most browsers cannot cope with very 1168 # large images. 1169 1170 MAX_DOT_GRAPH_HEIGHT = 1024 1256 # The MAX_DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of 1257 # nodes that will be shown in the graph. If the number of nodes in a graph 1258 # becomes larger than this value, doxygen will truncate the graph, which is 1259 # visualized by representing a node as a red box. Note that doxygen if the number 1260 # of direct children of the root node in a graph is already larger than 1261 # MAX_DOT_GRAPH_NOTES then the graph will not be shown at all. Also note 1262 # that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. 1263 1264 DOT_GRAPH_MAX_NODES = 50 1171 1265 1172 1266 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the … … 1175 1269 # that lay further from the root node will be omitted. Note that setting this 1176 1270 # option to 1 or 2 may greatly reduce the computation time needed for large 1177 # code bases. Also note that a graph may be further truncated if the graph's 1178 # image dimensions are not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH 1179 # and MAX_DOT_GRAPH_HEIGHT). If 0 is used for the depth value (the default), 1180 # the graph is not depth-constrained. 1271 # code bases. Also note that the size of a graph can be further restricted by 1272 # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. 1181 1273 1182 1274 MAX_DOT_GRAPH_DEPTH = 0 -
trunk/examples
-
Property
svn:ignore
set to
Makefile
Makefile.in
core
archive
acinclude.m4
aclocal.m4
autom4te.cache
compile
confdefs.h
config.*
configure
conftest
conftest.c
depcomp
install-sh
libtool
libtool.m4
ltmain.sh
missing
mkinstalldirs
so_locations
stamp-h*
.deps
.libs
.#*#
.*.bak
.*.orig
.*.rej
.*~
#*#
*.bak
*.d
*.def
*.dll
*.exe
*.la
*.lib
*.lo
*.orig
*.pdb
*.rej
*.u
*.rc
*.pc
*~
*.gz
*.bz2
*.[0-9]
*.html
*.gif
*.css
*.out
ChangeLog
doxygen.conf
-
Property
svn:ignore
set to
-
trunk/src
-
Property
svn:ignore
set to
Makefile
Makefile.in
core
archive
acinclude.m4
aclocal.m4
autom4te.cache
compile
confdefs.h
config.*
configure
conftest
conftest.c
depcomp
install-sh
libtool
libtool.m4
ltmain.sh
missing
mkinstalldirs
so_locations
stamp-h*
.deps
.libs
.#*#
.*.bak
.*.orig
.*.rej
.*~
#*#
*.bak
*.d
*.def
*.dll
*.exe
*.la
*.lib
*.lo
*.orig
*.pdb
*.rej
*.u
*.rc
*.pc
*~
*.gz
*.bz2
*.[0-9]
*.html
*.gif
*.css
*.out
ChangeLog
doxygen.conf
-
Property
svn:ignore
set to
-
trunk/src/Makefile.am
r102 r142 1 # Process this file with automake to create Makefile.in 2 3 MAINTAINERCLEANFILES = Makefile.in 4 DISTCLEANFILES= libp11.pc 1 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in 2 CLEANFILES = libp11.pc 5 3 EXTRA_DIST = Makefile.mak makedef.pl 6 7 INCLUDES = $(OPENSSL_CFLAGS)8 4 9 5 noinst_HEADERS= libp11-int.h pkcs11.h 10 6 include_HEADERS= libp11.h 11 12 7 lib_LTLIBRARIES = libp11.la 8 pkgconfig_DATA = libp11.pc 13 9 14 10 libp11_la_SOURCES = libpkcs11.c p11_attr.c p11_cert.c p11_err.c p11_key.c \ 15 p11_load.c p11_misc.c p11_ops.c p11_rsa.c p11_slot.c 11 p11_load.c p11_misc.c p11_ops.c p11_rsa.c p11_slot.c \ 12 libp11.exports 13 if WIN32 14 nodist_libp11_la_SOURCES = versioninfo.rc 15 endif 16 libp11_la_CFLAGS = $(AM_CFLAGS) $(OPENSSL_CFLAGS) $(LTLIB_CFLAGS) 17 libp11_la_LIBADD = $(OPENSSL_LIBS) $(LTLIB_LIBS) 18 libp11_la_LDFLAGS = $(AM_LDFLAGS) \ 19 -version-info @LIBP11_LT_CURRENT@:@LIBP11_LT_REVISION@:@LIBP11_LT_AGE@ \ 20 -export-symbols "$(srcdir)/libp11.exports" \ 21 -no-undefined 16 22 17 libp11_la_LDFLAGS = -version-info $(LIBP11_VERSION) 18 libp11_la_LIBADD = $(OPENSSL_LIBS) $(LTLIBLTDL) 23 if WIN32 24 # def file required for MS users to build library 25 mylibdir=$(libdir) 26 mylib_DATA=.libs/@WIN_LIBPREFIX@p11-@LIBP11_LT_OLDEST@.dll.def 27 .libs/@WIN_LIBPREFIX@p11-@LIBP11_LT_OLDEST@.dll.def: libp11.la 28 endif 19 29 20 pkgconfigdir = $(libdir)/pkgconfig 21 pkgconfig_DATA = libp11.pc 30 RCCOMPILE = $(RC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 31 $(AM_CPPFLAGS) $(CPPFLAGS) 32 LTRCCOMPILE = $(LIBTOOL) --mode=compile --tag=RC $(RCCOMPILE) 33 34 .rc.lo: 35 $(LTRCCOMPILE) -i "$<" -o "$@" 36 37 .rc.o: 38 $(RCCOMPILE) -i "$<" -o "$@" 39 -
trunk/src/libpkcs11.c
r102 r142 24 24 */ 25 25 26 #include <config.h> 26 27 #include <stdlib.h> 27 28 #include <stdio.h> -
trunk/src/p11_attr.c
r101 r142 26 26 */ 27 27 28 #include <config.h> 28 29 #include <assert.h> 29 30 #include <string.h> -
trunk/src/p11_cert.c
r116 r142 23 23 */ 24 24 25 #include <config.h> 25 26 #include <string.h> 26 27 #include "libp11-int.h" -
trunk/src/p11_err.c
r2 r142 17 17 */ 18 18 19 #include <config.h> 19 20 #include "libp11-int.h" 20 21 -
trunk/src/p11_key.c
r112 r142 17 17 */ 18 18 19 #include <config.h> 19 20 #include <string.h> 20 21 #include "libp11-int.h" -
trunk/src/p11_load.c
r31 r142 17 17 */ 18 18 19 #include <config.h> 19 20 #include <string.h> 20 21 #include "libp11-int.h" -
trunk/src/p11_misc.c
r2 r142 17 17 */ 18 18 19 #include <config.h> 19 20 #include <string.h> 20 21 #include <openssl/crypto.h> -
trunk/src/p11_ops.c
r109 r142 21 21 /* this file does certain cryptographic operations via the pkcs11 library */ 22 22 23 #include <config.h> 23 24 #include <string.h> 24 25 #include "libp11-int.h" -
trunk/src/p11_rsa.c
r114 r142 22 22 */ 23 23 24 #include <config.h> 24 25 #include <string.h> 25 26 #include <openssl/evp.h> -
trunk/src/p11_slot.c
r119 r142 17 17 */ 18 18 19 #include <config.h> 19 20 #include <string.h> 20 21 #include <openssl/buffer.h>
Note: See TracChangeset
for help on using the changeset viewer.
