Skip to content
Newer
Older
100644 321 lines (264 sloc) 13.7 KB
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
1 dnl __BEGIN_LICENSE__
2 dnl Copyright (C) 2006, 2007 United States Government as represented by
3 dnl the Administrator of the National Aeronautics and Space Administration.
4 dnl All Rights Reserved.
5 dnl __END_LICENSE__
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
6
4ce2bd3 @novas0x2a commit changes from VW
novas0x2a authored Mar 12, 2009
7 m4_pattern_forbid([^AX_])
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
8 m4_pattern_allow([^AX_CFLAGS$])
9 m4_pattern_allow([^AX_INCLUDE_DIR$])
10 m4_pattern_allow([^AX_LIBDIR$])
11 m4_pattern_allow([^AX_OTHER_LIBDIR$])
12 m4_pattern_allow([^PKG_[A-Z_]+_CPPFLAGS$])
13 m4_pattern_allow([^PKG_[A-Z_]+_LDFLAGS$])
14 m4_pattern_allow([^PKG_[A-Z_]+_LIBS$])
15 m4_pattern_allow([^PKG_PATHS$])
16 m4_pattern_allow([^PKG_PATHS_[A-Z_]+$])
17 m4_pattern_allow([^PKG_BOOST_INCDIR$])
18 m4_pattern_allow([^PKG_BOOST_LIBDIR$])
19 m4_pattern_allow([^PKG_VW_LIBS_TEMP$])
4ce2bd3 @novas0x2a commit changes from VW
novas0x2a authored Mar 12, 2009
20
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
21 ##################################################
22 # A few starting bits
23 ##################################################
24
25 dnl TODO BEFORE RELEASE: update package version
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
26 AC_INIT([NASA Ames Stereo Pipeline], [2.1], [asp@nx.arc.nasa.gov], [StereoPipeline])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
27 AC_CONFIG_AUX_DIR(config)
9ae12ae @novas0x2a make stereo's build much like vw's
novas0x2a authored Nov 24, 2008
28 AC_CONFIG_MACRO_DIR([m4])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
29 AC_CANONICAL_HOST
c806fb3 @novas0x2a revert putting the system path last
novas0x2a authored Jan 16, 2009
30 AM_INIT_AUTOMAKE([nostdinc])
9c0d10b Massive reorganization. Works this time! A good handful of code has b…
Zack Moratto authored Sep 18, 2009
31 AX_CONFIG_HEADER_PREFIX([src/asp/asp_config.h], [ASP_])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
32
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
33 dnl TODO RIGHT BEFORE RELEASE: update libtool version
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
34 dnl if abi changes in any way:
35 dnl current++
36 dnl revision=0
37 dnl if new abi is backward-compatible:
38 dnl age += 1
39 dnl else:
40 dnl age = 0
41 dnl else:
42 dnl revision++
43 dnl (see http://sources.redhat.com/autobook/autobook/autobook_91.html)
44 dnl
45 dnl LIBTOOL_VERSION=current:revision:age
46 LIBTOOL_VERSION=1:0:0
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
47 AC_SUBST(LIBTOOL_VERSION)
48
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
49 # load the config.options
ea6a6c6 @novas0x2a resync with vw macros
novas0x2a authored Apr 17, 2009
50 if test -f ./config.options; then
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
51 AX_LOG([using config.options << EOF])
52 AX_LOG([`cat ./config.options`])
53 AX_LOG([EOF])
ea6a6c6 @novas0x2a resync with vw macros
novas0x2a authored Apr 17, 2009
54 source ./config.options
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
55 fi
56
7102287 @novas0x2a I moved PKG_PATHS to ax_common_options.m4
novas0x2a authored Feb 5, 2009
57
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
58 ##################################################
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
59 # Find the necessary programs
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
60 ##################################################
61
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
62 # Make sure these are set so AC_PROG_CC doesn't initialize them with
63 # its defaults, since we take care of setting debug and optimization
64 # levels ourselves.
65 CFLAGS="$CFLAGS"
66 CXXFLAGS="$CXXFLAGS"
67
68 # Find the tools
69 AC_PROG_CC
70 AC_PROG_CXX
71 AC_PROG_INSTALL
72 AX_PROG_AR
73 AC_PROG_LIBTOOL
74 AC_PROG_MAKE_SET
75 AC_LANG(C++)
6aab8d2 @novas0x2a move a bunch of common options to their own macro
novas0x2a authored Jan 16, 2009
76 AX_COMMON_OPTIONS
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
77
78
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
79 ##################################################
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
80 # Compilation options
81 ##################################################
82
83 AX_ARG_ENABLE(strict-aliasing, no, [none], [allow strict aliasing (dangerous)])
84
85 ##################################################
86 # Handle options
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
87 ##################################################
88
89
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
90
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
91
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
92 ##################################################
93 # distribution options
94 ##################################################
95
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
96
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
97
98
99 ##################################################
100 # package checks
101 ##################################################
102
103 AX_PKG_PTHREADS
104
105 AX_PKG_BOOST
106 if test x"$HAVE_PKG_BOOST" == "xyes"; then
107 AX_PKG_BOOST_CHECK_VERSION([ASP_])
108 AC_MSG_NOTICE([Stereo will be built using Boost version $BOOST_VERSION])
109
110 AX_PKG_BOOST_LIB(PROGRAM_OPTIONS, [-lboost_program_options], [boost/program_options.hpp])
111 AX_PKG_BOOST_LIB(SYSTEM, [-lboost_system], [boost/system/error_code.hpp])
112 AX_PKG_BOOST_LIB(FILESYSTEM, [-lboost_filesystem], [boost/filesystem/path.hpp], [$PKG_BOOST_SYSTEM_LIBS])
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
113 AX_PKG_BOOST_LIB(DATETIME, [-lboost_date_time], [boost/date_time/gregorian/gregorian_types.hpp])
114 AX_PKG_BOOST_LIB(THREAD, [-lboost_thread], [boost/thread/thread.hpp], [$PKG_BOOST_DATETIME_LIBS], [boost/thread/condition.hpp])
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
115 AX_PKG_BOOST_LIB(IOSTREAMS, [-lboost_iostreams], [boost/iostreams/stream_buffer.hpp])
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
116 AX_PKG_BOOST_LIB(GRAPH, [], [boost/graph/adjacency_list.hpp])
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
117 fi
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
118
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
119 # This provides an easy way for users to override the threads options
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
120 # if they are replacing Boost threads with something else for their platform.
121 AX_PKG(THREADS, [BOOST_THREAD], [], [])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
122
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
123 AX_PKG(M, [], [-lm], [math.h])
124
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
125 AX_PKG_ONE_OF(LAPACK,
126 APPLE_LAPACK,
127 [AX_PKG_APPLE(LAPACK, [], [-framework vecLib])],
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
128 INTEL_LAPACK,
129 [case $host_cpu in
130 ia64) AX_PKG(INTEL_LAPACK, [PTHREADS M], [-lmkl_lapack -lmkl -lmkl_i2p -lguide], [mkl_lapack.h], [], [64], [dgelss_]);;
131 x86_64) AX_PKG(INTEL_LAPACK, [PTHREADS M], [-lmkl_lapack -lmkl -lmkl_def -lguide], [mkl_lapack.h], [], [em64t], [dgelss_]);;
132 *) AX_PKG(INTEL_LAPACK, [PTHREADS M], [-lmkl_lapack -lmkl -lguide], [mkl_lapack.h], [], [32], [dgelss_]);;
133 esac],
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
134 CLAPACK,
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
135 [AX_PKG(CLAPACK, [], [-lclapack -lblas -lf2c], [], [], [], [dgelss_])],
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
136 SLAPACK,
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
137 [AX_PKG(SLAPACK, [], [-llapack -lblas], [], [], [], [dgelss_])],
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
138 FLAPACK,
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
139 [AX_PKG(FLAPACK, [], [-llapack -lblas -lgfortran], [], [], [], [dgelss_])],
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
140 STANDALONE_LAPACK_BLAS,
141 [AX_PKG(STANDALONE_BLAS, [], [-lblas], [])
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
142 AX_PKG(STANDALONE_LAPACK, [STANDALONE_BLAS], [-llapack], [], [], [], [dgelss_])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
143 AX_GROUP_PKG(STANDALONE_LAPACK_AND_BLAS, [STANDALONE_LAPACK STANDALONE_BLAS])],
144 STANDALONE_FLAPACK_FBLAS,
145 [AX_PKG(STANDALONE_F2C, [], [-lf2c], [])
146 AX_PKG(STANDALONE_FBLAS, [STANDALONE_F2C], [-lblas], [])
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
147 AX_PKG(STANDALONE_FLAPACK, [STANDALONE_FBLAS STANDALONE_F2C], [-llapack], [], [], [], [dgelss_])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
148 AX_GROUP_PKG(STANDALONE_FLAPACK_FBLAS, [STANDALONE_FLAPACK STANDALONE_FBLAS STANDALONE_F2C])])
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
149
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored Sep 16, 2009
150 AX_PKG(VW, [BOOST BOOST_THREAD BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM LAPACK], [-lvw], [vw/Image/ImageView.h vw/Math/LinearAlgebra.h])
151 AX_PKG(VW_CAMERA, [VW BOOST_IOSTREAMS], [-lvwCamera], [vw/Camera/CAHVModel.h])
9c0d10b Massive reorganization. Works this time! A good handful of code has b…
Zack Moratto authored Sep 18, 2009
152 AX_PKG(VW_STEREO, [VW VW_CAMERA], [-lvwStereo], [vw/Stereo/OptimizedCorrelator.h])
153 AX_PKG(VW_CARTOGRAPHY, [VW VW_CAMERA], [-lvwCartography], [vw/Cartography/GeoReference.h])
154 AX_PKG(VW_INTEREST_POINT, [VW], [-lvwInterestPoint])
b7e4f18 @broxtronix First cut at adding a CUDA application
broxtronix authored Jan 13, 2009
155
661b985 @novas0x2a make gl an explicit dep of qt-opengl
novas0x2a authored Jan 19, 2009
156 AX_PKG_ONE_OF(GL,
157 APPLE_GL,
158 [AX_PKG_APPLE([GL], [], [-framework OpenGL -framework GLUT -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib])],
159 LINUX_GL,
160 [AX_PKG(X11, [], [-lXext -lX11 -lXmu -lXi -lXt], [])
161 AX_PKG(LINUX_GL, [X11], [-lGL -lGLU -lglut], [GL/gl.h GL/glu.h GL/glut.h], [])])
162
7a3bc16 @novas0x2a make GL an explicit dep of openscenegraph, too.
novas0x2a authored Jan 20, 2009
163 AX_PKG(OPENSCENEGRAPH, [GL], [-losg -losgDB -lOpenThreads -losgViewer -losgText -losgGA -losgFX -losgTerrain -losgUtil], [osg/ref_ptr])
164
165 AX_PKG(SPICE, [], [-lcspice], [SpiceUsr.h SpiceZfc.h])
166
df8146e @broxtronix Brought over some of Mike Lundy\'s new build system tweaks from VW to…
broxtronix authored Jan 15, 2009
167 # Qt with AutoTroll.
414514d Changing ASP to handle QT more like VW. This might be a bit naive.
Zack Moratto authored Aug 7, 2009
168 AT_WITH_QT([+gui +sql +opengl], [], [], [HAVE_PKG_QT_BASE="no:missing QT"], [])
df8146e @broxtronix Brought over some of Mike Lundy\'s new build system tweaks from VW to…
broxtronix authored Jan 15, 2009
169
414514d Changing ASP to handle QT more like VW. This might be a bit naive.
Zack Moratto authored Aug 7, 2009
170 if test x"$HAVE_PKG_QT_BASE" != x"no:missing QT"; then
171 AT_REQUIRE_QT_VERSION([4.0], [HAVE_PKG_QT_BASE="no:wrong QT version"], [])
df8146e @broxtronix Brought over some of Mike Lundy\'s new build system tweaks from VW to…
broxtronix authored Jan 15, 2009
172 fi
173
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
174 # We seed QT_BASE's cppflags and libs with the ones qmake figured out
414514d Changing ASP to handle QT more like VW. This might be a bit naive.
Zack Moratto authored Aug 7, 2009
175 PKG_QT_BASE_CPPFLAGS="$PKG_QT_BASE_CPPFLAGS $QT_CPPFLAGS"
176 AX_PKG(QT_BASE, [], [$QT_LIBS], [QVector])
df8146e @broxtronix Brought over some of Mike Lundy\'s new build system tweaks from VW to…
broxtronix authored Jan 15, 2009
177
178 AX_PKG_ONE_OF(QT,
414514d Changing ASP to handle QT more like VW. This might be a bit naive.
Zack Moratto authored Aug 7, 2009
179 APPLE_QT, [AX_PKG_APPLE(QT, [GL QT_BASE], [])],
df8146e @broxtronix Brought over some of Mike Lundy\'s new build system tweaks from VW to…
broxtronix authored Jan 15, 2009
180 LINUX_QT,
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
181 [AX_PKG(QT_OPENGL, [QT_BASE], [], [QtOpenGL])
182 AX_PKG(QT_GUI, [QT_BASE], [], [QLabel])
183 AX_PKG(QT_SQL, [QT_BASE], [], [QtSql])
414514d Changing ASP to handle QT more like VW. This might be a bit naive.
Zack Moratto authored Aug 7, 2009
184 AX_GROUP_PKG(LINUX_QT, [QT_BASE QT_GUI QT_OPENGL QT_SQL])])
df8146e @broxtronix Brought over some of Mike Lundy\'s new build system tweaks from VW to…
broxtronix authored Jan 15, 2009
185
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
186 AX_PKG_ONE_OF(QWT,
414514d Changing ASP to handle QT more like VW. This might be a bit naive.
Zack Moratto authored Aug 7, 2009
187 APPLE_QWT, [AX_PKG_APPLE(QWT, [QT_BASE], [-lqwt.5])],
188 PLAIN_QWT, [AX_PKG(PLAIN_QWT, [QT_BASE], [-lqwt])],
189 SUFFX_QWT, [AX_PKG(SUFFX_QWT, [QT_BASE], [-lqwt-qt4])])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
190
191 AX_PKG_ONE_OF(GSL,
860c4ef @novas0x2a detect gsl better
novas0x2a authored Jan 30, 2009
192 GSL_HASBLAS, [AX_PKG(GSL_HASBLAS, [LAPACK], [-lgsl])],
9cf0409 @novas0x2a add minor changes to config.options.irg, and make sure broken gsl doe…
novas0x2a authored Feb 9, 2009
193 GSL_ASNEEDED, [AX_PKG(GSL_ASNEEDED, [LAPACK], [-Wl,-no-as-needed,-lgsl,-lgslcblas,-as-needed])],
860c4ef @novas0x2a detect gsl better
novas0x2a authored Jan 30, 2009
194 GSL_NEEDBLAS, [AX_PKG(GSL_NEEDBLAS, [LAPACK], [-lgsl -lgslcblas])])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored Oct 16, 2008
195
196 if test x"$host_vendor" = "xapple"; then
197 AX_PKG(GEOS, [], [-lgeos-3.0.0], [])
198 AX_PKG(SUPERLU, [], [-lsuperlu_3.0], [])
199 AX_PKG(XERCESC, [], [-lxerces-c.28], [])
200 else
201 AX_PKG(GEOS, [], [-lgeos])
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
202 AX_PKG(SUPERLU, [LAPACK], [-lsuperlu])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored Oct 16, 2008
203 AX_PKG(XERCESC, [], [-lxerces-c])
204 fi
9c887d7 Added a visualization program called Bundlevis. Also modified rmax_ad…
Zack Moratto authored Jun 17, 2008
205
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
206 dnl We need to link ISIS3RDPARTY against LAPACK because, on some systems,
207 dnl the ISIS compilation does not resolve certain BLAS symbols that its
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
208 dnl dependent 3rd party libraries depend on (for whatever reason).
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
209 dnl Thus, we link against LAPACK here because it defines these missing
61855a0 Merged the buildfixes branch onto trunk (r249:r257). This should (hop…
Morgon Kanter authored Jul 4, 2008
210 dnl BLAS symbols in the event that we need them.
e016b05 Previous proposed changes won't do.
Zack Moratto authored Sep 17, 2009
211 AX_PKG(ISIS3RDPARTY, [SUPERLU LAPACK GSL QWT GEOS SPICE XERCESC], [])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
212 AX_PKG(ISIS, [QT ISIS3RDPARTY], [-lisis3], [SpecialPixel.h])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
213
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored Jul 29, 2008
214 # These are here (instead of inside the PKG macro where they belong)
215 # for backwards compatability with older versions of automake.
c3e0cad @novas0x2a clean up configure deps a bit
novas0x2a authored Jan 17, 2009
216 AM_CONDITIONAL(HAVE_PKG_SPICE, [test "$HAVE_PKG_SPICE" = "yes"])
200be14 @broxtronix A few tweaks to the stereo build system to get it to work on os 10.5
broxtronix authored Feb 1, 2008
217 AM_CONDITIONAL(HAVE_PKG_ISIS, [test "$HAVE_PKG_ISIS" = "yes"])
9c0d10b Massive reorganization. Works this time! A good handful of code has b…
Zack Moratto authored Sep 18, 2009
218 AM_CONDITIONAL(HAVE_PKG_OPENSCENEGRAPH, [test "$HAVE_PKG_OPENSCENEGRAPH" = "yes"])
200be14 @broxtronix A few tweaks to the stereo build system to get it to work on os 10.5
broxtronix authored Feb 1, 2008
219
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
220 ##################################################
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
221 # module definitions
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
222 ##################################################
223
c3e0cad @novas0x2a clean up configure deps a bit
novas0x2a authored Jan 17, 2009
224 AX_GROUP_PKG(BOOST_COMMON, [BOOST BOOST_PROGRAM_OPTIONS])
225 AX_GROUP_PKG(BOOST_ALL, [BOOST_COMMON BOOST_FILESYSTEM])
226 AX_GROUP_PKG(VW_ALL, [VW VW_CAMERA VW_CARTOGRAPHY VW_STEREO VW_INTEREST_POINT])
227
9c0d10b Massive reorganization. Works this time! A good handful of code has b…
Zack Moratto authored Sep 18, 2009
228 AX_MODULE(CORE, [src/asp/Core], [libaspCore.la], yes, [], [BOOST_COMMON], [LAPACK OPENSCENEGRAPH])
229 AX_MODULE(SPICEIO, [src/asp/SpiceIO], [libaspSpiceIO.la], yes, [CORE], [SPICE], [] )
230 AX_MODULE(ISISIO, [src/asp/IsisIO], [libaspIsisIO.la], yes, [CORE], [ISIS VW VW_CAMERA], [] )
231 AX_MODULE(SESSIONS, [src/asp/Sessions], [libaspSessions.la], yes, [ISISIO], [BOOST_COMMON], [SPICEIO ISISIO])
232
233 AX_APP(STEREO, [src/asp/Tools], yes, [BOOST_ALL VW_ALL LAPACK CORE SESSIONS], [SPICEIO ISISIO])
234 AX_APP(ORTHOPROJECT, [src/asp/Tools], yes, [BOOST_ALL VW_ALL LAPACK CORE SESSIONS], [SPICEIO ISISIO])
235 AX_APP(BUNDLEADJUST, [src/asp/Tools], no, [BOOST_ALL VW_ALL LAPACK CORE SESSIONS], [SPICEIO ISISIO])
236 AX_APP(ORBITVIZ, [src/asp/Tools], yes, [BOOST_ALL VW_ALL LAPACK CORE SESSIONS], [SPICEIO ISISIO])
237 AX_APP(DISPARITYDEBUG, [src/asp/Tools], yes, [BOOST_COMMON VW VW_STEREO])
238 AX_APP(POINT2MESH, [src/asp/Tools], yes, [BOOST_COMMON VW OPENSCENEGRAPH CORE])
239 AX_APP(POINT2MESH2, [src/asp/Tools], yes, [BOOST_COMMON VW OPENSCENEGRAPH])
240 AX_APP(POINT2DEM, [src/asp/Tools], yes, [BOOST_COMMON VW VW_CARTOGRAPHY CORE])
241 AX_APP(CTXIMAGE, [src/asp/Tools], no, [BOOST_COMMON VW VW_CARTOGRAPHY CORE])
242 AX_APP(RMAX2CAHVOR, [src/asp/Tools], no, [BOOST_COMMON VW VW_CAMERA BOOST_FILESYSTEM SESSIONS])
243 AX_APP(RMAXADJUST, [src/asp/Tools], no, [BOOST_ALL VW_ALL LAPACK CORE SESSIONS])
244 AX_APP(BUNDLEVIS, [src/asp/Tools], no, [BOOST_COMMON OPENSCENEGRAPH VW VW_CAMERA])
245 AX_APP(ISISADJUST, [src/asp/Tools], yes, [BOOST_ALL VW_ALL LAPACK CORE ISISIO])
246 AX_APP(RESULTS, [src/asp/Tools], yes, [BOOST_ALL VW_ALL ISISIO])
247 AX_APP(RECONSTRUCT, [src/asp/Tools], no, [BOOST_ALL VW VW_CARTOGRAPHY])
248
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
249
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored Jul 29, 2008
250 # These are here (instead of inside the APP macro where they belong)
251 # for backwards compatability with older versions of automake.
9c0d10b Massive reorganization. Works this time! A good handful of code has b…
Zack Moratto authored Sep 18, 2009
252 AM_CONDITIONAL(MAKE_MODULE_CORE, [test "$MAKE_MODULE_CORE" = "yes"])
253 AM_CONDITIONAL(MAKE_MODULE_ISISIO, [test "$MAKE_MODULE_ISISIO" = "yes"])
254 AM_CONDITIONAL(MAKE_MODULE_SPICEIO, [test "$MAKE_MODULE_SPICEIO" = "yes"])
255 AM_CONDITIONAL(MAKE_MODULE_SESSIONS, [test "$MAKE_MODULE_SESSIONS" = "yes"])
256
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored Jul 29, 2008
257 AM_CONDITIONAL(MAKE_APP_STEREO, [test "$MAKE_APP_STEREO" = "yes"])
0a8a6bd @broxtronix Moved the stereo gui into the main build system. It does not build by…
broxtronix authored Sep 17, 2008
258 AM_CONDITIONAL(MAKE_APP_STEREOGUI, [test "$MAKE_APP_STEREOGUI" = "yes"])
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored Jul 29, 2008
259 AM_CONDITIONAL(MAKE_APP_ORTHOPROJECT, [test "$MAKE_APP_ORTHOPROJECT" = "yes"])
260 AM_CONDITIONAL(MAKE_APP_BUNDLEADJUST, [test "$MAKE_APP_BUNDLEADJUST" = "yes"])
261 AM_CONDITIONAL(MAKE_APP_ORBITVIZ, [test "$MAKE_APP_ORBITVIZ" = "yes"])
262 AM_CONDITIONAL(MAKE_APP_DISPARITYDEBUG, [test "$MAKE_APP_DISPARITYDEBUG" = "yes"])
263 AM_CONDITIONAL(MAKE_APP_POINT2MESH, [test "$MAKE_APP_POINT2MESH" = "yes"])
264 AM_CONDITIONAL(MAKE_APP_POINT2MESH2, [test "$MAKE_APP_POINT2MESH2" = "yes"])
265 AM_CONDITIONAL(MAKE_APP_POINT2DEM, [test "$MAKE_APP_POINT2DEM" = "yes"])
266 AM_CONDITIONAL(MAKE_APP_CTXIMAGE, [test "$MAKE_APP_CTXIMAGE" = "yes"])
267 AM_CONDITIONAL(MAKE_APP_RMAX2CAHVOR, [test "$MAKE_APP_RMAX2CAHVOR" = "yes"])
268 AM_CONDITIONAL(MAKE_APP_RMAXADJUST, [test "$MAKE_APP_RMAXADJUST" = "yes"])
269 AM_CONDITIONAL(MAKE_APP_BUNDLEVIS, [test "$MAKE_APP_BUNDLEVIS" = "yes"])
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
270 AM_CONDITIONAL(MAKE_APP_ISISADJUST, [test "$MAKE_APP_ISISADJUST" = "yes"])
9686523 @anefian added support for results
anefian authored Dec 17, 2008
271 AM_CONDITIONAL(MAKE_APP_RESULTS, [test "$MAKE_APP_RESULTS" = "yes"])
fd21b10 Adding Ara's new program, reconstruct.
Zack Moratto authored Jul 1, 2009
272 AM_CONDITIONAL(MAKE_APP_RECONSTRUCT, [test "$MAKE_APP_RECONSTRUCT" = "yes"])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
273
274 ##################################################
275 # final processing
276 ##################################################
277
278 ASP_CPPFLAGS="-I\${top_srcdir}/src $OTHER_CPPFLAGS"
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored Nov 24, 2008
279 ASP_LDFLAGS="$OTHER_LDFLAGS"
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
280
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
281 # Do this last, to make sure it's not overridden
282 if test x"$ENABLE_STRICT_ALIASING" = x"no"; then
283 CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
284 fi
285
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored Aug 20, 2009
286 AX_LOG([using CPPFLAGS=$CPPFLAGS])
287 AX_LOG([using ASP_CPPFLAGS=$ASP_CPPFLAGS])
288 AX_LOG([using CFLAGS=$CFLAGS])
289 AX_LOG([using CXXFLAGS=$CXXFLAGS])
290 AX_LOG([using LDFLAGS=$LDFLAGS])
291 AX_LOG([using ASP_LDFLAGS=$ASP_LDFLAGS])
292 AX_LOG([using ASP_ENABLE_EXCEPTIONS=$ENABLE_EXCEPTIONS])
293
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include an…
broxtronix authored Jan 1, 2008
294 AC_SUBST(ASP_CPPFLAGS)
295 AC_SUBST(ASP_LDFLAGS)
296
297
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
298 ##################################################
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored Jan 16, 2009
299 # makefiles to process
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
300 ##################################################
301
302 AC_CONFIG_FILES([ \
303 Makefile \
304 src/Makefile \
9c0d10b Massive reorganization. Works this time! A good handful of code has b…
Zack Moratto authored Sep 18, 2009
305 src/asp/Makefile \
306 src/asp/Core/Makefile \
307 src/asp/SpiceIO/Makefile \
308 src/asp/IsisIO/Makefile \
309 src/asp/Sessions/Makefile \
310 src/asp/Sessions/HRSC/Makefile \
311 src/asp/Sessions/ISIS/Makefile \
312 src/asp/Sessions/Keypoint/Makefile \
313 src/asp/Sessions/MOC/Makefile \
314 src/asp/Sessions/MRO/Makefile \
315 src/asp/Sessions/Pinhole/Makefile \
316 src/asp/Sessions/RMAX/Makefile \
317 src/asp/Tools/Makefile
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored Dec 5, 2006
318 ])
319
320 AC_OUTPUT
Something went wrong with that request. Please try again.