source: trunk/Cgl/Makefile.am @ 235

Last change on this file since 235 was 235, checked in by andreasw, 13 years ago

added makefile target doc to produce doxygen documentation

  • 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 Common Public License.
4
5## $Id: Makefile.am 235 2006-05-30 14:54:27Z andreasw $
6
7# Author:  Andreas Waechter           IBM    2006-04-13
8
9AUTOMAKE_OPTIONS = foreign
10
11########################################################################
12#                          Subdirectories                              #
13########################################################################
14
15SUBDIRS = src
16
17# We don't want to compile the test subdirectory, unless the test target is
18# specified.  But we need to list it as subdirectory to make sure that it is
19# included in the tarball
20
21if ALWAYS_FALSE
22  SUBDIRS += test
23endif
24
25########################################################################
26#             Additional files to be included in tarball               #
27########################################################################
28
29# Here we need include all files that are not mentioned in other Makefiles
30
31EXTRA_DIST = examples/cgl1.cpp \
32        examples/cgl2.cpp \
33        examples/Makefile.in \
34        doc/doxygen.conf
35
36########################################################################
37#                           Extra Targets                              #
38########################################################################
39
40test: all
41        cd test; make test
42
43unitTest: test
44
45doc:
46        cd $(srcdir); doxygen doc/doxygen.conf
47
48clean-local:
49        if test -r test/Makefile; then cd test; make clean; fi
50
51distclean-local:
52        if test -r test/Makefile; then cd test; make distclean; fi
53
54.PHONY: test unitTest doc
55
56########################################################################
57#                  Installation of the addlibs file                    #
58########################################################################
59
60addlibsfile = cgl_addlibs.txt
61
62install-exec-local:
63        $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(libdir)/$(addlibsfile)
64
65uninstall-local:
66        rm -f $(DESTDIR)$(libdir)/$(addlibsfile)
67
68########################################################################
69#                         Maintainer Stuff                             #
70########################################################################
71
72# Files that are generated and should be cleaned with make distclean
73DISTCLEANFILES =
74
75include ../BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.