1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436
|
# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
#
# Copyright (c) 2002, 2003 Theodore A. Roth
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# 3. The name of the author may not be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
# NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Author: Theodore A. Roth <troth@verinet.com>
#
# Contributors:
#
# $Id: Makefile.am,v 1.40 2004/12/20 21:47:48 joerg_wunsch Exp $
#
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ../..
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_alias = @build_alias@
build_triplet = @build@
host_alias = @host_alias@
host_triplet = @host@
target_alias = @target_alias@
target_triplet = @target@
AR = @AR@
AS = @AS@
AVRLIB_ASFLAGS = @AVRLIB_ASFLAGS@
AVRLIB_CFLAGS = @AVRLIB_CFLAGS@
AVR_CRT_ASFLAGS = @AVR_CRT_ASFLAGS@
AVR_CRT_AT90 = @AVR_CRT_AT90@
AVR_CRT_MEGA = @AVR_CRT_MEGA@
AVR_CRT_OTHER = @AVR_CRT_OTHER@
AVR_CRT_TINY = @AVR_CRT_TINY@
AVR_LIBC_USER_MANUAL = @AVR_LIBC_USER_MANUAL@
CC = @CC@
DOCSDIR = @DOCSDIR@
INCLUDES = @INCLUDES@
INSTALL_DOX_HTML = @INSTALL_DOX_HTML@
INSTALL_DOX_MAN = @INSTALL_DOX_MAN@
INSTALL_DOX_PDF = @INSTALL_DOX_PDF@
INSTALL_DOX_PS = @INSTALL_DOX_PS@
MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
PNGTOPNM = @PNGTOPNM@
PNMTOPNG = @PNMTOPNG@
RANLIB = @RANLIB@
TARGET_DOX_HTML = @TARGET_DOX_HTML@
TARGET_DOX_PDF = @TARGET_DOX_PDF@
TARGET_DOX_PS = @TARGET_DOX_PS@
VERSION = @VERSION@
avrlib_basedir = @avrlib_basedir@
MAINTAINERCLEANFILES = Makefile.in stamp-vti
CLEANFILES = *.html *.pdf *.ma *.mas *.ps doxygen-pdf.config *.png *.eps fix_png
EXTRA_DIST = dox.css dox_html_header dox_html_footer main_page.dox assembler.dox inline_asm.dox interrupts.dox acknowledge.dox malloc.dox $(IMAGE_SRC) sections.dox sfr.dox tools-install.dox using-avrprog.dox using-tools.dox faq.dox rel-method.dox
SUFFIXES = .pdf .fig .png .eps
DOC_INST_DIR = @DOC_INST_DIR@
USER_MANUAL = @AVR_LIBC_USER_MANUAL@
DEMO_LIBS = $(shell find $(top_srcdir) -name crts2313.o | head -n 1)
# images for inclusion in HTML and LaTeX documents
FIG2DEV = fig2dev
IMAGE_SRC = malloc-std.fig malloc-x1.fig malloc-x2.fig releases.fig
IMAGE_PNG = $(IMAGE_SRC:.fig=.png)
IMAGE_EPS = $(IMAGE_SRC:.fig=.eps)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES = doxygen.config
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = Makefile.am Makefile.in doxygen.config.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
GZIP_ENV = --best
all: all-redirect
.SUFFIXES:
.SUFFIXES: .eps .fig .pdf .png
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps doc/api/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
doxygen.config: $(top_builddir)/config.status doxygen.config.in
cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
tags: TAGS
TAGS:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = doc/api
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am:
install-exec: install-exec-am
install-data-am: install-data-local
install-data: install-data-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-local
uninstall: uninstall-am
all-am: Makefile all-local
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
mostlyclean-generic:
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
mostlyclean-am: mostlyclean-generic
mostlyclean: mostlyclean-am
clean-am: clean-generic mostlyclean-am clean-local
clean: clean-am
distclean-am: distclean-generic clean-am
distclean: distclean-am
maintainer-clean-am: maintainer-clean-generic distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-am
.PHONY: tags distdir info-am info dvi-am dvi check check-am \
installcheck-am installcheck install-exec-am install-exec \
install-data-local install-data-am install-data install-am install \
uninstall-local uninstall-am uninstall all-local all-redirect all-am \
all installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
all-local: ps html pdf
# Before we can build the dox, we need to build the demo project so that some
# included files get generated. This could fail if crts2313.o is neither built
# nor installed, but there's not much we can do about that.
demo:
if test -n "$(DEMO_LIBS)" ; then \
NODEFLIBS="-nostartfiles -nodefaultlibs" ; \
fi; \
cd $(top_srcdir)/doc/examples/demo && \
${MAKE} DEFS="-I$(top_srcdir)/include" \
LIBS="$$NODEFLIBS $(DEMO_LIBS)" dox all
.fig.eps:
$(FIG2DEV) -L eps $< $@
.fig.png:
$(FIG2DEV) -L png $< $@
# Rule for generating postscript output.
ps: demo $(TARGET_DOX_PS)
# Rule for generating html output.
html: demo $(TARGET_DOX_HTML) fix_png
# Make the background color of the png's transparent.
fix_png: $(wildcard $(USER_MANUAL)/*.png)
cd $(USER_MANUAL) || exit 0; \
for png in *.png; do \
echo "Fixing transparency for $$png"; \
$(PNGTOPNM) $$png > tmp.pnm; \
$(PNMTOPNG) -transparent white tmp.pnm > $$png && rm tmp.pnm; \
done
echo timestamp > fix_png
# Rule for generating PDF output
pdf: demo $(TARGET_DOX_PDF)
# General rule for installing documentation
install-data-local: $(INSTALL_DOX_HTML) $(INSTALL_DOX_PS) $(INSTALL_DOX_PDF) \
$(INSTALL_DOX_MAN)
uninstall-local:
rm -rf $(DOC_INST_DIR)
clean-local:
rm -rf $(USER_MANUAL) latex_src latex_pdf_src man
cd $(top_srcdir)/doc/examples/demo && ${MAKE} clean
#
# Rules for generating documentation with doxygen
#
#
# The sed magic below does the following:
#
# It bumps the subsection level that is to be displayed in the TOC.
# For Postscript output, only \page and \section headings will be
# displayed, while the PDF document will also show \subsection so the
# browsable index in the PDF file will provide a good help to the
# user.
#
# The magic around TabularC replaces doxygen's own tabular environment
# (named TabularC) by an explicit call to longtable in the document
# that describes the signal names, so the rather long table can be
# split across multiple pages. Note that there are some nasty things
# going on here: the string "Signal Name" in the table heading is used
# as a magic string in order to replace the \\ at the end of the table
# heading by \endhead so longtable will know what heading to repeat in
# table continuations.
latex_src/refman.tex: doxygen.config $(IMAGE_EPS) $(IMAGE_PNG)
doxygen doxygen.config
cd latex_src && \
sed -e '/tocdepth/s/1/2/' \
-e '/usepackage{times}/s/$$/\\usepackage{longtable}/' \
refman.tex > tmp.$$ && \
mv -f tmp.$$ refman.tex
cd latex_src && \
sed -e '/{TabularC}{.}/s/{TabularC}{.}/{longtable}{|l|l|}/' \
-e '/TabularC/s/TabularC/longtable/' \
-e '/Signal Name/s/\\\\\\hline/\\endhead\\hline/' \
group__avr__interrupts.tex > tmp.$$ && \
mv -f tmp.$$ group__avr__interrupts.tex
cd latex_src && \
sed -e '/{TabularC}{3}/s/{TabularC}{3}/{longtable}{|l|l|l|}/' \
-e '/{longtable}{|l|l|l|}/,/TabularC/s/TabularC/longtable/' \
-e '/Architecture/s/\\\\\\hline/\\endhead\\hline/' \
using_tools.tex > tmp.$$ && \
mv -f tmp.$$ using_tools.tex
latex_pdf_src/refman.tex: doxygen-pdf.config $(IMAGE_EPS)
doxygen doxygen-pdf.config
cd latex_pdf_src && \
sed -e '/tocdepth/s/1/3/' \
-e '/usepackage{times}/s/$$/\\usepackage{longtable}/' \
refman.tex > tmp.$$ && \
mv -f tmp.$$ refman.tex
cd latex_pdf_src && \
sed -e '/{TabularC}{.}/s/{TabularC}{.}/{longtable}{|l|l|}/' \
-e '/TabularC/s/TabularC/longtable/' \
-e '/Signal Name/s/\\\\\\hline/\\endhead\\hline/' \
group__avr__interrupts.tex > tmp.$$ && \
mv -f tmp.$$ group__avr__interrupts.tex
cd latex_pdf_src && \
sed -e '/{TabularC}{3}/s/{TabularC}{3}/{longtable}{|l|l|l|}/' \
-e '/{longtable}{|l|l|l|}/,/TabularC/s/TabularC/longtable/' \
-e '/Architecture/s/\\\\\\hline/\\endhead\\hline/' \
using_tools.tex > tmp.$$ && \
mv -f tmp.$$ using_tools.tex
cd latex_pdf_src && \
sed -e '/{demo.eps}/s/demo.eps/demo.pdf/' \
group__demo__project.tex > tmp.$$ && \
mv -f tmp.$$ group__demo__project.tex
doxygen-pdf.config: doxygen.config
sed \
-e '/USE_PDFLATEX/s/NO/YES/' \
-e '/LATEX_OUTPUT/s/latex_src/latex_pdf_src/' \
-e '/GENERATE_HTML/s/YES/NO/' \
-e '/GENERATE_MAN/s/YES/NO/' \
doxygen.config > doxygen-pdf.config
# XXX currently, HTML and LaTeX documentation will always be built
# together. HTML doesn't need any postprocessing, while latex is only
# a prerequisite for ps.
dox-html: $(USER_MANUAL)/index.html
$(USER_MANUAL)/index.html: latex_src/refman.tex
dox-ps: $(USER_MANUAL).ps
$(USER_MANUAL).ps: latex_src/refman.tex
cd latex_src && ${MAKE} ps
cp latex_src/refman.ps $(USER_MANUAL).ps
dox-pdf: $(USER_MANUAL).pdf
$(USER_MANUAL).pdf: latex_pdf_src/refman.tex
cd latex_pdf_src && ${MAKE} refman.pdf
cp latex_pdf_src/refman.pdf $(USER_MANUAL).pdf
# Install rules for the various documentation parts. The actual
# access to those rules is from the install-data-local target above,
# where the toplevel configure decides which of them will become a
# prerequisite of install-data-local.
install-dox-html: dox-html
$(mkinstalldirs) $(DOC_INST_DIR)/$(USER_MANUAL)
@list='$(wildcard $(USER_MANUAL)/*.html $(USER_MANUAL)/*.css \
$(USER_MANUAL)/*.js $(USER_MANUAL)/*.png)'; \
for file in $$list ; do \
echo " $(INSTALL_DATA) $$file $(DOC_INST_DIR)/$$file"; \
$(INSTALL_DATA) $$file $(DOC_INST_DIR)/$$file; \
done
install-dox-pdf: dox-pdf
$(mkinstalldirs) $(DOC_INST_DIR)
$(INSTALL_DATA) $(USER_MANUAL).pdf $(DOC_INST_DIR)/$(USER_MANUAL).pdf
install-dox-ps: dox-ps
$(mkinstalldirs) $(DOC_INST_DIR)
$(INSTALL_DATA) $(USER_MANUAL).ps $(DOC_INST_DIR)/$(USER_MANUAL).ps
install-dox-man: dox-html
$(mkinstalldirs) $(DOC_INST_DIR)/man/man3
@list='$(wildcard man/man3/*.3)'; \
for file in $$list ; do \
echo " $(INSTALL_DATA) $$file $(DOC_INST_DIR)/$$file"; \
$(INSTALL_DATA) $$file $(DOC_INST_DIR)/$$file; \
done
.PHONY: html latex ps pdf dox dox-pdf install-pdf install-html install-ps \
install-dox-html install-dox-ps install-dox-pdf \
install-dox-man
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
|