~ubuntu-branches/ubuntu/utopic/lasso/utopic-proposed

« back to all changes in this revision

Viewing changes to docs/reference/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2004-09-13 09:26:34 UTC
  • Revision ID: james.westby@ubuntu.com-20040913092634-01vdfl8j9cp94exa
Tags: upstream-0.4.1
ImportĀ upstreamĀ versionĀ 0.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Makefile.in generated by automake 1.8.5 from Makefile.am.
 
2
# @configure_input@
 
3
 
 
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
 
5
# 2003, 2004  Free Software Foundation, Inc.
 
6
# This Makefile.in is free software; the Free Software Foundation
 
7
# gives unlimited permission to copy and/or distribute it,
 
8
# with or without modifications, as long as this notice is preserved.
 
9
 
 
10
# This program is distributed in the hope that it will be useful,
 
11
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
 
12
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 
13
# PARTICULAR PURPOSE.
 
14
 
 
15
@SET_MAKE@
 
16
srcdir = @srcdir@
 
17
top_srcdir = @top_srcdir@
 
18
VPATH = @srcdir@
 
19
pkgdatadir = $(datadir)/@PACKAGE@
 
20
pkglibdir = $(libdir)/@PACKAGE@
 
21
pkgincludedir = $(includedir)/@PACKAGE@
 
22
top_builddir = ../..
 
23
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 
24
INSTALL = @INSTALL@
 
25
install_sh_DATA = $(install_sh) -c -m 644
 
26
install_sh_PROGRAM = $(install_sh) -c
 
27
install_sh_SCRIPT = $(install_sh) -c
 
28
INSTALL_HEADER = $(INSTALL_DATA)
 
29
transform = $(program_transform_name)
 
30
NORMAL_INSTALL = :
 
31
PRE_INSTALL = :
 
32
POST_INSTALL = :
 
33
NORMAL_UNINSTALL = :
 
34
PRE_UNINSTALL = :
 
35
POST_UNINSTALL = :
 
36
host_triplet = @host@
 
37
subdir = docs/reference
 
38
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
39
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 
40
am__aclocal_m4_deps = $(top_srcdir)/macros/check.m4 \
 
41
        $(top_srcdir)/configure.ac
 
42
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
 
43
        $(ACLOCAL_M4)
 
44
mkinstalldirs = $(mkdir_p)
 
45
CONFIG_HEADER = $(top_builddir)/lasso/lasso_config.h
 
46
CONFIG_CLEAN_FILES =
 
47
SOURCES =
 
48
DIST_SOURCES =
 
49
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 
50
ACLOCAL = @ACLOCAL@
 
51
AMDEP_FALSE = @AMDEP_FALSE@
 
52
AMDEP_TRUE = @AMDEP_TRUE@
 
53
AMTAR = @AMTAR@
 
54
AR = @AR@
 
55
AS = @AS@
 
56
AUTOCONF = @AUTOCONF@
 
57
AUTOHEADER = @AUTOHEADER@
 
58
AUTOMAKE = @AUTOMAKE@
 
59
AWK = @AWK@
 
60
CC = @CC@
 
61
CCDEPMODE = @CCDEPMODE@
 
62
CFLAGS = @CFLAGS@
 
63
CHECK_CFLAGS = @CHECK_CFLAGS@
 
64
CHECK_LIBS = @CHECK_LIBS@
 
65
CPP = @CPP@
 
66
CPPFLAGS = @CPPFLAGS@
 
67
CSHARPCILINTERPRETER = @CSHARPCILINTERPRETER@
 
68
CSHARPCOMPILER = @CSHARPCOMPILER@
 
69
CSHARPCYGPATH_W = @CSHARPCYGPATH_W@
 
70
CSHARPDYNAMICLINKING = @CSHARPDYNAMICLINKING@
 
71
CSHARPLIBRARYPREFIX = @CSHARPLIBRARYPREFIX@
 
72
CSHARP_ENABLED_FALSE = @CSHARP_ENABLED_FALSE@
 
73
CSHARP_ENABLED_TRUE = @CSHARP_ENABLED_TRUE@
 
74
CXX = @CXX@
 
75
CXXCPP = @CXXCPP@
 
76
CXXDEPMODE = @CXXDEPMODE@
 
77
CXXFLAGS = @CXXFLAGS@
 
78
CYGPATH_W = @CYGPATH_W@
 
79
DARWIN_FALSE = @DARWIN_FALSE@
 
80
DARWIN_TRUE = @DARWIN_TRUE@
 
81
DEFS = @DEFS@
 
82
DEPDIR = @DEPDIR@
 
83
DLLTOOL = @DLLTOOL@
 
84
ECHO = @ECHO@
 
85
ECHO_C = @ECHO_C@
 
86
ECHO_N = @ECHO_N@
 
87
ECHO_T = @ECHO_T@
 
88
EGREP = @EGREP@
 
89
EXEEXT = @EXEEXT@
 
90
F77 = @F77@
 
91
FFLAGS = @FFLAGS@
 
92
GACUTIL = @GACUTIL@
 
93
GCJ = @GCJ@
 
94
GCJDEPMODE = @GCJDEPMODE@
 
95
GCJFLAGS = @GCJFLAGS@
 
96
GTK_DOC_CFLAGS = @GTK_DOC_CFLAGS@
 
97
GTK_DOC_ENABLED_FALSE = @GTK_DOC_ENABLED_FALSE@
 
98
GTK_DOC_ENABLED_TRUE = @GTK_DOC_ENABLED_TRUE@
 
99
GTK_DOC_LIBS = @GTK_DOC_LIBS@
 
100
HAVE_REST2HTML_FALSE = @HAVE_REST2HTML_FALSE@
 
101
HAVE_REST2HTML_TRUE = @HAVE_REST2HTML_TRUE@
 
102
HTML_DIR = @HTML_DIR@
 
103
INSTALL_DATA = @INSTALL_DATA@
 
104
INSTALL_PROGRAM = @INSTALL_PROGRAM@
 
105
INSTALL_SCRIPT = @INSTALL_SCRIPT@
 
106
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
 
107
JAR = @JAR@
 
108
JAVA = @JAVA@
 
109
JAVAC = @JAVAC@
 
110
JAVAC_FLAGS = @JAVAC_FLAGS@
 
111
JAVA_ENABLED_FALSE = @JAVA_ENABLED_FALSE@
 
112
JAVA_ENABLED_TRUE = @JAVA_ENABLED_TRUE@
 
113
JAVA_VERSION = @JAVA_VERSION@
 
114
JDK_INCLUDE = @JDK_INCLUDE@
 
115
LASSO_APP_DEFINES = @LASSO_APP_DEFINES@
 
116
LASSO_CFLAGS = @LASSO_CFLAGS@
 
117
LASSO_CORE_CFLAGS = @LASSO_CORE_CFLAGS@
 
118
LASSO_CORE_LIBS = @LASSO_CORE_LIBS@
 
119
LASSO_DEFINES = @LASSO_DEFINES@
 
120
LASSO_DOCDIR = @LASSO_DOCDIR@
 
121
LASSO_LIBS = @LASSO_LIBS@
 
122
LASSO_STATIC_BINARIES = @LASSO_STATIC_BINARIES@
 
123
LASSO_VERSION_INFO = @LASSO_VERSION_INFO@
 
124
LDFLAGS = @LDFLAGS@
 
125
LIBOBJS = @LIBOBJS@
 
126
LIBS = @LIBS@
 
127
LIBTOOL = @LIBTOOL@
 
128
LIBTOOL_DEPS = @LIBTOOL_DEPS@
 
129
LN_S = @LN_S@
 
130
LTLIBOBJS = @LTLIBOBJS@
 
131
MAINT = @MAINT@
 
132
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
 
133
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
 
134
MAKEINFO = @MAKEINFO@
 
135
MINGW_FALSE = @MINGW_FALSE@
 
136
MINGW_TRUE = @MINGW_TRUE@
 
137
OBJDUMP = @OBJDUMP@
 
138
OBJEXT = @OBJEXT@
 
139
PACKAGE = @PACKAGE@
 
140
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 
141
PACKAGE_NAME = @PACKAGE_NAME@
 
142
PACKAGE_STRING = @PACKAGE_STRING@
 
143
PACKAGE_TARNAME = @PACKAGE_TARNAME@
 
144
PACKAGE_VERSION = @PACKAGE_VERSION@
 
145
PATH_SEPARATOR = @PATH_SEPARATOR@
 
146
PHP = @PHP@
 
147
PHP_CONFIG = @PHP_CONFIG@
 
148
PHP_ENABLED_FALSE = @PHP_ENABLED_FALSE@
 
149
PHP_ENABLED_TRUE = @PHP_ENABLED_TRUE@
 
150
PHP_INCLUDES = @PHP_INCLUDES@
 
151
PHP_LDFLAGS = @PHP_LDFLAGS@
 
152
PHP_LIBS = @PHP_LIBS@
 
153
PHP_PATH = @PHP_PATH@
 
154
PHP_PREFIX = @PHP_PREFIX@
 
155
PHP_UNPREFIXED_EXTENSION_DIR = @PHP_UNPREFIXED_EXTENSION_DIR@
 
156
PHP_VERSION = @PHP_VERSION@
 
157
PKG_CONFIG = @PKG_CONFIG@
 
158
PYTHON = @PYTHON@
 
159
PYTHON_ENABLED_FALSE = @PYTHON_ENABLED_FALSE@
 
160
PYTHON_ENABLED_TRUE = @PYTHON_ENABLED_TRUE@
 
161
PYTHON_VERSION = @PYTHON_VERSION@
 
162
PY_CFLAGS = @PY_CFLAGS@
 
163
PY_DYNLOAD = @PY_DYNLOAD@
 
164
PY_EXTRA_LIBS = @PY_EXTRA_LIBS@
 
165
PY_LIB_A = @PY_LIB_A@
 
166
PY_LIB_LOC = @PY_LIB_LOC@
 
167
PY_SITE_PACKAGES = @PY_SITE_PACKAGES@
 
168
RANLIB = @RANLIB@
 
169
RC = @RC@
 
170
REST2HTML = @REST2HTML@
 
171
SET_MAKE = @SET_MAKE@
 
172
SHELL = @SHELL@
 
173
STRIP = @STRIP@
 
174
SWIG = @SWIG@
 
175
SWIG_PYTHON_ARGS = @SWIG_PYTHON_ARGS@
 
176
TAR = @TAR@
 
177
U = @U@
 
178
VERSION = @VERSION@
 
179
WITH_TESTS_FALSE = @WITH_TESTS_FALSE@
 
180
WITH_TESTS_TRUE = @WITH_TESTS_TRUE@
 
181
ac_ct_AR = @ac_ct_AR@
 
182
ac_ct_AS = @ac_ct_AS@
 
183
ac_ct_CC = @ac_ct_CC@
 
184
ac_ct_CXX = @ac_ct_CXX@
 
185
ac_ct_DLLTOOL = @ac_ct_DLLTOOL@
 
186
ac_ct_F77 = @ac_ct_F77@
 
187
ac_ct_OBJDUMP = @ac_ct_OBJDUMP@
 
188
ac_ct_RANLIB = @ac_ct_RANLIB@
 
189
ac_ct_RC = @ac_ct_RC@
 
190
ac_ct_STRIP = @ac_ct_STRIP@
 
191
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
 
192
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
 
193
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
 
194
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
 
195
am__fastdepGCJ_FALSE = @am__fastdepGCJ_FALSE@
 
196
am__fastdepGCJ_TRUE = @am__fastdepGCJ_TRUE@
 
197
am__include = @am__include@
 
198
am__leading_dot = @am__leading_dot@
 
199
am__quote = @am__quote@
 
200
bindir = @bindir@
 
201
build = @build@
 
202
build_alias = @build_alias@
 
203
build_cpu = @build_cpu@
 
204
build_os = @build_os@
 
205
build_vendor = @build_vendor@
 
206
datadir = @datadir@
 
207
exec_prefix = @exec_prefix@
 
208
host = @host@
 
209
host_alias = @host_alias@
 
210
host_cpu = @host_cpu@
 
211
host_os = @host_os@
 
212
host_vendor = @host_vendor@
 
213
includedir = @includedir@
 
214
infodir = @infodir@
 
215
install_sh = @install_sh@
 
216
libdir = @libdir@
 
217
libexecdir = @libexecdir@
 
218
localstatedir = @localstatedir@
 
219
mandir = @mandir@
 
220
mkdir_p = @mkdir_p@
 
221
oldincludedir = @oldincludedir@
 
222
prefix = @prefix@
 
223
program_transform_name = @program_transform_name@
 
224
sbindir = @sbindir@
 
225
sharedstatedir = @sharedstatedir@
 
226
sysconfdir = @sysconfdir@
 
227
target_alias = @target_alias@
 
228
TOP = $(top_srcdir)
 
229
DOC_MAIN_SGML_FILE = lasso.sgml
 
230
SOURCE_DIR = $(TOP)/lasso
 
231
INCLUDE_DIR = $(TOP)/lasso
 
232
EXTRA_DIST = \
 
233
        lasso-sections.txt \
 
234
        lasso.sgml \
 
235
        lasso.types 
 
236
 
 
237
 
 
238
# Extra options to pass to gtkdoc-scangobj.
 
239
SCANOBJ_OPTIONS = 
 
240
 
 
241
#
 
242
# We need to pre-process original source files
 
243
# because gtkdoc does not understand some C features
 
244
#
 
245
DOC_SOURCE_DIR = ./code
 
246
DOC_SOURCE_FILES = \
 
247
        $(shell find $(SOURCE_DIR) -name '*.c' -print ) \
 
248
        $(shell find $(INCLUDE_DIR) -name '*.h' -print )
 
249
 
 
250
SCANOBJ_FILES = lasso.hierarchy lasso.signals lasso.interfaces lasso.prerequisites lasso.args
 
251
 
 
252
# CFLAGS and LDFLAGS for compiling scan program.
 
253
GTKDOC_CFLAGS = \
 
254
        $(LASSO_CFLAGS)         \
 
255
        -I$(top_srcdir)
 
256
 
 
257
GTKDOC_LIBS = \
 
258
        $(LASSO_LIBS) \
 
259
        $(top_builddir)/lasso/liblasso.la
 
260
 
 
261
GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC)
 
262
GTKDOC_LD = $(LIBTOOL) --mode=link $(CC)
 
263
all: all-am
 
264
 
 
265
.SUFFIXES:
 
266
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
 
267
        @for dep in $?; do \
 
268
          case '$(am__configure_deps)' in \
 
269
            *$$dep*) \
 
270
              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
 
271
                && exit 0; \
 
272
              exit 1;; \
 
273
          esac; \
 
274
        done; \
 
275
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  docs/reference/Makefile'; \
 
276
        cd $(top_srcdir) && \
 
277
          $(AUTOMAKE) --gnu  docs/reference/Makefile
 
278
.PRECIOUS: Makefile
 
279
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 
280
        @case '$?' in \
 
281
          *config.status*) \
 
282
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
 
283
          *) \
 
284
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
 
285
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
 
286
        esac;
 
287
 
 
288
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
 
289
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
290
 
 
291
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
 
292
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
293
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
 
294
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 
295
 
 
296
mostlyclean-libtool:
 
297
        -rm -f *.lo
 
298
 
 
299
clean-libtool:
 
300
        -rm -rf .libs _libs
 
301
 
 
302
distclean-libtool:
 
303
        -rm -f libtool
 
304
uninstall-info-am:
 
305
tags: TAGS
 
306
TAGS:
 
307
 
 
308
ctags: CTAGS
 
309
CTAGS:
 
310
 
 
311
 
 
312
distdir: $(DISTFILES)
 
313
        @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
 
314
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
 
315
        list='$(DISTFILES)'; for file in $$list; do \
 
316
          case $$file in \
 
317
            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
 
318
            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
 
319
          esac; \
 
320
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 
321
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
 
322
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
 
323
            dir="/$$dir"; \
 
324
            $(mkdir_p) "$(distdir)$$dir"; \
 
325
          else \
 
326
            dir=''; \
 
327
          fi; \
 
328
          if test -d $$d/$$file; then \
 
329
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
 
330
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
 
331
            fi; \
 
332
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
 
333
          else \
 
334
            test -f $(distdir)/$$file \
 
335
            || cp -p $$d/$$file $(distdir)/$$file \
 
336
            || exit 1; \
 
337
          fi; \
 
338
        done
 
339
check-am: all-am
 
340
check: check-am
 
341
all-am: Makefile
 
342
installdirs:
 
343
install: install-am
 
344
install-exec: install-exec-am
 
345
install-data: install-data-am
 
346
uninstall: uninstall-am
 
347
 
 
348
install-am: all-am
 
349
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
 
350
 
 
351
installcheck: installcheck-am
 
352
install-strip:
 
353
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
 
354
          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
 
355
          `test -z '$(STRIP)' || \
 
356
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
 
357
mostlyclean-generic:
 
358
 
 
359
clean-generic:
 
360
 
 
361
distclean-generic:
 
362
        -rm -f $(CONFIG_CLEAN_FILES)
 
363
 
 
364
maintainer-clean-generic:
 
365
        @echo "This command is intended for maintainers to use"
 
366
        @echo "it deletes files that may require special tools to rebuild."
 
367
clean: clean-am
 
368
 
 
369
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
 
370
 
 
371
distclean: distclean-am
 
372
        -rm -f Makefile
 
373
distclean-am: clean-am distclean-generic distclean-libtool
 
374
 
 
375
dvi: dvi-am
 
376
 
 
377
dvi-am:
 
378
 
 
379
info: info-am
 
380
 
 
381
info-am:
 
382
 
 
383
install-data-am:
 
384
 
 
385
install-exec-am:
 
386
 
 
387
install-info: install-info-am
 
388
 
 
389
install-man:
 
390
 
 
391
installcheck-am:
 
392
 
 
393
maintainer-clean: maintainer-clean-am
 
394
        -rm -f Makefile
 
395
maintainer-clean-am: distclean-am maintainer-clean-generic \
 
396
        maintainer-clean-local
 
397
 
 
398
mostlyclean: mostlyclean-am
 
399
 
 
400
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
 
401
 
 
402
pdf: pdf-am
 
403
 
 
404
pdf-am:
 
405
 
 
406
ps: ps-am
 
407
 
 
408
ps-am:
 
409
 
 
410
uninstall-am: uninstall-info-am
 
411
 
 
412
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
 
413
        clean-local distclean distclean-generic distclean-libtool \
 
414
        distdir dvi dvi-am html html-am info info-am install \
 
415
        install-am install-data install-data-am install-exec \
 
416
        install-exec-am install-info install-info-am install-man \
 
417
        install-strip installcheck installcheck-am installdirs \
 
418
        maintainer-clean maintainer-clean-generic \
 
419
        maintainer-clean-local mostlyclean mostlyclean-generic \
 
420
        mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
 
421
        uninstall-info-am
 
422
 
 
423
 
 
424
# do nothing for all
 
425
all: docs
 
426
 
 
427
docs: sgml html clean-sources
 
428
 
 
429
html: sgml $(DOC_MAIN_SGML_FILE) lasso-index
 
430
        @echo '*** Building HTML ***'
 
431
        test -d html || mkdir html
 
432
        cd html && gtkdoc-mkhtml lasso ../build/$(DOC_MAIN_SGML_FILE)
 
433
 
 
434
#
 
435
# Prepeare sgml files from sources for each library. We are also
 
436
# doing some "magic" here by automatically adding links to XML DSig and 
 
437
# XML Enc specification, we also remove "Ptr" from the end of the link
 
438
# targets to make more references
 
439
#
 
440
sgml: templates
 
441
        @echo '*** Building SGML ***'
 
442
        cd build && gtkdoc-mkdb --module=lasso \
 
443
                    --main-sgml-file=$(DOC_MAIN_SGML_FILE) \
 
444
                    --tmpl-dir=../tmpl/ \
 
445
                    --source-dir=../$(DOC_SOURCE_DIR)/lasso \
 
446
                    --output-dir=../sgml/
 
447
        cp $(srcdir)/lasso.sgml build/
 
448
        (for i in `find sgml -name "*.sgml" -print` ; do \
 
449
            cat $$i | \
 
450
                sed 's!\(&lt;dsig:\)\([^/]*\)\(\/&gt;\)!<ulink URL=\"http://www.w3.org/TR/xmldsig-core/#sec-\2\">\1\2\3</ulink>!g' | \
 
451
                sed 's!\(&lt;enc:\)\([^/]*\)\(\/&gt;\)!<ulink URL=\"http://www.w3.org/TR/xmlenc-core/#sec-\2\">\1\2\3</ulink>!g' | \
 
452
                sed 's!linkend=\"\(.*\)Ptr\"!linkend=\"\1\"!g' > \
 
453
                $$i.tmp; \
 
454
                mv -f $$i.tmp $$i; \
 
455
        done);
 
456
        rm -f build/sgml && $(LN_S) ../sgml build/sgml
 
457
 
 
458
templates: scan
 
459
        @echo '*** Building TMPL ***'
 
460
        cd build && gtkdoc-mktmpl --module=lasso --output-dir=../tmpl/
 
461
 
 
462
scan: doc_sources
 
463
        test -d build || mkdir build
 
464
        @echo '*** Scan sources ***'
 
465
        cp $(srcdir)/lasso-sections.txt build/
 
466
        if grep -l '^..*$$' $(srcdir)/lasso.types > /dev/null ; then \
 
467
                CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANOBJ_OPTIONS) --module=lasso --types=$(srcdir)/lasso.types --output-dir=build/ ; \
 
468
        else \
 
469
                cd $(srcdir) ; \
 
470
                for i in $(SCANOBJ_FILES) ; do \
 
471
                        test -f $$i || touch $$i ; \
 
472
                done \
 
473
        fi
 
474
        gtkdoc-scan --module=lasso --source-dir=$(DOC_SOURCE_DIR)/lasso/ --output-dir=build/
 
475
 
 
476
#
 
477
# Prepare source files by coping them to "code" folder and 
 
478
# removing LASSO_EXPORT* stuff that makes gtkdoc crazy
 
479
#
 
480
doc_sources: $(DOC_SOURCE_FILES)
 
481
        @echo '*** Prepare sources ***'
 
482
        (for i in $(DOC_SOURCE_FILES) ; do \
 
483
            folder_name=`echo $$i | sed 's#$(TOP)/##' | sed 's#/[^/]*$$##'`; \
 
484
            file_name=`echo $$i | sed 's#.*/##'`; \
 
485
            test -d $(DOC_SOURCE_DIR)/$$folder_name || mkdir -p $(DOC_SOURCE_DIR)/$$folder_name; \
 
486
            cat $$i | \
 
487
                sed 's/#if.*//' | \
 
488
                sed 's/#el.*//' | \
 
489
                sed 's/#end.*//' | \
 
490
                sed 's/LASSO_EXPORT_VAR//' | \
 
491
                sed 's/LASSO_EXPORT//' > \
 
492
                $(DOC_SOURCE_DIR)/$$folder_name/$$file_name; \
 
493
        done);
 
494
 
 
495
#
 
496
# Create index for all functions. For macros and defines need to add -CAPS suffix
 
497
#
 
498
lasso-index: scan 
 
499
        @echo '*** Create functions index ***'
 
500
        grep -h '<NAME>.*</NAME>' build/lasso-*decl.txt | \
 
501
                grep -v '<NAME>extern</NAME>' | \
 
502
                sort -u | \
 
503
                sed 's#_#-#g' | \
 
504
                sed 's#<NAME>\([^-]*\)-\([^<]*\)</NAME>#<listitem><para><link linkend=\"\1-\2-CAPS\">\1-\2</link></para></listitem>#g' | \
 
505
                sed 's#<NAME>\([^<]*\)</NAME>#<listitem><para><link linkend=\"\1\">\1</link></para></listitem>#g' > \
 
506
                sgml/lasso-index.sgml
 
507
 
 
508
#dist-hook:
 
509
#       @cp -p $(srcdir)/html/*.html $(srcdir)/images/*.png $(srcdir)/*.sgml $(distdir)
 
510
 
 
511
clean-local: clean-sources
 
512
        -rm -rf $(DOC_SOURCE_DIR)
 
513
        -rm -rf .libs
 
514
        -rm -rf tmpl
 
515
        -rm -rf sgml
 
516
        -rm -rf html
 
517
        -rm -rf build
 
518
        -rm -f $(SCANOBJ_FILES) index.sgml lasso-index.sgml
 
519
        -rm -rf  $(SCANOBJ_FILES) *.o *~ *.bak *.stamp
 
520
 
 
521
clean-sources:
 
522
        -rm -rf code
 
523
 
 
524
maintainer-clean-local: clean
 
525
        -rm -rf `find sgml -name "*.sgml" -print`
 
526
# Tell versions [3.59,3.63) of GNU make to not export all variables.
 
527
# Otherwise a system limit (for SysV at least) may be exceeded.
 
528
.NOEXPORT: