source: trunk/Cgl/Makefile.am @ 231

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

removed -xnative flag for SUN compilers to make it work with libtool

  • Property svn:eol-style set to native
  • Property svn:keywords set to "Author Date Id Revision"
File size: 2.2 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 231 2006-05-26 13:57:42Z 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
35########################################################################
36#                           Extra Targets                              #
37########################################################################
38
39test: all
40        cd test; make test
41
42unitTest: test
43
44clean-local:
45        if test -r test/Makefile; then cd test; make clean; fi
46
47distclean-local:
48        if test -r test/Makefile; then cd test; make distclean; fi
49
50.PHONY: test unitTest
51
52########################################################################
53#                  Installation of the addlibs file                    #
54########################################################################
55
56addlibsfile = cgl_addlibs.txt
57
58install-exec-local:
59        $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(libdir)/$(addlibsfile)
60
61uninstall-local:
62        rm -f $(DESTDIR)$(libdir)/$(addlibsfile)
63
64########################################################################
65#                         Maintainer Stuff                             #
66########################################################################
67
68# Files that are generated and should be cleaned with make distclean
69DISTCLEANFILES =
70
71include ../BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.