Improve help for arm9 vector_catch.
[openocd/cortex.git] / Makefile.am
blobdc4166d16c6634a3042e6d444b2599c43e0c1f45
1 # not a GNU package. You can remove this line, if
2 # have all needed files, that a GNU package needs
3 AUTOMAKE_OPTIONS = gnu 1.6
5 nobase_dist_pkgdata_DATA = \
6         contrib/libdcc/dcc_stdio.c \
7         contrib/libdcc/dcc_stdio.h \
8         contrib/libdcc/example.c \
9         contrib/libdcc/README \
10         contrib/openocd.udev
12 SUBDIRS = src doc
14 EXTRA_DIST = \
15         Doxyfile.in \
16         tools/logger.pl
18 libtool: $(LIBTOOL_DEPS)
19         $(SHELL) ./config.status --recheck
21 docs: pdf html doxygen
23 Doxyfile: $(srcdir)/Doxyfile.in
24         @echo "Creating $@ from $<..."
25         @( \
26           echo "### @@@ -= DO NOT EDIT THIS FILE =- @@@ ###" && \
27           echo "### @@@ Make changes to Doxyfile.in @@@ ###" && \
28           sed -e 's,@srcdir\@,$(srcdir),' $< \
29         ) > $@
31 doxygen::
32         $(MAKE) Doxyfile
33         doxygen Doxyfile 2>&1 | perl $(srcdir)/tools/logger.pl > doxygen.log
35 TCL_PATH = tcl
36 # command to find paths of script files, relative to TCL_PATH
37 TCL_FILES = find $(srcdir)/$(TCL_PATH) -name '*.cfg' -o -name '*.tcl' | \
38                 sed -e 's,^$(srcdir)/$(TCL_PATH),,'
40 dist-hook:
41         for i in $$($(TCL_FILES)); do \
42                 j="$(distdir)/$(TCL_PATH)/$$i" && \
43                 mkdir -p "$$(dirname $$j)" && \
44                 $(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
45         done
47 install-data-hook:
48         for i in $$($(TCL_FILES)); do \
49                 j="$(DESTDIR)$(pkgdatadir)/scripts/$$i" && \
50                 mkdir -p "$$(dirname $$j)" && \
51                 $(INSTALL_DATA) $(srcdir)/$(TCL_PATH)/$$i $$j; \
52         done
54 uninstall-hook:
55         rm -rf $(DESTDIR)$(pkgdatadir)/scripts
58 distclean-local:
59         rm -rf Doxyfile doxygen
61 DISTCLEANFILES = doxygen.log
63 MAINTAINERCLEANFILES = \
64         $(srcdir)/INSTALL \
65         $(srcdir)/configure \
66         $(srcdir)/Makefile.in \
67         $(srcdir)/depcomp \
68         $(srcdir)/config.guess \
69         $(srcdir)/config.sub \
70         $(srcdir)/config.h.in \
71         $(srcdir)/config.h.in~ \
72         $(srcdir)/compile \
73         $(srcdir)/ltmain.sh \
74         $(srcdir)/missing \
75         $(srcdir)/aclocal.m4 \
76         $(srcdir)/install-sh