1 # makefile.in generated automatically by automake 1.4 from makefile.am
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.
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
20 top_srcdir = @top_srcdir@
23 exec_prefix = @exec_prefix@
27 libexecdir = @libexecdir@
29 sysconfdir = @sysconfdir@
30 sharedstatedir = @sharedstatedir@
31 localstatedir = @localstatedir@
35 includedir = @includedir@
36 oldincludedir = /usr/include
40 pkgdatadir = $(datadir)/@PACKAGE@
41 pkglibdir = $(libdir)/@PACKAGE@
42 pkgincludedir = $(includedir)/@PACKAGE@
49 AUTOHEADER = @AUTOHEADER@
52 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
53 INSTALL_DATA = @INSTALL_DATA@
54 INSTALL_SCRIPT = @INSTALL_SCRIPT@
55 transform = @program_transform_name@
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
72 ###############################################################
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
83 # The name of your Project
87 # The various documentation files, derived from the source files.
90 HTMLDOCS = $(SOURCES:=.html)
91 HTMLXREFS = $(HTMLDOCS:.html=.html.xref)
92 HTMLXREFSFILE = $(PROJECT)_html.xrefs
95 LATEXDOCS = $(SOURCES:=.tex)
96 LATEXXREFS = $(LATEXDOCS:.tex=.tex.xref)
97 LATEXXREFSFILE = $(PROJECT)_tex.xrefs
100 ASCIIDOCS = $(SOURCES:=.txt)
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
109 PROGRAMS = $(bin_PROGRAMS)
112 DEFS = @DEFS@ -I. -I$(srcdir) -I.
113 CPPFLAGS = @CPPFLAGS@
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 =
122 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
124 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
125 DIST_COMMON = ./stamp-h.in config.h.in makefile.am makefile.in
128 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
132 SOURCES = $(robodoc_SOURCES)
133 OBJECTS = $(robodoc_OBJECTS)
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
141 makefile: $(srcdir)/makefile.in $(top_builddir)/config.status
143 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
147 @if test ! -f $@; then \
151 stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
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; \
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
172 maintainer-clean-hdr:
174 mostlyclean-binPROGRAMS:
177 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
179 distclean-binPROGRAMS:
181 maintainer-clean-binPROGRAMS:
183 install-binPROGRAMS: $(bin_PROGRAMS)
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)/'`; \
193 uninstall-binPROGRAMS:
195 list='$(bin_PROGRAMS)'; for p in $$list; do \
196 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
209 -rm -f *.o core *.core
216 maintainer-clean-compile:
218 robodoc: $(robodoc_OBJECTS) $(robodoc_DEPENDENCIES)
220 $(LINK) $(robodoc_LDFLAGS) $(robodoc_OBJECTS) $(robodoc_LDADD) $(LIBS)
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)
232 TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
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)
249 maintainer-clean-tags:
251 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
255 distdir: $(DISTFILES)
256 @for file in $(DISTFILES); do \
258 if test -d $$d/$$file; then \
259 cp -pr $$d/$$file $(distdir)/$$file; \
261 test -f $(distdir)/$$file \
262 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
263 || cp -p $$d/$$file $(distdir)/$$file || :; \
274 installcheck: installcheck-am
275 all-recursive-am: config.h
276 $(MAKE) $(AM_MAKEFLAGS) all-recursive
278 install-exec-am: install-binPROGRAMS
279 install-exec: install-exec-am
282 install-data: install-data-am
285 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
287 uninstall-am: uninstall-binPROGRAMS
288 uninstall: uninstall-am
289 all-am: makefile $(PROGRAMS) config.h
292 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
294 $(mkinstalldirs) $(DESTDIR)$(bindir)
302 -rm -f Makefile $(CONFIG_CLEAN_FILES)
303 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
305 maintainer-clean-generic:
306 mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \
307 mostlyclean-compile mostlyclean-tags \
310 mostlyclean: mostlyclean-am
312 clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-tags \
313 clean-generic mostlyclean-am
317 distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \
318 distclean-tags distclean-generic clean-am
320 distclean: distclean-am
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."
328 maintainer-clean: maintainer-clean-am
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
343 # Some common targets
344 xrefall: xrefhtml xreftex xrefrtf
345 docall: html tex ascii rtf
347 # Create the xref files for the various formats.
348 xhtml: $(HTMLXREFSFILE)
349 xtex: $(LATEXXREFSFILE)
350 xrtf: $(RTFXREFSFILE)
352 # Create the documentation files for the various formats.
353 html: $(HTMLDOCS) $(PROJECT)_mi.html
354 tex: $(LATEXDOCS) $(PROJECT)_mi.tex
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"
362 $(PROJECT)_mi.tex: $(LATEXXREFSFILE)
363 $(ROBODOC) $< $@ INDEX LATEX TITLE "$(PROJECT) API Reference"
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) > $@
373 # Rule to create an .xref file from a source file for the various formats.
375 $(ROBODOC) $< $(@:.xref=) $(ROBOOPTS) INTERNAL GENXREF $@
377 $(ROBODOC) $< $(@:.xref=) $(ROBOOPTS) INTERNAL GENXREF $@
379 $(ROBODOC) $< $(@:.xref=) $(ROBOOPTS) INTERNAL GENXREF $@
381 # Rule to create html documentation from a source file.
383 $(ROBODOC) $< $@ HTML $(ROBOOPTS) XREF $(HTMLXREFSFILE)
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.
389 $(ROBODOC) $< $@ LATEX $(ROBOOPTS) NOSOURCE SINGLEDOC XREF $(LATEXXREFSFILE)
391 # Rule to create ascii documentation from a source file.
393 $(ROBODOC) $< $@ ASCII
395 # Rule to create rtf documentation from a source file.
397 $(ROBODOC) $< $@ RTF $(ROBOOPTS) XREF $(RTFXREFSFILE)
399 # Use netscape to view the master index file for our project.
401 $(BROWSER) $(PROJECT)_mi.html
403 # Use the latex programs to generate a .dvi from the master index file
404 # for our prokect. View this .dvi file with xdvi
407 makeindex $(PROJECT)_mi
410 dvips $(PROJECT)_mi.dvi -o $(PROJECT)_mi.ps
412 # Clean-up the mess we made
419 rm -f $(PROJECT)_mi.* *.aux
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
433 cp robodoc $(HOME)/Test
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.