source: trunk/Clp/Makefile.am @ 778

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

added --enable-gnu-packages flag; third party solvers need to be provided with link flags

  • Property svn:eol-style set to native
  • Property svn:keywords set to "Author Date Id Revision"
File size: 2.5 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 766 2006-05-15 19:21:26Z 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 = \
32        doc/authors.xml \
33        doc/basicmodelclasses.xml \
34        doc/clpexe.xml \
35        doc/clpuserguide.xml \
36        doc/doxygen.xml \
37        doc/faqcontent.xml \
38        doc/faq.xml \
39        doc/intro.xml \
40        doc/legal.xml \
41        doc/messages.xml \
42        doc/moresamples.xml \
43        doc/notsobasic.xml \
44        doc/revhist.xml \
45        doc/Howto/docbook4clp.xml
46
47########################################################################
48#                           Extra Targets                              #
49########################################################################
50
51test: all
52        cd test; make test
53
54unitTest: test
55
56clean-local:
57        if test -r test/Makefile; then cd test; make clean; fi
58
59distclean-local:
60        if test -r test/Makefile; then cd test; make distclean; fi
61
62.PHONY: test unitTest clean-test distclean-test
63
64########################################################################
65#                  Installation of the addlibs file                    #
66########################################################################
67
68addlibsfile = clp_addlibs.txt
69
70install-exec-local:
71        $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(libdir)/$(addlibsfile)
72
73uninstall-local:
74        rm -f $(DESTDIR)$(libdir)/$(addlibsfile)
75
76########################################################################
77#                         Maintainer Stuff                             #
78########################################################################
79
80# Files that are generated and should be cleaned with make distclean
81DISTCLEANFILES =
82
83include ../BuildTools/Makemain.inc
Note: See TracBrowser for help on using the repository browser.