summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-01-15 15:11:29 +0100
committerSumit Bose <sbose@redhat.com>2009-01-15 15:11:29 +0100
commit999096b1e43e5325d536ca13690c68a877abee7e (patch)
tree80fa9d60c1392254bfe94fd61b88e9ce6eb8a0ee
parent6cae4e801ef74d5953ee95d7b2b2fc48827af783 (diff)
downloadipa_policy-999096b1e43e5325d536ca13690c68a877abee7e.tar.gz
ipa_policy-999096b1e43e5325d536ca13690c68a877abee7e.tar.xz
ipa_policy-999096b1e43e5325d536ca13690c68a877abee7e.zip
added apidoc target to create doxygen documentation
-rw-r--r--worker/Doxyfile10
-rw-r--r--worker/Makefile.am4
-rw-r--r--worker/build_macros.m42
-rw-r--r--worker/configure.ac2
4 files changed, 10 insertions, 8 deletions
diff --git a/worker/Doxyfile b/worker/Doxyfile
index 61fef29..380c4fa 100644
--- a/worker/Doxyfile
+++ b/worker/Doxyfile
@@ -1251,7 +1251,7 @@ HIDE_UNDOC_RELATIONS = YES
# toolkit from AT&T and Lucent Bell Labs. The other options in this section
# have no effect if this option is set to NO (the default)
-HAVE_DOT = NO
+HAVE_DOT = YES
# By default doxygen will write a font called FreeSans.ttf to the output
# directory and reference it in all dot files that doxygen generates. This
@@ -1294,12 +1294,12 @@ GROUP_GRAPHS = YES
# collaboration diagrams in a style similar to the OMG's Unified Modeling
# Language.
-UML_LOOK = NO
+UML_LOOK = YES
# If set to YES, the inheritance and collaboration graphs will show the
# relations between templates and their instances.
-TEMPLATE_RELATIONS = NO
+TEMPLATE_RELATIONS = YES
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
# tags are set to YES then doxygen will generate a graph for each documented
@@ -1321,7 +1321,7 @@ INCLUDED_BY_GRAPH = YES
# the time of a run. So in most cases it will be better to enable call graphs
# for selected functions only using the \callgraph command.
-CALL_GRAPH = NO
+CALL_GRAPH = YES
# If the CALLER_GRAPH and HAVE_DOT tags are set to YES then
# doxygen will generate a caller dependency graph for every global function
@@ -1329,7 +1329,7 @@ CALL_GRAPH = NO
# the time of a run. So in most cases it will be better to enable caller
# graphs for selected functions only using the \callergraph command.
-CALLER_GRAPH = NO
+CALLER_GRAPH = YES
# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
# will graphical hierarchy of all classes instead of a textual one.
diff --git a/worker/Makefile.am b/worker/Makefile.am
index 8e81725..58e651d 100644
--- a/worker/Makefile.am
+++ b/worker/Makefile.am
@@ -1,4 +1,3 @@
-
bin_PROGRAMS = worker
worker_SOURCES = worker.c debug.c helpers.c ipaaction.c xml_helper.c output_handler.c
if WITH_SSSD
@@ -6,3 +5,6 @@ if WITH_SSSD
endif
worker_CFLAGS = @XML_CPPFLAGS@ @XSLT_CFLAGS@ @LIBCURL_CPPFLAGS@ @DBUS_CFLAGS@ @POPT_CFLAGS@ @SSSD_CFLAGS@
worker_LDFLAGS = @XML_LIBS@ @XSLT_LIBS@ @LIBCURL@ @DBUS_LIBS@ @POPT_LIBS@ @SSSD_LIBS@
+
+apidoc:
+ doxygen
diff --git a/worker/build_macros.m4 b/worker/build_macros.m4
index 309bc7a..1648ec0 100644
--- a/worker/build_macros.m4
+++ b/worker/build_macros.m4
@@ -34,7 +34,7 @@ AC_DEFUN([BUILD_WITH_SSSD_DIR],
$with_sssd_dir/server/sbus/sssd_dbus_connection.o \
$with_sssd_dir/server/sbus/sssd_dbus_server.o \
-ltalloc -lldb -ltevent -ltdb"
- AC_DEFINE(WITH_SSSD,1)
+ AC_DEFINE([WITH_SSSD],[1],[Define this if you want to build a SSSD client])
fi
AC_SUBST(sssddir)
])
diff --git a/worker/configure.ac b/worker/configure.ac
index ff9bf35..dd59c25 100644
--- a/worker/configure.ac
+++ b/worker/configure.ac
@@ -18,7 +18,7 @@ AC_SUBST(POPT_CFLAGS)
AC_CHECK_HEADERS(popt.h)
AC_CHECK_LIB(popt, poptGetContext, [ POPT_LIBS="-lpopt" ])
-##AC_CONFIG_HEADERS([config.h]) /* FIXME: local config.h clashes with sssd's config.h */
+##AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
])