source: branches/dev/Algorithm/Makefile.am @ 523

Last change on this file since 523 was 523, checked in by andreasw, 14 years ago

added TiminigStatistics? for measuring CPU time usage in different parts of
the algorithm. This might not yet compile on all platforms!

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.7 KB
Line 
1# Copyright (C) 2004, 2005 International Business Machines and others.
2# All Rights Reserved.
3# This file is distributed under the Common Public License.
4
5## $Id: Makefile.am 523 2005-09-20 18:02:12Z andreasw $
6
7# Authors:  Carl Laird, Andreas Waechter     IBM    2004-08-13
8
9AUTOMAKE_OPTIONS = foreign
10
11SUBDIRS = LinearSolvers
12
13noinst_LIBRARIES = libipoptalg.a
14
15libipoptalg_a_SOURCES = \
16        IpAdaptiveMuUpdate.cpp IpAdaptiveMuUpdate.hpp \
17        IpAlgBuilder.cpp IpAlgBuilder.hpp \
18        IpAlgorithmRegOp.cpp IpAlgorithmRegOp.hpp \
19        IpAlgStrategy.hpp \
20        IpAugRestoSystemSolver.cpp IpAugRestoSystemSolver.hpp \
21        IpAugSystemSolver.hpp \
22        IpConvCheck.hpp \
23        IpDefaultIterateInitializer.cpp IpDefaultIterateInitializer.hpp \
24        IpEqMultCalculator.hpp \
25        IpFilter.cpp IpFilter.hpp \
26        IpFilterLineSearch.cpp IpFilterLineSearch.hpp \
27        IpGradientScaling.cpp IpGradientScaling.hpp \
28        IpIpoptAlg.cpp IpIpoptAlg.hpp \
29        IpIpoptCalculatedQuantities.cpp IpIpoptCalculatedQuantities.hpp \
30        IpIpoptData.cpp IpIpoptData.hpp \
31        IpIpoptNLP.hpp \
32        IpIterateInitializer.hpp \
33        IpIteratesVector.cpp IpIteratesVector.hpp \
34        IpIterationOutput.hpp \
35        IpLeastSquareMults.cpp IpLeastSquareMults.hpp \
36        IpLineSearch.hpp \
37        IpLoqoMuOracle.cpp IpLoqoMuOracle.hpp \
38        IpMonotoneMuUpdate.cpp IpMonotoneMuUpdate.hpp \
39        IpMuOracle.hpp \
40        IpMuUpdate.hpp \
41        IpNLPScaling.cpp IpNLPScaling.hpp \
42        IpOptErrorConvCheck.cpp IpOptErrorConvCheck.hpp \
43        IpOrigIpoptNLP.cpp IpOrigIpoptNLP.hpp \
44        IpOrigIterationOutput.cpp IpOrigIterationOutput.hpp \
45        IpPDFullSpaceSolver.cpp IpPDFullSpaceSolver.hpp \
46        IpPDPerturbationHandler.cpp IpPDPerturbationHandler.hpp \
47        IpPDSystemSolver.hpp \
48        IpProbingMuOracle.cpp IpProbingMuOracle.hpp \
49        IpQualityFunctionMuOracle.cpp IpQualityFunctionMuOracle.hpp \
50        IpRestoFilterConvCheck.cpp IpRestoFilterConvCheck.hpp \
51        IpRestoIpoptNLP.cpp IpRestoIpoptNLP.hpp \
52        IpRestoIterateInitializer.cpp IpRestoIterateInitializer.hpp \
53        IpRestoIterationOutput.cpp IpRestoIterationOutput.hpp \
54        IpRestoMinC_1Nrm.cpp IpRestoMinC_1Nrm.hpp \
55        IpRestoPhase.hpp \
56        IpRestoRestoPhase.cpp IpRestoRestoPhase.hpp \
57        IpStdAugSystemSolver.cpp IpStdAugSystemSolver.hpp \
58        IpTimingStatistics.cpp IpTimingStatistics.hpp \
59        IpUserScaling.cpp IpUserScaling.hpp \
60        IpWarmStartIterateInitializer.cpp IpWarmStartIterateInitializer.hpp
61
62CXXFLAGS += -I$(srcdir)/../Common \
63        -I$(srcdir)/../LinAlg \
64        -I$(srcdir)/../LinAlg/TMatrices \
65        -I$(srcdir)/../Interfaces \
66        -I$(srcdir)/LinearSolvers
67
68# Astyle stuff
69
70ASTYLE_FILES = \
71        IpAdaptiveMuUpdate.cppbak IpAdaptiveMuUpdate.hppbak \
72        IpAlgBuilder.cppbak IpAlgBuilder.hppbak \
73        IpAlgorithmRegOp.cppbak IpAlgorithmRegOp.hppbak \
74        IpAlgStrategy.hppbak \
75        IpAugRestoSystemSolver.cppbak IpAugRestoSystemSolver.hppbak \
76        IpAugSystemSolver.hppbak \
77        IpConvCheck.hppbak \
78        IpDefaultIterateInitializer.cppbak IpDefaultIterateInitializer.hppbak \
79        IpEqMultCalculator.hppbak \
80        IpFilter.cppbak IpFilter.hppbak \
81        IpFilterLineSearch.cppbak IpFilterLineSearch.hppbak \
82        IpGradientScaling.cppbak IpGradientScaling.hppbak \
83        IpIpoptAlg.cppbak IpIpoptAlg.hppbak \
84        IpIpoptCalculatedQuantities.cppbak IpIpoptCalculatedQuantities.hppbak \
85        IpIpoptData.cppbak IpIpoptData.hppbak \
86        IpIpoptNLP.hppbak \
87        IpIterateInitializer.hppbak \
88        IpIteratesVector.cppbak IpIteratesVector.hppbak \
89        IpIterationOutput.hppbak \
90        IpLeastSquareMults.cppbak IpLeastSquareMults.hppbak \
91        IpLineSearch.hppbak \
92        IpLoqoMuOracle.cppbak IpLoqoMuOracle.hppbak \
93        IpMonotoneMuUpdate.cppbak IpMonotoneMuUpdate.hppbak \
94        IpMuOracle.hppbak \
95        IpMuUpdate.hppbak \
96        IpNLPScaling.cppbak IpNLPScaling.hppbak \
97        IpOptErrorConvCheck.cppbak IpOptErrorConvCheck.hppbak \
98        IpOrigIpoptNLP.cppbak IpOrigIpoptNLP.hppbak \
99        IpOrigIterationOutput.cppbak IpOrigIterationOutput.hppbak \
100        IpPDFullSpaceSolver.cppbak IpPDFullSpaceSolver.hppbak \
101        IpPDPerturbationHandler.cppbak IpPDPerturbationHandler.hppbak \
102        IpPDSystemSolver.hppbak \
103        IpProbingMuOracle.cppbak IpProbingMuOracle.hppbak \
104        IpQualityFunctionMuOracle.cppbak IpQualityFunctionMuOracle.hppbak \
105        IpRestoFilterConvCheck.cppbak IpRestoFilterConvCheck.hppbak \
106        IpRestoIpoptNLP.cppbak IpRestoIpoptNLP.hppbak \
107        IpRestoIterateInitializer.cppbak IpRestoIterateInitializer.hppbak \
108        IpRestoIterationOutput.cppbak IpRestoIterationOutput.hppbak \
109        IpRestoMinC_1Nrm.cppbak IpRestoMinC_1Nrm.hppbak \
110        IpRestoPhase.hppbak \
111        IpRestoRestoPhase.cppbak IpRestoRestoPhase.hppbak \
112        IpStdAugSystemSolver.cppbak IpStdAugSystemSolver.hppbak \
113        IpTimingStatistics.cppbak IpTimingStatistics.hppbak \
114        IpUserScaling.cppbak IpUserScaling.hppbak \
115        IpWarmStartIterateInitializer.cppbak IpWarmStartIterateInitializer.hppbak
116
117ASTYLE = @ASTYLE@
118ASTYLEFLAGS = @ASTYLEFLAGS@
119
120CLEANFILES = $(ASTYLE_FILES)
121
122SUFFIXES = .cppbak .hppbak
123
124astyle: $(ASTYLE_FILES)
125
126.hpp.hppbak:
127        mv $< $@
128        $(ASTYLE) $(ASTYLEFLAGS) < $@ > $<
129        touch $@
130
131.cpp.cppbak:
132        mv $< $@
133        $(ASTYLE) $(ASTYLEFLAGS) < $@ > $<
134        touch $@
Note: See TracBrowser for help on using the repository browser.