Added SILC Thread Queue API
[silc.git] / util / robodoc / Source / makefile.in
1 # makefile.in generated automatically by automake 1.4 from makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13 #
14 #
15
16
17 SHELL = @SHELL@
18
19 srcdir = @srcdir@
20 top_srcdir = @top_srcdir@
21 VPATH = @srcdir@
22 prefix = @prefix@
23 exec_prefix = @exec_prefix@
24
25 bindir = @bindir@
26 sbindir = @sbindir@
27 libexecdir = @libexecdir@
28 datadir = @datadir@
29 sysconfdir = @sysconfdir@
30 sharedstatedir = @sharedstatedir@
31 localstatedir = @localstatedir@
32 libdir = @libdir@
33 infodir = @infodir@
34 mandir = @mandir@
35 includedir = @includedir@
36 oldincludedir = /usr/include
37
38 DESTDIR =
39
40 pkgdatadir = $(datadir)/@PACKAGE@
41 pkglibdir = $(libdir)/@PACKAGE@
42 pkgincludedir = $(includedir)/@PACKAGE@
43
44 top_builddir = ..
45
46 ACLOCAL = @ACLOCAL@
47 AUTOCONF = @AUTOCONF@
48 AUTOMAKE = @AUTOMAKE@
49 AUTOHEADER = @AUTOHEADER@
50
51 INSTALL = @INSTALL@
52 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
53 INSTALL_DATA = @INSTALL_DATA@
54 INSTALL_SCRIPT = @INSTALL_SCRIPT@
55 transform = @program_transform_name@
56
57 NORMAL_INSTALL = :
58 PRE_INSTALL = :
59 POST_INSTALL = :
60 NORMAL_UNINSTALL = :
61 PRE_UNINSTALL = :
62 POST_UNINSTALL = :
63 CC = @CC@
64 MAKEINFO = @MAKEINFO@
65 PACKAGE = @PACKAGE@
66 VERSION = @VERSION@
67
68 bin_PROGRAMS = robodoc
69 robodoc_SOURCES = analyser.c analyser.h config.h folds.c folds.h      generator.c generator.h headers.c headers.h items.c items.h      links.c links.h robodoc.c robodoc.h util.c util.h
70
71
72 ###############################################################
73
74 ROBODOC = ./robodoc
75 ROBOOPTS = C SORT -v
76 BROWSER = netscape
77
78 # Your source files.
79 #
80 SOURCES = analyser.c generator.c items.c util.c   folds.c headers.c links.c robodoc.c   analyser.h generator.h items.h util.h   folds.h headers.h links.h robodoc.h
81
82
83 # The name of your Project
84 #
85 PROJECT = ROBODoc
86
87 # The various documentation files, derived from the source files.
88 # HTML
89 #
90 HTMLDOCS = $(SOURCES:=.html)
91 HTMLXREFS = $(HTMLDOCS:.html=.html.xref)
92 HTMLXREFSFILE = $(PROJECT)_html.xrefs
93 # LATEX
94 #
95 LATEXDOCS = $(SOURCES:=.tex)
96 LATEXXREFS = $(LATEXDOCS:.tex=.tex.xref)
97 LATEXXREFSFILE = $(PROJECT)_tex.xrefs
98 # ASCII
99 #
100 ASCIIDOCS = $(SOURCES:=.txt)
101 # RTF
102 #
103 RTFDOCS = $(SOURCES:=.rtf)
104 RTFXREFS = $(RTFDOCS:.rtf=.rtf.xref)
105 RTFXREFSFILE = $(PROJECT)_rtf.xrefs
106 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
107 CONFIG_HEADER = config.h
108 CONFIG_CLEAN_FILES = 
109 PROGRAMS =  $(bin_PROGRAMS)
110
111
112 DEFS = @DEFS@ -I. -I$(srcdir) -I.
113 CPPFLAGS = @CPPFLAGS@
114 LDFLAGS = @LDFLAGS@
115 LIBS = @LIBS@
116 robodoc_OBJECTS =  analyser.o folds.o generator.o headers.o items.o \
117 links.o robodoc.o util.o
118 robodoc_LDADD = $(LDADD)
119 robodoc_DEPENDENCIES = 
120 robodoc_LDFLAGS = 
121 CFLAGS = @CFLAGS@
122 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
123 CCLD = $(CC)
124 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
125 DIST_COMMON =  ./stamp-h.in config.h.in makefile.am makefile.in
126
127
128 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
129
130 TAR = gtar
131 GZIP_ENV = --best
132 SOURCES = $(robodoc_SOURCES)
133 OBJECTS = $(robodoc_OBJECTS)
134
135 all: all-redirect
136 .SUFFIXES:
137 .SUFFIXES: .S .c .o .s
138 $(srcdir)/makefile.in: makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
139         cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Source/makefile
140
141 makefile: $(srcdir)/makefile.in  $(top_builddir)/config.status
142         cd $(top_builddir) \
143           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
144
145
146 config.h: stamp-h
147         @if test ! -f $@; then \
148                 rm -f stamp-h; \
149                 $(MAKE) stamp-h; \
150         else :; fi
151 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
152         cd $(top_builddir) \
153           && CONFIG_FILES= CONFIG_HEADERS=Source/config.h \
154              $(SHELL) ./config.status
155         @echo timestamp > stamp-h 2> /dev/null
156 $(srcdir)/config.h.in: $(srcdir)/stamp-h.in
157         @if test ! -f $@; then \
158                 rm -f $(srcdir)/stamp-h.in; \
159                 $(MAKE) $(srcdir)/stamp-h.in; \
160         else :; fi
161 $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 
162         cd $(top_srcdir) && $(AUTOHEADER)
163         @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
164
165 mostlyclean-hdr:
166
167 clean-hdr:
168
169 distclean-hdr:
170         -rm -f config.h
171
172 maintainer-clean-hdr:
173
174 mostlyclean-binPROGRAMS:
175
176 clean-binPROGRAMS:
177         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
178
179 distclean-binPROGRAMS:
180
181 maintainer-clean-binPROGRAMS:
182
183 install-binPROGRAMS: $(bin_PROGRAMS)
184         @$(NORMAL_INSTALL)
185         $(mkinstalldirs) $(DESTDIR)$(bindir)
186         @list='$(bin_PROGRAMS)'; for p in $$list; do \
187           if test -f $$p; then \
188             echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
189              $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
190           else :; fi; \
191         done
192
193 uninstall-binPROGRAMS:
194         @$(NORMAL_UNINSTALL)
195         list='$(bin_PROGRAMS)'; for p in $$list; do \
196           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
197         done
198
199 .c.o:
200         $(COMPILE) -c $<
201
202 .s.o:
203         $(COMPILE) -c $<
204
205 .S.o:
206         $(COMPILE) -c $<
207
208 mostlyclean-compile:
209         -rm -f *.o core *.core
210
211 clean-compile:
212
213 distclean-compile:
214         -rm -f *.tab.c
215
216 maintainer-clean-compile:
217
218 robodoc: $(robodoc_OBJECTS) $(robodoc_DEPENDENCIES)
219         @rm -f robodoc
220         $(LINK) $(robodoc_LDFLAGS) $(robodoc_OBJECTS) $(robodoc_LDADD) $(LIBS)
221
222 tags: TAGS
223
224 ID: $(HEADERS) $(SOURCES) $(LISP)
225         list='$(SOURCES) $(HEADERS)'; \
226         unique=`for i in $$list; do echo $$i; done | \
227           awk '    { files[$$0] = 1; } \
228                END { for (i in files) print i; }'`; \
229         here=`pwd` && cd $(srcdir) \
230           && mkid -f$$here/ID $$unique $(LISP)
231
232 TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
233         tags=; \
234         here=`pwd`; \
235         list='$(SOURCES) $(HEADERS)'; \
236         unique=`for i in $$list; do echo $$i; done | \
237           awk '    { files[$$0] = 1; } \
238                END { for (i in files) print i; }'`; \
239         test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
240           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
241
242 mostlyclean-tags:
243
244 clean-tags:
245
246 distclean-tags:
247         -rm -f TAGS ID
248
249 maintainer-clean-tags:
250
251 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
252
253 subdir = Source
254
255 distdir: $(DISTFILES)
256         @for file in $(DISTFILES); do \
257           d=$(srcdir); \
258           if test -d $$d/$$file; then \
259             cp -pr $$d/$$file $(distdir)/$$file; \
260           else \
261             test -f $(distdir)/$$file \
262             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
263             || cp -p $$d/$$file $(distdir)/$$file || :; \
264           fi; \
265         done
266
267 info-am:
268 info: info-am
269 dvi-am:
270 dvi: dvi-am
271 check-am: all-am
272 check: check-am
273 installcheck-am:
274 installcheck: installcheck-am
275 all-recursive-am: config.h
276         $(MAKE) $(AM_MAKEFLAGS) all-recursive
277
278 install-exec-am: install-binPROGRAMS
279 install-exec: install-exec-am
280
281 install-data-am:
282 install-data: install-data-am
283
284 install-am: all-am
285         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
286 install: install-am
287 uninstall-am: uninstall-binPROGRAMS
288 uninstall: uninstall-am
289 all-am: makefile $(PROGRAMS) config.h
290 all-redirect: all-am
291 install-strip:
292         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
293 installdirs:
294         $(mkinstalldirs)  $(DESTDIR)$(bindir)
295
296
297 mostlyclean-generic:
298
299 clean-generic:
300
301 distclean-generic:
302         -rm -f Makefile $(CONFIG_CLEAN_FILES)
303         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
304
305 maintainer-clean-generic:
306 mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
307                 mostlyclean-compile mostlyclean-tags \
308                 mostlyclean-generic
309
310 mostlyclean: mostlyclean-am
311
312 clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
313                 clean-generic mostlyclean-am
314
315 clean: clean-am
316
317 distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
318                 distclean-tags distclean-generic clean-am
319
320 distclean: distclean-am
321
322 maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
323                 maintainer-clean-compile maintainer-clean-tags \
324                 maintainer-clean-generic distclean-am
325         @echo "This command is intended for maintainers to use;"
326         @echo "it deletes files that may require special tools to rebuild."
327
328 maintainer-clean: maintainer-clean-am
329
330 .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
331 mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
332 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
333 mostlyclean-compile distclean-compile clean-compile \
334 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
335 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
336 check-am installcheck-am installcheck all-recursive-am install-exec-am \
337 install-exec install-data-am install-data install-am install \
338 uninstall-am uninstall all-redirect all-am all installdirs \
339 mostlyclean-generic distclean-generic clean-generic \
340 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
341
342
343 # Some common targets
344 xrefall: xrefhtml xreftex xrefrtf
345 docall: html tex ascii rtf
346
347 # Create the xref files for the various formats.
348 xhtml: $(HTMLXREFSFILE) 
349 xtex: $(LATEXXREFSFILE) 
350 xrtf: $(RTFXREFSFILE)
351
352 # Create the documentation files for the various formats.
353 html: $(HTMLDOCS) $(PROJECT)_mi.html 
354 tex: $(LATEXDOCS) $(PROJECT)_mi.tex
355 rtf: $(RTFDOCS)
356 ascii: $(ASCIIDOCS)
357
358 # master index file, currently works only for html and latex documentation.
359 $(PROJECT)_mi.html: $(HTMLXREFSFILE) 
360         $(ROBODOC) $< $@ INDEX HTML TITLE "$(PROJECT) Master Index"
361
362 $(PROJECT)_mi.tex: $(LATEXXREFSFILE)
363         $(ROBODOC) $< $@ INDEX LATEX TITLE "$(PROJECT) API Reference"
364
365 # create xrefs file (file with the names of all .xref files).
366 $(HTMLXREFSFILE) : $(HTMLXREFS)
367         /bin/ls $(HTMLXREFS) > $@
368 $(LATEXXREFSFILE) : $(LATEXXREFS)
369         /bin/ls  $(LATEXXREFS) > $@
370 $(RTFXREFSFILE) : $(RTFXREFS)
371         /bin/ls  $(RTFXREFS) > $@
372
373 # Rule to create an .xref file from a source file for the various formats.
374 %.html.xref : %
375         $(ROBODOC) $< $(@:.xref=) $(ROBOOPTS) INTERNAL GENXREF $@
376 %.tex.xref : %
377         $(ROBODOC) $< $(@:.xref=) $(ROBOOPTS) INTERNAL GENXREF $@
378 %.rtf.xref : %
379         $(ROBODOC) $< $(@:.xref=) $(ROBOOPTS) INTERNAL GENXREF $@
380
381 # Rule to create html documentation from a source file.
382 %.html : %
383         $(ROBODOC) $< $@ HTML $(ROBOOPTS) XREF $(HTMLXREFSFILE)
384
385 # Rule to create latex documentation from a source file.
386 # We do not include source items, and generate laxtex documents
387 # than can be included in a master document.
388 %.tex : %
389         $(ROBODOC) $< $@ LATEX $(ROBOOPTS) NOSOURCE SINGLEDOC XREF $(LATEXXREFSFILE)
390
391 # Rule to create ascii documentation from a source file.
392 %.txt : %
393         $(ROBODOC) $< $@ ASCII 
394
395 # Rule to create rtf documentation from a source file.
396 %.rtf : %
397         $(ROBODOC) $< $@ RTF $(ROBOOPTS) XREF $(RTFXREFSFILE)
398
399 # Use netscape to view the master index file for our project.
400 example: html
401         $(BROWSER) $(PROJECT)_mi.html
402
403 # Use the latex programs to generate a .dvi from the master index file
404 # for our prokect. View this .dvi file with xdvi
405 texview:  tex
406         latex $(PROJECT)_mi
407         makeindex $(PROJECT)_mi
408         latex $(PROJECT)_mi
409         latex $(PROJECT)_mi
410         dvips $(PROJECT)_mi.dvi -o $(PROJECT)_mi.ps
411
412 # Clean-up the mess we made
413 #
414 myclean:
415         rm -f $(HTMLXREFS) 
416         rm -f $(HTMLDOCS) 
417         rm -f $(LATEXXREFS)
418         rm -f $(LATEXDOCS) 
419         rm -f $(PROJECT)_mi.* *.aux
420         rm -f $(RTFXREFS)
421         rm -f $(RTFDOCS)
422         rm -f $(ASCIIDOCS)
423         rm -f $(HTMLXREFSFILE) 
424         rm -f $(LATEXXREFSFILE) 
425         rm -f $(RTFXREFSFILE)
426         rm -f robodoc makefile.in makefile
427         rm -f *~ stamp-h stamp-h.in
428         rm -f *.o *.tex *.toc *.dvi *.aux *.log *.ps
429         rm -f masterindex.html
430         rm -f testheaders.html
431
432 tt:
433         cp robodoc $(HOME)/Test
434
435 # Tell versions [3.59,3.63) of GNU make to not export all variables.
436 # Otherwise a system limit (for SysV at least) may be exceeded.
437 .NOEXPORT: