Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 356 lines (295 sloc) 15.471 kB
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
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
6
4ce2bd3 @novas0x2a commit changes from VW
novas0x2a authored
7 m4_pattern_forbid([^AX_])
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored
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
20
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
21 ##################################################
22 # A few starting bits
23 ##################################################
24
25 dnl TODO BEFORE RELEASE: update package version
d1d6229 @novas0x2a increment version to pre
novas0x2a authored
26 AC_INIT([NASA Ames Stereo Pipeline], [1.0.1_pre], [asp@nx.arc.nasa.gov], [StereoPipeline])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
27 AC_CONFIG_AUX_DIR(config)
9ae12ae @novas0x2a make stereo's build much like vw's
novas0x2a authored
28 AC_CONFIG_MACRO_DIR([m4])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
29 AC_CANONICAL_HOST
c806fb3 @novas0x2a revert putting the system path last
novas0x2a authored
30 AM_INIT_AUTOMAKE([nostdinc])
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
31 AX_CONFIG_HEADER_PREFIX([src/asp/asp_config.h], [ASP_])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
32
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
33 dnl TODO RIGHT BEFORE RELEASE: update libtool version
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
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
7b22497 @novas0x2a increment versions
novas0x2a authored
46 LIBTOOL_VERSION=2:0:0
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
47 AC_SUBST(LIBTOOL_VERSION)
48
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
49 # load the config.options
ea6a6c6 @novas0x2a resync with vw macros
novas0x2a authored
50 if test -f ./config.options; then
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
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
54 source ./config.options
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
55 fi
56
7bb1474 @novas0x2a sync VW & Stereo build
novas0x2a authored
57 dnl Process all the --with and --enable options here, so the variables are
58 dnl available later
59 m4_define(AX_DIVERSION_PROCESS_OPTIONS, 42)
60 m4_undivert(AX_DIVERSION_PROCESS_OPTIONS)
61
62
7102287 @novas0x2a I moved PKG_PATHS to ax_common_options.m4
novas0x2a authored
63
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
64 ##################################################
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
65 # Find the necessary programs
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
66 ##################################################
67
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
68 # Make sure these are set so AC_PROG_CC doesn't initialize them with
69 # its defaults, since we take care of setting debug and optimization
70 # levels ourselves.
71 CFLAGS="$CFLAGS"
72 CXXFLAGS="$CXXFLAGS"
73
74 # Find the tools
75 AC_PROG_CC
76 AC_PROG_CXX
77 AC_PROG_INSTALL
78 AX_PROG_AR
79 AC_PROG_LIBTOOL
80 AC_PROG_MAKE_SET
81 AC_LANG(C++)
6aab8d2 @novas0x2a move a bunch of common options to their own macro
novas0x2a authored
82 AX_COMMON_OPTIONS
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
83
84
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
85 ##################################################
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
86 # Compilation options
87 ##################################################
88
89 AX_ARG_ENABLE(strict-aliasing, no, [none], [allow strict aliasing (dangerous)])
c69254d @novas0x2a new qt detection method
novas0x2a authored
90 AX_ARG_ENABLE(qt-qmake, yes, [none], [Allow qmake detection of QT])
91
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
92
93 ##################################################
94 # Handle options
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
95 ##################################################
96
97
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
98
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
99 ##################################################
100 # distribution options
101 ##################################################
102
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
103
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
104
105
106 ##################################################
107 # package checks
108 ##################################################
109
110 AX_PKG_PTHREADS
111
112 AX_PKG_BOOST
113 if test x"$HAVE_PKG_BOOST" == "xyes"; then
114 AX_PKG_BOOST_CHECK_VERSION([ASP_])
115 AC_MSG_NOTICE([Stereo will be built using Boost version $BOOST_VERSION])
116
117 AX_PKG_BOOST_LIB(PROGRAM_OPTIONS, [-lboost_program_options], [boost/program_options.hpp])
118 AX_PKG_BOOST_LIB(SYSTEM, [-lboost_system], [boost/system/error_code.hpp])
119 AX_PKG_BOOST_LIB(FILESYSTEM, [-lboost_filesystem], [boost/filesystem/path.hpp], [$PKG_BOOST_SYSTEM_LIBS])
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored
120 AX_PKG_BOOST_LIB(DATETIME, [-lboost_date_time], [boost/date_time/gregorian/gregorian_types.hpp])
121 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
122 AX_PKG_BOOST_LIB(IOSTREAMS, [-lboost_iostreams], [boost/iostreams/stream_buffer.hpp])
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored
123 AX_PKG_BOOST_LIB(GRAPH, [], [boost/graph/adjacency_list.hpp])
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
124 fi
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
125
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
126 # This provides an easy way for users to override the threads options
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
127 # if they are replacing Boost threads with something else for their platform.
128 AX_PKG(THREADS, [BOOST_THREAD], [], [])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
129
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored
130 AX_PKG(M, [], [-lm], [math.h])
131
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
132 AX_PKG_ONE_OF(LAPACK,
133 APPLE_LAPACK,
134 [AX_PKG_APPLE(LAPACK, [], [-framework vecLib])],
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored
135 INTEL_LAPACK,
136 [case $host_cpu in
137 ia64) AX_PKG(INTEL_LAPACK, [PTHREADS M], [-lmkl_lapack -lmkl -lmkl_i2p -lguide], [mkl_lapack.h], [], [64], [dgelss_]);;
138 x86_64) AX_PKG(INTEL_LAPACK, [PTHREADS M], [-lmkl_lapack -lmkl -lmkl_def -lguide], [mkl_lapack.h], [], [em64t], [dgelss_]);;
139 *) AX_PKG(INTEL_LAPACK, [PTHREADS M], [-lmkl_lapack -lmkl -lguide], [mkl_lapack.h], [], [32], [dgelss_]);;
140 esac],
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
141 CLAPACK,
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored
142 [AX_PKG(CLAPACK, [], [-lclapack -lblas -lf2c], [], [], [], [dgelss_])],
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
143 SLAPACK,
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored
144 [AX_PKG(SLAPACK, [], [-llapack -lblas], [], [], [], [dgelss_])],
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
145 FLAPACK,
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored
146 [AX_PKG(FLAPACK, [], [-llapack -lblas -lgfortran], [], [], [], [dgelss_])],
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
147 STANDALONE_LAPACK_BLAS,
148 [AX_PKG(STANDALONE_BLAS, [], [-lblas], [])
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored
149 AX_PKG(STANDALONE_LAPACK, [STANDALONE_BLAS], [-llapack], [], [], [], [dgelss_])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
150 AX_GROUP_PKG(STANDALONE_LAPACK_AND_BLAS, [STANDALONE_LAPACK STANDALONE_BLAS])],
151 STANDALONE_FLAPACK_FBLAS,
152 [AX_PKG(STANDALONE_F2C, [], [-lf2c], [])
153 AX_PKG(STANDALONE_FBLAS, [STANDALONE_F2C], [-lblas], [])
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored
154 AX_PKG(STANDALONE_FLAPACK, [STANDALONE_FBLAS STANDALONE_F2C], [-llapack], [], [], [], [dgelss_])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
155 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
156
060a0d7 @zmoratto Build fix for linux machines. Libvw just didn't seem to work so I broke
zmoratto authored
157 AX_PKG(VW_CORE, [BOOST BOOST_THREAD BOOST_PROGRAM_OPTIONS BOOST_FILESYSTEM LAPACK], [-lvwCore], [vw/Core/Log.h] )
158 AX_PKG(VW_MATH, [VW_CORE], [-lvwMath], [vw/Math/LinearAlgebra.h])
63cda06 @zmoratto Reorganizing to reduce linking time (tested on OSX)
zmoratto authored
159 AX_PKG(VW_IMAGE, [VW_CORE], [-lvwImage], [vw/Image/ImageView.h])
060a0d7 @zmoratto Build fix for linux machines. Libvw just didn't seem to work so I broke
zmoratto authored
160 AX_PKG(VW_FILEIO, [VW_IMAGE VW_CORE], [-lvwFileIO], [vw/FileIO/DiskImageResourceOpenEXR.h])
63cda06 @zmoratto Reorganizing to reduce linking time (tested on OSX)
zmoratto authored
161 AX_GROUP_PKG(VW, [VW_CORE VW_MATH VW_IMAGE VW_FILEIO])
060a0d7 @zmoratto Build fix for linux machines. Libvw just didn't seem to work so I broke
zmoratto authored
162
85c5e33 @novas0x2a merge in VW build system
novas0x2a authored
163 AX_PKG(VW_CAMERA, [VW BOOST_IOSTREAMS], [-lvwCamera], [vw/Camera/CAHVModel.h])
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
164 AX_PKG(VW_STEREO, [VW VW_CAMERA], [-lvwStereo], [vw/Stereo/OptimizedCorrelator.h])
165 AX_PKG(VW_CARTOGRAPHY, [VW VW_CAMERA], [-lvwCartography], [vw/Cartography/GeoReference.h])
166 AX_PKG(VW_INTEREST_POINT, [VW], [-lvwInterestPoint])
b7e4f18 @broxtronix First cut at adding a CUDA application
broxtronix authored
167
661b985 @novas0x2a make gl an explicit dep of qt-opengl
novas0x2a authored
168 AX_PKG_ONE_OF(GL,
169 APPLE_GL,
170 [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])],
171 LINUX_GL,
172 [AX_PKG(X11, [], [-lXext -lX11 -lXmu -lXi -lXt], [])
173 AX_PKG(LINUX_GL, [X11], [-lGL -lGLU -lglut], [GL/gl.h GL/glu.h GL/glut.h], [])])
174
7a3bc16 @novas0x2a make GL an explicit dep of openscenegraph, too.
novas0x2a authored
175 AX_PKG(OPENSCENEGRAPH, [GL], [-losg -losgDB -lOpenThreads -losgViewer -losgText -losgGA -losgFX -losgTerrain -losgUtil], [osg/ref_ptr])
176
177 AX_PKG(SPICE, [], [-lcspice], [SpiceUsr.h SpiceZfc.h])
178
c69254d @novas0x2a new qt detection method
novas0x2a authored
179 if test "$HAVE_PKG_QT" = no; then
180 ENABLE_QT_QMAKE=no
df8146e @broxtronix Brought over some of Mike Lundy\'s new build system tweaks from VW to…
broxtronix authored
181 fi
182
c69254d @novas0x2a new qt detection method
novas0x2a authored
183 if test "$ENABLE_QT_QMAKE" = no; then
184 AX_GROUP_PKG([QT_QMAKE])
185 else
186 # Qt with AutoTroll.
187 AT_WITH_QT([+gui +sql +opengl], [], [], [HAVE_PKG_QT_QMAKE="no:missing QT"], [])
188
189 if test x"$HAVE_PKG_QT_QMAKE" != x"no:missing QT"; then
190 AT_REQUIRE_QT_VERSION([4.0], [HAVE_PKG_QT_QMAKE="no:wrong QT version"], [])
191 fi
192
193 # We seed QT_QMAKE's cppflags and libs with the ones qmake figured out
194 PKG_QT_QMAKE_CPPFLAGS="$PKG_QT_QMAKE_CPPFLAGS $QT_CPPFLAGS"
195 AX_PKG(QT_QMAKE, [], [$QT_LIBS], [QVector])
196 fi
df8146e @broxtronix Brought over some of Mike Lundy\'s new build system tweaks from VW to…
broxtronix authored
197
198 AX_PKG_ONE_OF(QT,
d6387f3 @novas0x2a Add an "arbitrary QT" mode
novas0x2a authored
199 ARBITRARY_QT,
200 [if test -z "$QT_ARBITRARY_MODULES" -a -z "$HAVE_PKG_ARBITRARY_MODULES"; then
201 HAVE_PKG_ARBITRARY_QT="no:Set \$QT_ARBITRARY_MODULES"
202 else
203 for module in $QT_ARBITRARY_MODULES; do
204 PKG_ARBITRARY_QT_NEEDED_HEADERS="$PKG_ARBITRARY_QT_NEEDED_HEADERS Qt${module}"
205 PKG_ARBITRARY_QT_LIBS="-lQt${module} $PKG_ARBITRARY_QT_LIBS"
206 done
207 fi
208 PKG_ARBITRARY_QT_CPPFLAGS="$PKG_ARBITRARY_QT_CPPFLAGS -DQT_SHARED"
209 AX_PKG(ARBITRARY_QT, [], [-lQtCore], [$PKG_ARBITRARY_QT_NEEDED_HEADERS])],
c69254d @novas0x2a new qt detection method
novas0x2a authored
210 APPLE_QMAKE_QT, [AX_PKG_APPLE(QMAKE_QT, [GL QT_QMAKE], [])],
211 LINUX_QMAKE_QT,
212 [AX_PKG(QT_QMAKE_OPENGL, [QT_QMAKE], [], [QtOpenGL])
213 AX_PKG(QT_QMAKE_GUI, [QT_QMAKE], [], [QLabel])
214 AX_PKG(QT_QMAKE_SQL, [QT_QMAKE], [], [QtSql])
215 AX_GROUP_PKG(LINUX_QMAKE_QT, [QT_QMAKE QT_QMAKE_GUI QT_QMAKE_OPENGL QT_QMAKE_SQL])],
216 GUESS_QT,
217 [PKG_QT_GUESS_BASE_CPPFLAGS="$PKG_QT_GUESS_BASE_CPPFLAGS -DQT_SHARED"
218 AX_PKG(QT_GUESS_BASE, [], [], [QtCore/qstring.h])
219 AX_PKG(QT_GUESS_CORE, [QT_GUESS_BASE], [-lQtCore], [QtCore], [QtCore])
220 AX_PKG(QT_GUESS_GUI, [QT_GUESS_CORE], [-lQtGui], [QtGui], [QtGui])
221 AX_PKG(QT_GUESS_SQL, [QT_GUESS_CORE], [-lQtSql], [QtSql], [QtSql])
222 AX_PKG(QT_GUESS_OPENGL, [QT_GUESS_CORE QT_GUESS_GUI], [-lQtOpenGL], [QtOpenGL], [QtOpenGL])
223 AX_GROUP_PKG(GUESS_QT, [QT_GUESS_BASE QT_GUESS_CORE QT_GUESS_GUI QT_GUESS_SQL QT_GUESS_OPENGL])])
df8146e @broxtronix Brought over some of Mike Lundy\'s new build system tweaks from VW to…
broxtronix authored
224
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
225 AX_PKG_ONE_OF(QWT,
6a9ea0d @novas0x2a missed a QT_BASE ref
novas0x2a authored
226 APPLE_QWT, [AX_PKG_APPLE(QWT, [QT], [-lqwt.5])],
227 PLAIN_QWT, [AX_PKG(PLAIN_QWT, [QT], [-lqwt])],
228 SUFFX_QWT, [AX_PKG(SUFFX_QWT, [QT], [-lqwt-qt4])])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
229
230 AX_PKG_ONE_OF(GSL,
860c4ef @novas0x2a detect gsl better
novas0x2a authored
231 GSL_HASBLAS, [AX_PKG(GSL_HASBLAS, [LAPACK], [-lgsl])],
232 GSL_NEEDBLAS, [AX_PKG(GSL_NEEDBLAS, [LAPACK], [-lgsl -lgslcblas])])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored
233
234 if test x"$host_vendor" = "xapple"; then
235 AX_PKG(GEOS, [], [-lgeos-3.0.0], [])
236 AX_PKG(SUPERLU, [], [-lsuperlu_3.0], [])
237 AX_PKG(XERCESC, [], [-lxerces-c.28], [])
238 else
239 AX_PKG(GEOS, [], [-lgeos])
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
240 AX_PKG(SUPERLU, [LAPACK], [-lsuperlu])
3a92ea1 @novas0x2a this patch adds --with-modulename-cppflags and --with-modulename-libs.
novas0x2a authored
241 AX_PKG(XERCESC, [], [-lxerces-c])
242 fi
9c887d7 @zmoratto Added a visualization program called Bundlevis. Also modified rmax_ad…
zmoratto authored
243
22eabd4 @novas0x2a Mostly sync the macros between vw & stereo. This is good either if we…
novas0x2a authored
244 dnl We need to link ISIS3RDPARTY against LAPACK because, on some systems,
245 dnl the ISIS compilation does not resolve certain BLAS symbols that its
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
246 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
247 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
248 dnl BLAS symbols in the event that we need them.
e016b05 @zmoratto Previous proposed changes won't do.
zmoratto authored
249 AX_PKG(ISIS3RDPARTY, [SUPERLU LAPACK GSL QWT GEOS SPICE XERCESC], [])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
250 AX_PKG(ISIS, [QT ISIS3RDPARTY], [-lisis3], [SpecialPixel.h])
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
251
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored
252 # These are here (instead of inside the PKG macro where they belong)
253 # for backwards compatability with older versions of automake.
c3e0cad @novas0x2a clean up configure deps a bit
novas0x2a authored
254 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
255 AM_CONDITIONAL(HAVE_PKG_ISIS, [test "$HAVE_PKG_ISIS" = "yes"])
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
256 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
257
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
258 ##################################################
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
259 # module definitions
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
260 ##################################################
261
c3e0cad @novas0x2a clean up configure deps a bit
novas0x2a authored
262 AX_GROUP_PKG(BOOST_COMMON, [BOOST BOOST_PROGRAM_OPTIONS])
060a0d7 @zmoratto Build fix for linux machines. Libvw just didn't seem to work so I broke
zmoratto authored
263 AX_GROUP_PKG(BOOST_ALL, [BOOST_COMMON BOOST_FILESYSTEM BOOST_SYSTEM BOOST_DATETIME BOOST_THREAD BOOST_IOSTREAMS])
c3e0cad @novas0x2a clean up configure deps a bit
novas0x2a authored
264 AX_GROUP_PKG(VW_ALL, [VW VW_CAMERA VW_CARTOGRAPHY VW_STEREO VW_INTEREST_POINT])
265
63cda06 @zmoratto Reorganizing to reduce linking time (tested on OSX)
zmoratto authored
266 AX_MODULE(CORE, [src/asp/Core], [libaspCore.la], yes, [], [BOOST_COMMON BOOST_FILESYSTEM BOOST_SYSTEM BOOST_THREAD VW_ALL], [LAPACK])
267 AX_MODULE(SPICEIO, [src/asp/SpiceIO], [libaspSpiceIO.la], yes, [], [VW BOOST SPICE], [] )
268 AX_MODULE(ISISIO, [src/asp/IsisIO], [libaspIsisIO.la], yes, [], [BOOST ISIS VW VW_CAMERA VW_CARTOGRAPHY], [] )
269 AX_MODULE(SESSIONS, [src/asp/Sessions], [libaspSessions.la], yes, [CORE], [], [SPICEIO ISISIO])
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
270
63cda06 @zmoratto Reorganizing to reduce linking time (tested on OSX)
zmoratto authored
271 AX_APP(STEREO, [src/asp/Tools], yes, [CORE SESSIONS])
272 AX_APP(ORTHOPROJECT, [src/asp/Tools], yes, [CORE SESSIONS])
273 AX_APP(BUNDLEADJUST, [src/asp/Tools], no, [CORE SESSIONS])
274 AX_APP(ORBITVIZ, [src/asp/Tools], yes, [SESSIONS])
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
275 AX_APP(DISPARITYDEBUG, [src/asp/Tools], yes, [BOOST_COMMON VW VW_STEREO])
63cda06 @zmoratto Reorganizing to reduce linking time (tested on OSX)
zmoratto authored
276 AX_APP(POINT2MESH, [src/asp/Tools], yes, [BOOST_COMMON VW OPENSCENEGRAPH])
277 AX_APP(POINT2DEM, [src/asp/Tools], yes, [CORE])
278 AX_APP(RMAX2CAHVOR, [src/asp/Tools], no, [SESSIONS])
279 AX_APP(RMAXADJUST, [src/asp/Tools], no, [CORE SESSIONS])
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
280 AX_APP(BUNDLEVIS, [src/asp/Tools], no, [BOOST_COMMON OPENSCENEGRAPH VW VW_CAMERA])
63cda06 @zmoratto Reorganizing to reduce linking time (tested on OSX)
zmoratto authored
281 AX_APP(ISISADJUST, [src/asp/Tools], yes, [CORE ISISIO])
282 AX_APP(RESULTS, [src/asp/Tools], yes, [ISISIO])
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
283 AX_APP(RECONSTRUCT, [src/asp/Tools], no, [BOOST_ALL VW VW_CARTOGRAPHY])
0a19f99 @khusmann begun work on an experimental utility for comparing dems
khusmann authored
284 AX_APP(ALIGNDEM, [src/asp/Tools], yes, [BOOST_COMMON VW VW_CARTOGRAPHY VW_INTEREST_POINT])
6eaf219 @zmoratto Rough draft upload of a DEM profile utility. Currently it can only ma…
zmoratto authored
285 AX_APP(DEMPROFILE, [src/asp/Tools], yes, [VW VW_CARTOGRAPHY BOOST_COMMON])
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
286
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
287
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored
288 # These are here (instead of inside the APP macro where they belong)
289 # for backwards compatability with older versions of automake.
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
290 AM_CONDITIONAL(MAKE_MODULE_CORE, [test "$MAKE_MODULE_CORE" = "yes"])
291 AM_CONDITIONAL(MAKE_MODULE_ISISIO, [test "$MAKE_MODULE_ISISIO" = "yes"])
292 AM_CONDITIONAL(MAKE_MODULE_SPICEIO, [test "$MAKE_MODULE_SPICEIO" = "yes"])
293 AM_CONDITIONAL(MAKE_MODULE_SESSIONS, [test "$MAKE_MODULE_SESSIONS" = "yes"])
294
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored
295 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 b…
broxtronix authored
296 AM_CONDITIONAL(MAKE_APP_STEREOGUI, [test "$MAKE_APP_STEREOGUI" = "yes"])
8634e65 @broxtronix Added AM_CONDITIONAL directives for better backwards compatibility wi…
broxtronix authored
297 AM_CONDITIONAL(MAKE_APP_ORTHOPROJECT, [test "$MAKE_APP_ORTHOPROJECT" = "yes"])
298 AM_CONDITIONAL(MAKE_APP_BUNDLEADJUST, [test "$MAKE_APP_BUNDLEADJUST" = "yes"])
299 AM_CONDITIONAL(MAKE_APP_ORBITVIZ, [test "$MAKE_APP_ORBITVIZ" = "yes"])
300 AM_CONDITIONAL(MAKE_APP_DISPARITYDEBUG, [test "$MAKE_APP_DISPARITYDEBUG" = "yes"])
301 AM_CONDITIONAL(MAKE_APP_POINT2MESH, [test "$MAKE_APP_POINT2MESH" = "yes"])
302 AM_CONDITIONAL(MAKE_APP_POINT2DEM, [test "$MAKE_APP_POINT2DEM" = "yes"])
303 AM_CONDITIONAL(MAKE_APP_RMAX2CAHVOR, [test "$MAKE_APP_RMAX2CAHVOR" = "yes"])
304 AM_CONDITIONAL(MAKE_APP_RMAXADJUST, [test "$MAKE_APP_RMAXADJUST" = "yes"])
305 AM_CONDITIONAL(MAKE_APP_BUNDLEVIS, [test "$MAKE_APP_BUNDLEVIS" = "yes"])
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
306 AM_CONDITIONAL(MAKE_APP_ISISADJUST, [test "$MAKE_APP_ISISADJUST" = "yes"])
9686523 @anefian added support for results
anefian authored
307 AM_CONDITIONAL(MAKE_APP_RESULTS, [test "$MAKE_APP_RESULTS" = "yes"])
fd21b10 @zmoratto Adding Ara's new program, reconstruct.
zmoratto authored
308 AM_CONDITIONAL(MAKE_APP_RECONSTRUCT, [test "$MAKE_APP_RECONSTRUCT" = "yes"])
0a19f99 @khusmann begun work on an experimental utility for comparing dems
khusmann authored
309 AM_CONDITIONAL(MAKE_APP_ALIGNDEM, [test "$MAKE_APP_ALIGNDEM" = "yes"])
6eaf219 @zmoratto Rough draft upload of a DEM profile utility. Currently it can only ma…
zmoratto authored
310 AM_CONDITIONAL(MAKE_APP_DEMPROFILE, [test "$MAKE_APP_DEMPROFILE" = "yes"])
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
311
312 ##################################################
313 # final processing
314 ##################################################
315
316 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
317 ASP_LDFLAGS="$OTHER_LDFLAGS"
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
318
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
319 # Do this last, to make sure it's not overridden
320 if test x"$ENABLE_STRICT_ALIASING" = x"no"; then
321 CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
322 fi
323
545de6e @novas0x2a Synchronize VW and Stereo build systems
novas0x2a authored
324 AX_LOG([using CPPFLAGS=$CPPFLAGS])
325 AX_LOG([using ASP_CPPFLAGS=$ASP_CPPFLAGS])
326 AX_LOG([using CFLAGS=$CFLAGS])
327 AX_LOG([using CXXFLAGS=$CXXFLAGS])
328 AX_LOG([using LDFLAGS=$LDFLAGS])
329 AX_LOG([using ASP_LDFLAGS=$ASP_LDFLAGS])
330 AX_LOG([using ASP_ENABLE_EXCEPTIONS=$ENABLE_EXCEPTIONS])
331
a74972c @broxtronix Merged in changes from the isis_devel branch. Improvements include a…
broxtronix authored
332 AC_SUBST(ASP_CPPFLAGS)
333 AC_SUBST(ASP_LDFLAGS)
334
335
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
336 ##################################################
40a3704 @novas0x2a merge in more changes from vw
novas0x2a authored
337 # makefiles to process
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
338 ##################################################
339
340 AC_CONFIG_FILES([ \
341 Makefile \
342 src/Makefile \
9c0d10b @zmoratto Massive reorganization. Works this time! A good handful of code has b…
zmoratto authored
343 src/asp/Makefile \
344 src/asp/Core/Makefile \
345 src/asp/SpiceIO/Makefile \
346 src/asp/IsisIO/Makefile \
347 src/asp/Sessions/Makefile \
348 src/asp/Sessions/ISIS/Makefile \
349 src/asp/Sessions/Keypoint/Makefile \
350 src/asp/Sessions/Pinhole/Makefile \
351 src/asp/Sessions/RMAX/Makefile \
352 src/asp/Tools/Makefile
bf17a24 @broxtronix Re-arranged the repository...
broxtronix authored
353 ])
354
355 AC_OUTPUT
Something went wrong with that request. Please try again.