source: trunk/Makefile.am @ 2213

Last change on this file since 2213 was 1565, checked in by mjs, 9 years ago

Relicense under the Eclipse Public License.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
RevLine 
[310]1# Copyright (C) 2006 International Business Machines and others.
2# All Rights Reserved.
[1565]3# This file is distributed under the Eclipse Public License.
[310]4
5## $Id: Makefile.am 1565 2010-12-30 22:24:48Z tkr $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9AUTOMAKE_OPTIONS = foreign
10
[344]11EXTRA_DIST = doxydoc/doxygen.conf
[310]12
13########################################################################
14#                          Subdirectories                              #
15########################################################################
16
17# subdirs is set by configure as the list of all subdirectories to recurse
18# into
19SUBDIRS = $(subdirs)
20
21########################################################################
22#                           Extra Targets                              #
23########################################################################
24
[313]25test: all
[527]26        cd Cbc; $(MAKE) test
[310]27
28unitTest: test
29
[330]30tests: all
[310]31        for dir in $(subdirs); do \
32          if test -r $$dir/test/Makefile; then \
[527]33            (cd $$dir; $(MAKE) test) \
[310]34          fi; \
35        done
36
37unitTests: tests
38
[1490]39# Generate doxygen doc'n in subdirectories (except @PACKAGE_NAME@) if a doxydoc
40# directory is present, then do the base, if present.
41
[344]42doxydoc:
[1490]43        for dir in $(subdirs) ; do \
44          if test $$dir != @PACKAGE_NAME@ && test -r $$dir/doxydoc ; then \
45            (cd $$dir ; $(MAKE) doxydoc) \
46          fi ; \
47        done ; \
48        if test -r doxydoc/doxygen.conf ; then \
49          doxygen doxydoc/doxygen.conf ; \
50        fi
[310]51
[1490]52clean-doxydoc:
53        ( cd doxydoc ; rm -rf html *.log *.tag )
54
55# DocInstallDir is defined in Makemain.inc and is specific to the package.
56# For the short term, adopt the notion that we install only the package
57# doxydoc.
58
59install-doxydoc: doxydoc
60        if test -r doxydoc/doxygen.conf ; then \
61          $(mkdir_p) $(DocInstallDir) ; \
62          cp -R doxydoc $(DocInstallDir) ; \
63        fi
64
65uninstall-doxydoc:
66        rm -rf $(DocInstallDir)/doxydoc
67
68clean-local: clean-doxydoc
[1491]69# install-data-local: install-doxydoc
[1490]70uninstall-local: uninstall-doxydoc
71
[344]72.PHONY: test unitTest tests unitTests doxydoc
73
[310]74########################################################################
75#                         Maintainer Stuff                             #
76########################################################################
77
[319]78# Files that are generated and should be cleaned with make distclean
[1483]79DISTCLEANFILES = coin_subdirs.txt
[319]80
[310]81include BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.