INCLUDE_DIRECTORIES(
	${Profdist_BIN_DIR}
	${Boost_INCLUDE_DIRS}
)

SET(profdist_lib_HEADER
	aligncode.h
	aligncode.inl
	bdb_parser.h
	bionj_clean.h
	bootstrap.h
	cbcs.h
	concepts.h
	consense.h
	correction.h
	correction.inl
	countedsets.h
	ct_parser.h
	ct_transform.h
	debug.h
	distance.h
	distance.inl
	dnamapper.h
	exceptions.h
	file_resources.hpp
	fixed_matrix.h
	fixed_matrix_math.h
	forester_parser.h
	functions.h
	mapDef.h
	marna_parser.h
	matrix_eigenvalues_cache.h
	newick.h
	newickize.h
	pair_iterator.h
	parsed_alignment.hpp
	parsed_sequence.h
	parsed_tree.h
	parser.h
	profile.h
	profile.inl
	progress_update.h
	protein_mapper.hpp
	qvtml.h
	rai_adaptor.h
	rna_structure_mapper.hpp
	spirit_helper.h
	tMatrix.h
	tMatrix.inl
	tVector.h
	traits.hpp
	tree.h
	trim.h
	types.h
)

SET(profdist_lib_SOURCES
	aligncode.cpp
	bdb_parser.cpp
	bionj_clean.cpp
	bootstrap.cpp
	cbcs.cpp
	consense.cpp
	countedsets.cpp
	ct_parser.cpp
	det.cpp
	distance.cpp
	dnamapper.cpp
	embl_parser.cpp
	fasta_parser.cpp
	file_resources.cpp
	forester_parser.cpp
	marna_parser.cpp
	matrix_eigenvalues_cache.cpp
	newick.cpp
	newickize.cpp
	parsed_alignment.cpp
	parsed_tree.cpp
	profile.cpp
	progress_update.cpp
	protein_mapper.cpp
	rna_structure_mapper.cpp
	traits.cpp
	tree.cpp
)

SET(profdist_lib_test_SOURCES
	align_pnj_test.cpp
	aligncode_test.cpp
	concept_test.cpp
	correction_test.cpp
	ct_test.cpp
	distance_test.cpp
	matrix_test.cpp
	profile_test.cpp
)

ADD_LIBRARY(profdist SHARED ${profdist_lib_SOURCES})
#ADD_EXECUTABLE(plot plot.cpp)
#ADD_EXECUTABLE(prof prof.cpp)
#TARGET_LINK_LIBRARIES(plot profdist ${BOOST_PROGRAM_OPTIONS_LIB})
#TARGET_LINK_LIBRARIES(prof profdist ${BOOST_PROGRAM_OPTIONS_LIB})

INSTALL(TARGETS profdist LIBRARY DESTINATION lib)
