#
# This is a CMake makefile.  You can find the cmake utility and
# information about it at http://www.cmake.org
#


cmake_minimum_required(VERSION 2.8.12)
project(cblas)


enable_language (Fortran)

set(CMAKE_POSITION_INDEPENDENT_CODE True)
add_definitions(-DADD_ -DF77_INT=ptrdiff_t)

add_library(cblas STATIC 
   cblas_caxpy.c
   #cblas_ccopy.c
   cblas_cdotc_sub.c
   cblas_cdotu_sub.c
   #cblas_cgbmv.c
   cblas_cgemm.c
   cblas_cgemv.c
   cblas_cgerc.c
   cblas_cgeru.c
   #cblas_chbmv.c
   #cblas_chemm.c
   #cblas_chemv.c
   #cblas_cher2.c
   #cblas_cher2k.c
   #cblas_cher.c
   #cblas_cherk.c
   #cblas_chpmv.c
   #cblas_chpr2.c
   #cblas_chpr.c
   cblas_cscal.c
   #cblas_csscal.c
   #cblas_cswap.c
   #cblas_csymm.c
   #cblas_csyr2k.c
   #cblas_csyrk.c
   #cblas_ctbmv.c
   #cblas_ctbsv.c
   #cblas_ctpmv.c
   #cblas_ctpsv.c
   #cblas_ctrmm.c
   #cblas_ctrmv.c
   cblas_ctrsm.c
   #cblas_ctrsv.c
   #cblas_dasum.c
   cblas_daxpy.c
   #cblas_dcopy.c
   cblas_ddot.c
   #cblas_dgbmv.c
   cblas_dgemm.c
   cblas_dgemv.c
   cblas_dger.c
   #cblas_dnrm2.c
   #cblas_drot.c
   #cblas_drotg.c
   #cblas_drotm.c
   #cblas_drotmg.c
   #cblas_dsbmv.c
   cblas_dscal.c
   #cblas_dsdot.c
   #cblas_dspmv.c
   #cblas_dspr2.c
   #cblas_dspr.c
   #cblas_dswap.c
   #cblas_dsymm.c
   #cblas_dsymv.c
   #cblas_dsyr2.c
   #cblas_dsyr2k.c
   #cblas_dsyr.c
   #cblas_dsyrk.c
   #cblas_dtbmv.c
   #cblas_dtbsv.c
   #cblas_dtpmv.c
   #cblas_dtpsv.c
   #cblas_dtrmm.c
   #cblas_dtrmv.c
   cblas_dtrsm.c
   #cblas_dtrsv.c
   #cblas_dzasum.c
   #cblas_dznrm2.c
   #cblas_icamax.c
   #cblas_idamax.c
   #cblas_isamax.c
   #cblas_izamax.c
   #cblas_sasum.c
   cblas_saxpy.c
   #cblas_scasum.c
   #cblas_scnrm2.c
   #cblas_scopy.c
   cblas_sdot.c
   #cblas_sdsdot.c
   #cblas_sgbmv.c
   cblas_sgemm.c
   cblas_sgemv.c
   cblas_sger.c
   #cblas_snrm2.c
   #cblas_srot.c
   #cblas_srotg.c
   #cblas_srotm.c
   #cblas_srotmg.c
   #cblas_ssbmv.c
   cblas_sscal.c
   #cblas_sspmv.c
   #cblas_sspr2.c
   #cblas_sspr.c
   #cblas_sswap.c
   #cblas_ssymm.c
   #cblas_ssymv.c
   #cblas_ssyr2.c
   #cblas_ssyr2k.c
   #cblas_ssyr.c
   #cblas_ssyrk.c
   #cblas_stbmv.c
   #cblas_stbsv.c
   #cblas_stpmv.c
   #cblas_stpsv.c
   #cblas_strmm.c
   #cblas_strmv.c
   cblas_strsm.c
   #cblas_strsv.c
   cblas_xerbla.c
   cblas_zaxpy.c
   #cblas_zcopy.c
   cblas_zdotc_sub.c
   cblas_zdotu_sub.c
   #cblas_zdscal.c
   #cblas_zgbmv.c
   cblas_zgemm.c
   cblas_zgemv.c
   cblas_zgerc.c
   cblas_zgeru.c
   #cblas_zhbmv.c
   #cblas_zhemm.c
   #cblas_zhemv.c
   #cblas_zher2.c
   #cblas_zher2k.c
   #cblas_zher.c
   #cblas_zherk.c
   #cblas_zhpmv.c
   #cblas_zhpr2.c
   #cblas_zhpr.c
   cblas_zscal.c
   #cblas_zswap.c
   #cblas_zsymm.c
   #cblas_zsyr2k.c
   #cblas_zsyrk.c
   #cblas_ztbmv.c
   #cblas_ztbsv.c
   #cblas_ztpmv.c
   #cblas_ztpsv.c
   #cblas_ztrmm.c
   #cblas_ztrmv.c
   cblas_ztrsm.c
   #cblas_ztrsv.c

   cdotcsub.f
   cdotusub.f
   dasumsub.f
   ddotsub.f
   dnrm2sub.f
   dsdotsub.f
   dzasumsub.f
   dznrm2sub.f
   icamaxsub.f
   idamaxsub.f
   isamaxsub.f
   izamaxsub.f
   sasumsub.f
   scasumsub.f
   scnrm2sub.f
   sdotsub.f
   sdsdotsub.f
   snrm2sub.f
   zdotcsub.f
   zdotusub.f
      )

