source: releases/2.8.7/Makefile.am

Last change on this file was 1565, checked in by mjs, 7 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
Line 
1# Copyright (C) 2006 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Eclipse Public License.
4
5## $Id: Makefile.am 1565 2010-12-30 22:24:48Z forrest $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9AUTOMAKE_OPTIONS = foreign
10
11EXTRA_DIST = doxydoc/doxygen.conf
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
25test: all
26        cd Cbc; $(MAKE) test
27
28unitTest: test
29
30tests: all
31        for dir in $(subdirs); do \
32          if test -r $$dir/test/Makefile; then \
33            (cd $$dir; $(MAKE) test) \
34          fi; \
35        done
36
37unitTests: tests
38
39# Generate doxygen doc'n in subdirectories (except @PACKAGE_NAME@) if a doxydoc
40# directory is present, then do the base, if present.
41
42doxydoc:
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
51
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
69# install-data-local: install-doxydoc
70uninstall-local: uninstall-doxydoc
71
72.PHONY: test unitTest tests unitTests doxydoc
73
74########################################################################
75#                         Maintainer Stuff                             #
76########################################################################
77
78# Files that are generated and should be cleaned with make distclean
79DISTCLEANFILES = coin_subdirs.txt
80
81include BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.