# CMakeLists for dyninst/gfortran/32/dyn/pic/none
set (CMAKE_Fortran_FLAGS "${MUTATOR_DEFINES}  -g ${MUTATEE_G77_FFLAGS}  -g -O0 -fPIC")
set (CMAKE_Fortran_FLAGS_DEBUG "")
set (CMAKE_Fortran_FLAGS_RELEASE "")
set (CMAKE_Fortran_FLAGS_RELWITHDEBINFO "")
set (CMAKE_Fortran_COMPILER "${M_gnu_fc}")
include_directories("${PROJECT_SOURCE_DIR}/testsuite/src")
include_directories("${PROJECT_SOURCE_DIR}/testsuite/src/dyninst")
add_definitions(-DSOLO_MUTATEE)
set (CMAKE_EXE_LINKER_FLAGS "${MUTATEE_G77_LDFLAGS}  ")
IF (NOT ${M_gnu_fc} MATCHES "NOTFOUND")
CHECK_MUTATEE_COMPILER ("${M_gnu_fc}"
	"${MUTATOR_DEFINES}  -g ${MUTATEE_G77_FFLAGS}  -g -O0 -fPIC"
	"${MUTATEE_G77_LDFLAGS}  "
	"Fortran"
	"gnu_fc 32 dyn"
	MUTATEEgnufc32dynFortran)

IF (MUTATEEgnufc32dynFortran MATCHES "1")
include (${PROJECT_SOURCE_DIR}/i386-unknown-linux2.4/srclists.cmake)
add_executable (test1_10F.dyn_gfortran_32_pic_none ${SOURCE_LIST_20})
foreach (f ${SOURCE_LIST_20})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_10F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_11F.dyn_gfortran_32_pic_none ${SOURCE_LIST_12})
foreach (f ${SOURCE_LIST_12})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_11F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_12F.dyn_gfortran_32_pic_none ${SOURCE_LIST_41})
foreach (f ${SOURCE_LIST_41})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_12F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_13F.dyn_gfortran_32_pic_none ${SOURCE_LIST_81})
foreach (f ${SOURCE_LIST_81})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_13F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_14F.dyn_gfortran_32_pic_none ${SOURCE_LIST_100})
foreach (f ${SOURCE_LIST_100})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_14F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_16F.dyn_gfortran_32_pic_none ${SOURCE_LIST_23})
foreach (f ${SOURCE_LIST_23})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_16F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_17F.dyn_gfortran_32_pic_none ${SOURCE_LIST_35})
foreach (f ${SOURCE_LIST_35})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_17F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_18F.dyn_gfortran_32_pic_none ${SOURCE_LIST_77})
foreach (f ${SOURCE_LIST_77})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_18F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_19F.dyn_gfortran_32_pic_none ${SOURCE_LIST_89})
foreach (f ${SOURCE_LIST_89})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_19F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_1F.dyn_gfortran_32_pic_none ${SOURCE_LIST_57})
foreach (f ${SOURCE_LIST_57})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_1F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_20F.dyn_gfortran_32_pic_none ${SOURCE_LIST_52})
foreach (f ${SOURCE_LIST_52})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_20F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_25F.dyn_gfortran_32_pic_none ${SOURCE_LIST_13})
foreach (f ${SOURCE_LIST_13})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_25F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_29F.dyn_gfortran_32_pic_none ${SOURCE_LIST_45})
foreach (f ${SOURCE_LIST_45})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_29F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_2F.dyn_gfortran_32_pic_none ${SOURCE_LIST_38})
foreach (f ${SOURCE_LIST_38})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_2F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_31F.dyn_gfortran_32_pic_none ${SOURCE_LIST_63})
foreach (f ${SOURCE_LIST_63})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_31F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_32F.dyn_gfortran_32_pic_none ${SOURCE_LIST_10})
foreach (f ${SOURCE_LIST_10})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_32F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_34F.dyn_gfortran_32_pic_none ${SOURCE_LIST_53})
foreach (f ${SOURCE_LIST_53})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_34F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_36F.dyn_gfortran_32_pic_none ${SOURCE_LIST_30})
foreach (f ${SOURCE_LIST_30})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_36F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_3F.dyn_gfortran_32_pic_none ${SOURCE_LIST_73})
foreach (f ${SOURCE_LIST_73})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_3F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_4F.dyn_gfortran_32_pic_none ${SOURCE_LIST_103})
foreach (f ${SOURCE_LIST_103})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_4F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_5F.dyn_gfortran_32_pic_none ${SOURCE_LIST_55})
foreach (f ${SOURCE_LIST_55})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_5F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_6F.dyn_gfortran_32_pic_none ${SOURCE_LIST_65})
foreach (f ${SOURCE_LIST_65})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_6F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_7F.dyn_gfortran_32_pic_none ${SOURCE_LIST_2})
foreach (f ${SOURCE_LIST_2})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_7F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_8F.dyn_gfortran_32_pic_none ${SOURCE_LIST_101})
foreach (f ${SOURCE_LIST_101})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_8F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)
add_executable (test1_9F.dyn_gfortran_32_pic_none ${SOURCE_LIST_49})
foreach (f ${SOURCE_LIST_49})
	get_source_file_property(lang ${f} LANGUAGE)
	if(lang MATCHES "C")
		set_source_files_properties(${f} PROPERTIES LANGUAGE Fortran)
	endif()
	endforeach()
set_target_properties(test1_9F.dyn_gfortran_32_pic_none PROPERTIES LINKER_LANGUAGE Fortran)


INSTALL (TARGETS
		test1_10F.dyn_gfortran_32_pic_none
		test1_11F.dyn_gfortran_32_pic_none
		test1_12F.dyn_gfortran_32_pic_none
		test1_13F.dyn_gfortran_32_pic_none
		test1_14F.dyn_gfortran_32_pic_none
		test1_16F.dyn_gfortran_32_pic_none
		test1_17F.dyn_gfortran_32_pic_none
		test1_18F.dyn_gfortran_32_pic_none
		test1_19F.dyn_gfortran_32_pic_none
		test1_1F.dyn_gfortran_32_pic_none
		test1_20F.dyn_gfortran_32_pic_none
		test1_25F.dyn_gfortran_32_pic_none
		test1_29F.dyn_gfortran_32_pic_none
		test1_2F.dyn_gfortran_32_pic_none
		test1_31F.dyn_gfortran_32_pic_none
		test1_32F.dyn_gfortran_32_pic_none
		test1_34F.dyn_gfortran_32_pic_none
		test1_36F.dyn_gfortran_32_pic_none
		test1_3F.dyn_gfortran_32_pic_none
		test1_4F.dyn_gfortran_32_pic_none
		test1_5F.dyn_gfortran_32_pic_none
		test1_6F.dyn_gfortran_32_pic_none
		test1_7F.dyn_gfortran_32_pic_none
		test1_8F.dyn_gfortran_32_pic_none
		test1_9F.dyn_gfortran_32_pic_none
	DESTINATION ${INSTALL_DIR})

ELSE()
MESSAGE (STATUS "Compiler check for gnu_fc failed")
ENDIF()
ELSE()
MESSAGE (STATUS "Compiler gnu_fc not present")
ENDIF()
