| 
									
										
										
										
											2010-08-27 02:46:48 +08:00
										 |  |  | #----------------------------------------------------------------------------------------------------
 | 
					
						
							|  |  |  | # GTSAM Examples
 | 
					
						
							|  |  |  | #----------------------------------------------------------------------------------------------------
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # use nostdinc to turn off -I. and -I.., we do not need them because 
 | 
					
						
							|  |  |  | # header files are qualified so they can be included in external projects.
 | 
					
						
							|  |  |  | AUTOMAKE_OPTIONS = nostdinc | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | headers = | 
					
						
							|  |  |  | sources =  | 
					
						
							|  |  |  | check_PROGRAMS = | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Examples
 | 
					
						
							| 
									
										
										
										
											2010-10-22 05:38:38 +08:00
										 |  |  | noinst_PROGRAMS  = SimpleRotation		      		# Optimizes a single nonlinear rotation variable | 
					
						
							|  |  |  | noinst_PROGRAMS += PlanarSLAMExample_easy			# Solves SLAM example from tutorial by using planarSLAM | 
					
						
							|  |  |  | noinst_PROGRAMS += PlanarSLAMSelfContained_advanced	# Solves SLAM example from tutorial with all typedefs in the script | 
					
						
							|  |  |  | noinst_PROGRAMS += Pose2SLAMExample_easy 			# Solves SLAM example from tutorial by using Pose2SLAM and easy optimization interface | 
					
						
							|  |  |  | noinst_PROGRAMS += Pose2SLAMExample_advanced		# Solves SLAM example from tutorial by using Pose2SLAM and advanced optimization interface | 
					
						
							| 
									
										
										
										
											2010-10-23 13:47:29 +08:00
										 |  |  | noinst_PROGRAMS += Pose2SLAMwSPCG_easy      		# Solves a simple Pose2 SLAM example with advanced SPCG solver | 
					
						
							|  |  |  | noinst_PROGRAMS += Pose2SLAMwSPCG_advanced  		# Solves a simple Pose2 SLAM example with easy SPCG solver | 
					
						
							| 
									
										
										
										
											2010-10-26 09:11:35 +08:00
										 |  |  | SUBDIRS = vSLAMexample # visual SLAM examples with 3D point landmarks and 6D camera poses | 
					
						
							| 
									
										
										
										
											2010-08-27 02:46:48 +08:00
										 |  |  | #----------------------------------------------------------------------------------------------------
 | 
					
						
							|  |  |  | # rules to build local programs
 | 
					
						
							|  |  |  | #----------------------------------------------------------------------------------------------------
 | 
					
						
							| 
									
										
										
										
											2010-10-26 04:10:33 +08:00
										 |  |  | AM_CPPFLAGS = $(BOOST_CPPFLAGS) -I$(CCOLAMDInc) -I$(top_srcdir) | 
					
						
							| 
									
										
										
										
											2010-10-19 05:44:38 +08:00
										 |  |  | AM_LDFLAGS = $(BOOST_LDFLAGS) | 
					
						
							| 
									
										
										
										
											2010-10-26 04:10:33 +08:00
										 |  |  | LDADD = ../gtsam/libgtsam.la | 
					
						
							| 
									
										
										
										
											2010-08-27 02:46:48 +08:00
										 |  |  | AM_DEFAULT_SOURCE_EXT = .cpp | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # rule to run an executable
 | 
					
						
							|  |  |  | %.run: % $(LDADD) | 
					
						
							|  |  |  | 	./$^ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-10-03 07:38:01 +08:00
										 |  |  | # rule to run executable with valgrind
 | 
					
						
							|  |  |  | %.valgrind: % $(LDADD) | 
					
						
							|  |  |  | 	valgrind ./$^ | 
					
						
							| 
									
										
										
										
											2010-08-27 02:46:48 +08:00
										 |  |  | #----------------------------------------------------------------------------------------------------
 |