
set(C_SRC
  lapacke_cbbcsd.c 
  lapacke_cbbcsd_work.c 
  lapacke_cbdsqr.c 
  lapacke_cbdsqr_work.c 
  lapacke_cgbbrd.c 
  lapacke_cgbbrd_work.c 
  lapacke_cgbcon.c 
  lapacke_cgbcon_work.c 
  lapacke_cgbequ.c 
  lapacke_cgbequ_work.c 
  lapacke_cgbequb.c 
  lapacke_cgbequb_work.c 
  lapacke_cgbrfs.c 
  lapacke_cgbrfs_work.c 
  lapacke_cgbsv.c 
  lapacke_cgbsv_work.c 
  lapacke_cgbsvx.c 
  lapacke_cgbsvx_work.c 
  lapacke_cgbtrf.c 
  lapacke_cgbtrf_work.c 
  lapacke_cgbtrs.c 
  lapacke_cgbtrs_work.c 
  lapacke_cgebak.c 
  lapacke_cgebak_work.c 
  lapacke_cgebal.c 
  lapacke_cgebal_work.c 
  lapacke_cgebrd.c 
  lapacke_cgebrd_work.c 
  lapacke_cgecon.c 
  lapacke_cgecon_work.c 
  lapacke_cgeequ.c 
  lapacke_cgeequ_work.c 
  lapacke_cgeequb.c 
  lapacke_cgeequb_work.c 
  lapacke_cgees.c 
  lapacke_cgees_work.c 
  lapacke_cgeesx.c 
  lapacke_cgeesx_work.c 
  lapacke_cgeev.c 
  lapacke_cgeev_work.c 
  lapacke_cgeevx.c 
  lapacke_cgeevx_work.c 
  lapacke_cgehrd.c 
  lapacke_cgehrd_work.c 
  lapacke_cgelq2.c 
  lapacke_cgelq2_work.c 
  lapacke_cgelqf.c 
  lapacke_cgelqf_work.c 
  lapacke_cgels.c 
  lapacke_cgels_work.c 
  lapacke_cgelsd.c 
  lapacke_cgelsd_work.c 
  lapacke_cgelss.c 
  lapacke_cgelss_work.c 
  lapacke_cgelsy.c 
  lapacke_cgelsy_work.c 
  lapacke_cgemqrt.c 
  lapacke_cgemqrt_work.c 
  lapacke_cgeqlf.c 
  lapacke_cgeqlf_work.c 
  lapacke_cgeqp3.c 
  lapacke_cgeqp3_work.c 
  lapacke_cgeqpf.c 
  lapacke_cgeqpf_work.c 
  lapacke_cgeqr2.c 
  lapacke_cgeqr2_work.c 
  lapacke_cgeqrf.c 
  lapacke_cgeqrf_work.c 
  lapacke_cgeqrfp.c 
  lapacke_cgeqrfp_work.c 
  lapacke_cgeqrt.c 
  lapacke_cgeqrt2.c 
  lapacke_cgeqrt2_work.c 
  lapacke_cgeqrt3.c 
  lapacke_cgeqrt3_work.c 
  lapacke_cgeqrt_work.c 
  lapacke_cgerfs.c 
  lapacke_cgerfs_work.c 
  lapacke_cgerqf.c 
  lapacke_cgerqf_work.c 
  lapacke_cgesdd.c 
  lapacke_cgesdd_work.c 
  lapacke_cgesv.c 
  lapacke_cgesv_work.c 
  lapacke_cgesvd.c 
  lapacke_cgesvd_work.c 
  lapacke_cgesvx.c 
  lapacke_cgesvx_work.c 
  lapacke_cgetf2.c 
  lapacke_cgetf2_work.c 
  lapacke_cgetrf.c 
  lapacke_cgetrf_work.c 
  lapacke_cgetri.c 
  lapacke_cgetri_work.c 
  lapacke_cgetrs.c 
  lapacke_cgetrs_work.c 
  lapacke_cggbak.c 
  lapacke_cggbak_work.c 
  lapacke_cggbal.c 
  lapacke_cggbal_work.c 
  lapacke_cgges.c 
  lapacke_cgges_work.c 
  lapacke_cggesx.c 
  lapacke_cggesx_work.c 
  lapacke_cggev.c 
  lapacke_cggev_work.c 
  lapacke_cggevx.c 
  lapacke_cggevx_work.c 
  lapacke_cggglm.c 
  lapacke_cggglm_work.c 
  lapacke_cgghrd.c 
  lapacke_cgghrd_work.c 
  lapacke_cgglse.c 
  lapacke_cgglse_work.c 
  lapacke_cggqrf.c 
  lapacke_cggqrf_work.c 
  lapacke_cggrqf.c 
  lapacke_cggrqf_work.c 
  lapacke_cggsvd.c 
  lapacke_cggsvd_work.c 
  lapacke_cggsvp.c 
  lapacke_cggsvp_work.c 
  lapacke_cgtcon.c 
  lapacke_cgtcon_work.c 
  lapacke_cgtrfs.c 
  lapacke_cgtrfs_work.c 
  lapacke_cgtsv.c 
  lapacke_cgtsv_work.c 
  lapacke_cgtsvx.c 
  lapacke_cgtsvx_work.c 
  lapacke_cgttrf.c 
  lapacke_cgttrf_work.c 
  lapacke_cgttrs.c 
  lapacke_cgttrs_work.c 
  lapacke_chbev.c 
  lapacke_chbev_work.c 
  lapacke_chbevd.c 
  lapacke_chbevd_work.c 
  lapacke_chbevx.c 
  lapacke_chbevx_work.c 
  lapacke_chbgst.c 
  lapacke_chbgst_work.c 
  lapacke_chbgv.c 
  lapacke_chbgv_work.c 
  lapacke_chbgvd.c 
  lapacke_chbgvd_work.c 
  lapacke_chbgvx.c 
  lapacke_chbgvx_work.c 
  lapacke_chbtrd.c 
  lapacke_chbtrd_work.c 
  lapacke_checon.c 
  lapacke_checon_work.c 
  lapacke_cheequb.c 
  lapacke_cheequb_work.c 
  lapacke_cheev.c 
  lapacke_cheev_work.c 
  lapacke_cheevd.c 
  lapacke_cheevd_work.c 
  lapacke_cheevr.c 
  lapacke_cheevr_work.c 
  lapacke_cheevx.c 
  lapacke_cheevx_work.c 
  lapacke_chegst.c 
  lapacke_chegst_work.c 
  lapacke_chegv.c 
  lapacke_chegv_work.c 
  lapacke_chegvd.c 
  lapacke_chegvd_work.c 
  lapacke_chegvx.c 
  lapacke_chegvx_work.c 
  lapacke_cherfs.c 
  lapacke_cherfs_work.c 
  lapacke_chesv.c 
  lapacke_chesv_work.c 
  lapacke_chesvx.c 
  lapacke_chesvx_work.c 
  lapacke_cheswapr.c 
  lapacke_cheswapr_work.c 
  lapacke_chetrd.c 
  lapacke_chetrd_work.c 
  lapacke_chetrf.c 
  lapacke_chetrf_work.c 
  lapacke_chetri.c 
  lapacke_chetri2.c 
  lapacke_chetri2_work.c 
  lapacke_chetri2x.c 
  lapacke_chetri2x_work.c 
  lapacke_chetri_work.c 
  lapacke_chetrs.c 
  lapacke_chetrs2.c 
  lapacke_chetrs2_work.c 
  lapacke_chetrs_work.c 
  lapacke_chfrk.c 
  lapacke_chfrk_work.c 
  lapacke_chgeqz.c 
  lapacke_chgeqz_work.c 
  lapacke_chpcon.c 
  lapacke_chpcon_work.c 
  lapacke_chpev.c 
  lapacke_chpev_work.c 
  lapacke_chpevd.c 
  lapacke_chpevd_work.c 
  lapacke_chpevx.c 
  lapacke_chpevx_work.c 
  lapacke_chpgst.c 
  lapacke_chpgst_work.c 
  lapacke_chpgv.c 
  lapacke_chpgv_work.c 
  lapacke_chpgvd.c 
  lapacke_chpgvd_work.c 
  lapacke_chpgvx.c 
  lapacke_chpgvx_work.c 
  lapacke_chprfs.c 
  lapacke_chprfs_work.c 
  lapacke_chpsv.c 
  lapacke_chpsv_work.c 
  lapacke_chpsvx.c 
  lapacke_chpsvx_work.c 
  lapacke_chptrd.c 
  lapacke_chptrd_work.c 
  lapacke_chptrf.c 
  lapacke_chptrf_work.c 
  lapacke_chptri.c 
  lapacke_chptri_work.c 
  lapacke_chptrs.c 
  lapacke_chptrs_work.c 
  lapacke_chsein.c 
  lapacke_chsein_work.c 
  lapacke_chseqr.c 
  lapacke_chseqr_work.c 
  lapacke_clacgv.c 
  lapacke_clacgv_work.c 
  lapacke_clacn2.c 
  lapacke_clacn2_work.c 
  lapacke_clacp2.c 
  lapacke_clacp2_work.c 
  lapacke_clacpy.c 
  lapacke_clacpy_work.c 
  lapacke_clag2z.c 
  lapacke_clag2z_work.c 
  lapacke_clange.c 
  lapacke_clange_work.c 
  lapacke_clanhe.c 
  lapacke_clanhe_work.c 
  lapacke_clansy.c 
  lapacke_clansy_work.c 
  lapacke_clantr.c 
  lapacke_clantr_work.c 
  lapacke_clapmr.c 
  lapacke_clapmr_work.c 
  lapacke_clarfb.c 
  lapacke_clarfb_work.c 
  lapacke_clarfg.c 
  lapacke_clarfg_work.c 
  lapacke_clarft.c 
  lapacke_clarft_work.c 
  lapacke_clarfx.c 
  lapacke_clarfx_work.c 
  lapacke_clarnv.c 
  lapacke_clarnv_work.c 
  lapacke_claset.c 
  lapacke_claset_work.c 
  lapacke_claswp.c 
  lapacke_claswp_work.c 
  lapacke_clauum.c 
  lapacke_clauum_work.c 
  lapacke_cpbcon.c 
  lapacke_cpbcon_work.c 
  lapacke_cpbequ.c 
  lapacke_cpbequ_work.c 
  lapacke_cpbrfs.c 
  lapacke_cpbrfs_work.c 
  lapacke_cpbstf.c 
  lapacke_cpbstf_work.c 
  lapacke_cpbsv.c 
  lapacke_cpbsv_work.c 
  lapacke_cpbsvx.c 
  lapacke_cpbsvx_work.c 
  lapacke_cpbtrf.c 
  lapacke_cpbtrf_work.c 
  lapacke_cpbtrs.c 
  lapacke_cpbtrs_work.c 
  lapacke_cpftrf.c 
  lapacke_cpftrf_work.c 
  lapacke_cpftri.c 
  lapacke_cpftri_work.c 
  lapacke_cpftrs.c 
  lapacke_cpftrs_work.c 
  lapacke_cpocon.c 
  lapacke_cpocon_work.c 
  lapacke_cpoequ.c 
  lapacke_cpoequ_work.c 
  lapacke_cpoequb.c 
  lapacke_cpoequb_work.c 
  lapacke_cporfs.c 
  lapacke_cporfs_work.c 
  lapacke_cposv.c 
  lapacke_cposv_work.c 
  lapacke_cposvx.c 
  lapacke_cposvx_work.c 
  lapacke_cpotrf.c 
  lapacke_cpotrf_work.c 
  lapacke_cpotri.c 
  lapacke_cpotri_work.c 
  lapacke_cpotrs.c 
  lapacke_cpotrs_work.c 
  lapacke_cppcon.c 
  lapacke_cppcon_work.c 
  lapacke_cppequ.c 
  lapacke_cppequ_work.c 
  lapacke_cpprfs.c 
  lapacke_cpprfs_work.c 
  lapacke_cppsv.c 
  lapacke_cppsv_work.c 
  lapacke_cppsvx.c 
  lapacke_cppsvx_work.c 
  lapacke_cpptrf.c 
  lapacke_cpptrf_work.c 
  lapacke_cpptri.c 
  lapacke_cpptri_work.c 
  lapacke_cpptrs.c 
  lapacke_cpptrs_work.c 
  lapacke_cpstrf.c 
  lapacke_cpstrf_work.c 
  lapacke_cptcon.c 
  lapacke_cptcon_work.c 
  lapacke_cpteqr.c 
  lapacke_cpteqr_work.c 
  lapacke_cptrfs.c 
  lapacke_cptrfs_work.c 
  lapacke_cptsv.c 
  lapacke_cptsv_work.c 
  lapacke_cptsvx.c 
  lapacke_cptsvx_work.c 
  lapacke_cpttrf.c 
  lapacke_cpttrf_work.c 
  lapacke_cpttrs.c 
  lapacke_cpttrs_work.c 
  lapacke_cspcon.c 
  lapacke_cspcon_work.c 
  lapacke_csprfs.c 
  lapacke_csprfs_work.c 
  lapacke_cspsv.c 
  lapacke_cspsv_work.c 
  lapacke_cspsvx.c 
  lapacke_cspsvx_work.c 
  lapacke_csptrf.c 
  lapacke_csptrf_work.c 
  lapacke_csptri.c 
  lapacke_csptri_work.c 
  lapacke_csptrs.c 
  lapacke_csptrs_work.c 
  lapacke_cstedc.c 
  lapacke_cstedc_work.c 
  lapacke_cstegr.c 
  lapacke_cstegr_work.c 
  lapacke_cstein.c 
  lapacke_cstein_work.c 
  lapacke_cstemr.c 
  lapacke_cstemr_work.c 
  lapacke_csteqr.c 
  lapacke_csteqr_work.c 
  lapacke_csycon.c 
  lapacke_csycon_work.c 
  lapacke_csyconv.c 
  lapacke_csyconv_work.c 
  lapacke_csyequb.c 
  lapacke_csyequb_work.c 
  lapacke_csyrfs.c 
  lapacke_csyrfs_work.c 
  lapacke_csysv.c 
  lapacke_csysv_rook.c 
  lapacke_csysv_rook_work.c 
  lapacke_csysv_work.c 
  lapacke_csysvx.c 
  lapacke_csysvx_work.c 
  lapacke_csyswapr.c 
  lapacke_csyswapr_work.c 
  lapacke_csytrf.c 
  lapacke_csytrf_work.c 
  lapacke_csytri.c 
  lapacke_csytri2.c 
  lapacke_csytri2_work.c 
  lapacke_csytri2x.c 
  lapacke_csytri2x_work.c 
  lapacke_csytri_work.c 
  lapacke_csytrs.c 
  lapacke_csytrs2.c 
  lapacke_csytrs2_work.c 
  lapacke_csytrs_work.c 
  lapacke_ctbcon.c 
  lapacke_ctbcon_work.c 
  lapacke_ctbrfs.c 
  lapacke_ctbrfs_work.c 
  lapacke_ctbtrs.c 
  lapacke_ctbtrs_work.c 
  lapacke_ctfsm.c 
  lapacke_ctfsm_work.c 
  lapacke_ctftri.c 
  lapacke_ctftri_work.c 
  lapacke_ctfttp.c 
  lapacke_ctfttp_work.c 
  lapacke_ctfttr.c 
  lapacke_ctfttr_work.c 
  lapacke_ctgevc.c 
  lapacke_ctgevc_work.c 
  lapacke_ctgexc.c 
  lapacke_ctgexc_work.c 
  lapacke_ctgsen.c 
  lapacke_ctgsen_work.c 
  lapacke_ctgsja.c 
  lapacke_ctgsja_work.c 
  lapacke_ctgsna.c 
  lapacke_ctgsna_work.c 
  lapacke_ctgsyl.c 
  lapacke_ctgsyl_work.c 
  lapacke_ctpcon.c 
  lapacke_ctpcon_work.c 
  lapacke_ctpmqrt.c 
  lapacke_ctpmqrt_work.c 
  lapacke_ctpqrt.c 
  lapacke_ctpqrt2.c 
  lapacke_ctpqrt2_work.c 
  lapacke_ctpqrt_work.c 
  lapacke_ctprfb.c 
  lapacke_ctprfb_work.c 
  lapacke_ctprfs.c 
  lapacke_ctprfs_work.c 
  lapacke_ctptri.c 
  lapacke_ctptri_work.c 
  lapacke_ctptrs.c 
  lapacke_ctptrs_work.c 
  lapacke_ctpttf.c 
  lapacke_ctpttf_work.c 
  lapacke_ctpttr.c 
  lapacke_ctpttr_work.c 
  lapacke_ctrcon.c 
  lapacke_ctrcon_work.c 
  lapacke_ctrevc.c 
  lapacke_ctrevc_work.c 
  lapacke_ctrexc.c 
  lapacke_ctrexc_work.c 
  lapacke_ctrrfs.c 
  lapacke_ctrrfs_work.c 
  lapacke_ctrsen.c 
  lapacke_ctrsen_work.c 
  lapacke_ctrsna.c 
  lapacke_ctrsna_work.c 
  lapacke_ctrsyl.c 
  lapacke_ctrsyl_work.c 
  lapacke_ctrtri.c 
  lapacke_ctrtri_work.c 
  lapacke_ctrtrs.c 
  lapacke_ctrtrs_work.c 
  lapacke_ctrttf.c 
  lapacke_ctrttf_work.c 
  lapacke_ctrttp.c 
  lapacke_ctrttp_work.c 
  lapacke_ctzrzf.c 
  lapacke_ctzrzf_work.c 
  lapacke_cunbdb.c 
  lapacke_cunbdb_work.c 
  lapacke_cuncsd.c 
  lapacke_cuncsd_work.c 
  lapacke_cungbr.c 
  lapacke_cungbr_work.c 
  lapacke_cunghr.c 
  lapacke_cunghr_work.c 
  lapacke_cunglq.c 
  lapacke_cunglq_work.c 
  lapacke_cungql.c 
  lapacke_cungql_work.c 
  lapacke_cungqr.c 
  lapacke_cungqr_work.c 
  lapacke_cungrq.c 
  lapacke_cungrq_work.c 
  lapacke_cungtr.c 
  lapacke_cungtr_work.c 
  lapacke_cunmbr.c 
  lapacke_cunmbr_work.c 
  lapacke_cunmhr.c 
  lapacke_cunmhr_work.c 
  lapacke_cunmlq.c 
  lapacke_cunmlq_work.c 
  lapacke_cunmql.c 
  lapacke_cunmql_work.c 
  lapacke_cunmqr.c 
  lapacke_cunmqr_work.c 
  lapacke_cunmrq.c 
  lapacke_cunmrq_work.c 
  lapacke_cunmrz.c 
  lapacke_cunmrz_work.c 
  lapacke_cunmtr.c 
  lapacke_cunmtr_work.c 
  lapacke_cupgtr.c 
  lapacke_cupgtr_work.c 
  lapacke_cupmtr.c 
  lapacke_cupmtr_work.c
)

set(DSRC
  lapacke_dbbcsd.c 
  lapacke_dbbcsd_work.c 
  lapacke_dbdsdc.c 
  lapacke_dbdsdc_work.c 
  lapacke_dbdsqr.c 
  lapacke_dbdsqr_work.c 
  lapacke_ddisna.c 
  lapacke_ddisna_work.c 
  lapacke_dgbbrd.c 
  lapacke_dgbbrd_work.c 
  lapacke_dgbcon.c 
  lapacke_dgbcon_work.c 
  lapacke_dgbequ.c 
  lapacke_dgbequ_work.c 
  lapacke_dgbequb.c 
  lapacke_dgbequb_work.c 
  lapacke_dgbrfs.c 
  lapacke_dgbrfs_work.c 
  lapacke_dgbsv.c 
  lapacke_dgbsv_work.c 
  lapacke_dgbsvx.c 
  lapacke_dgbsvx_work.c 
  lapacke_dgbtrf.c 
  lapacke_dgbtrf_work.c 
  lapacke_dgbtrs.c 
  lapacke_dgbtrs_work.c 
  lapacke_dgebak.c 
  lapacke_dgebak_work.c 
  lapacke_dgebal.c 
  lapacke_dgebal_work.c 
  lapacke_dgebrd.c 
  lapacke_dgebrd_work.c 
  lapacke_dgecon.c 
  lapacke_dgecon_work.c 
  lapacke_dgeequ.c 
  lapacke_dgeequ_work.c 
  lapacke_dgeequb.c 
  lapacke_dgeequb_work.c 
  lapacke_dgees.c 
  lapacke_dgees_work.c 
  lapacke_dgeesx.c 
  lapacke_dgeesx_work.c 
  lapacke_dgeev.c 
  lapacke_dgeev_work.c 
  lapacke_dgeevx.c 
  lapacke_dgeevx_work.c 
  lapacke_dgehrd.c 
  lapacke_dgehrd_work.c 
  lapacke_dgejsv.c 
  lapacke_dgejsv_work.c 
  lapacke_dgelq2.c 
  lapacke_dgelq2_work.c 
  lapacke_dgelqf.c 
  lapacke_dgelqf_work.c 
  lapacke_dgels.c 
  lapacke_dgels_work.c 
  lapacke_dgelsd.c 
  lapacke_dgelsd_work.c 
  lapacke_dgelss.c 
  lapacke_dgelss_work.c 
  lapacke_dgelsy.c 
  lapacke_dgelsy_work.c 
  lapacke_dgemqrt.c 
  lapacke_dgemqrt_work.c 
  lapacke_dgeqlf.c 
  lapacke_dgeqlf_work.c 
  lapacke_dgeqp3.c 
  lapacke_dgeqp3_work.c 
  lapacke_dgeqpf.c 
  lapacke_dgeqpf_work.c 
  lapacke_dgeqr2.c 
  lapacke_dgeqr2_work.c 
  lapacke_dgeqrf.c 
  lapacke_dgeqrf_work.c 
  lapacke_dgeqrfp.c 
  lapacke_dgeqrfp_work.c 
  lapacke_dgeqrt.c 
  lapacke_dgeqrt2.c 
  lapacke_dgeqrt2_work.c 
  lapacke_dgeqrt3.c 
  lapacke_dgeqrt3_work.c 
  lapacke_dgeqrt_work.c 
  lapacke_dgerfs.c 
  lapacke_dgerfs_work.c 
  lapacke_dgerqf.c 
  lapacke_dgerqf_work.c 
  lapacke_dgesdd.c 
  lapacke_dgesdd_work.c 
  lapacke_dgesv.c 
  lapacke_dgesv_work.c 
  lapacke_dgesvd.c 
  lapacke_dgesvd_work.c 
  lapacke_dgesvj.c 
  lapacke_dgesvj_work.c 
  lapacke_dgesvx.c 
  lapacke_dgesvx_work.c 
  lapacke_dgetf2.c 
  lapacke_dgetf2_work.c 
  lapacke_dgetrf.c 
  lapacke_dgetrf_work.c 
  lapacke_dgetri.c 
  lapacke_dgetri_work.c 
  lapacke_dgetrs.c 
  lapacke_dgetrs_work.c 
  lapacke_dggbak.c 
  lapacke_dggbak_work.c 
  lapacke_dggbal.c 
  lapacke_dggbal_work.c 
  lapacke_dgges.c 
  lapacke_dgges_work.c 
  lapacke_dggesx.c 
  lapacke_dggesx_work.c 
  lapacke_dggev.c 
  lapacke_dggev_work.c 
  lapacke_dggevx.c 
  lapacke_dggevx_work.c 
  lapacke_dggglm.c 
  lapacke_dggglm_work.c 
  lapacke_dgghrd.c 
  lapacke_dgghrd_work.c 
  lapacke_dgglse.c 
  lapacke_dgglse_work.c 
  lapacke_dggqrf.c 
  lapacke_dggqrf_work.c 
  lapacke_dggrqf.c 
  lapacke_dggrqf_work.c 
  lapacke_dggsvd.c 
  lapacke_dggsvd_work.c 
  lapacke_dggsvp.c 
  lapacke_dggsvp_work.c 
  lapacke_dgtcon.c 
  lapacke_dgtcon_work.c 
  lapacke_dgtrfs.c 
  lapacke_dgtrfs_work.c 
  lapacke_dgtsv.c 
  lapacke_dgtsv_work.c 
  lapacke_dgtsvx.c 
  lapacke_dgtsvx_work.c 
  lapacke_dgttrf.c 
  lapacke_dgttrf_work.c 
  lapacke_dgttrs.c 
  lapacke_dgttrs_work.c 
  lapacke_dhgeqz.c 
  lapacke_dhgeqz_work.c 
  lapacke_dhsein.c 
  lapacke_dhsein_work.c 
  lapacke_dhseqr.c 
  lapacke_dhseqr_work.c 
  lapacke_dlacn2.c 
  lapacke_dlacn2_work.c 
  lapacke_dlacpy.c 
  lapacke_dlacpy_work.c 
  lapacke_dlag2s.c 
  lapacke_dlag2s_work.c 
  lapacke_dlamch.c 
  lapacke_dlamch_work.c 
  lapacke_dlange.c 
  lapacke_dlange_work.c 
  lapacke_dlansy.c 
  lapacke_dlansy_work.c 
  lapacke_dlantr.c 
  lapacke_dlantr_work.c 
  lapacke_dlapmr.c 
  lapacke_dlapmr_work.c 
  lapacke_dlapy2.c 
  lapacke_dlapy2_work.c 
  lapacke_dlapy3.c 
  lapacke_dlapy3_work.c 
  lapacke_dlarfb.c 
  lapacke_dlarfb_work.c 
  lapacke_dlarfg.c 
  lapacke_dlarfg_work.c 
  lapacke_dlarft.c 
  lapacke_dlarft_work.c 
  lapacke_dlarfx.c 
  lapacke_dlarfx_work.c 
  lapacke_dlarnv.c 
  lapacke_dlarnv_work.c 
  lapacke_dlartgp.c 
  lapacke_dlartgp_work.c 
  lapacke_dlartgs.c 
  lapacke_dlartgs_work.c 
  lapacke_dlaset.c 
  lapacke_dlaset_work.c 
  lapacke_dlasrt.c 
  lapacke_dlasrt_work.c 
  lapacke_dlaswp.c 
  lapacke_dlaswp_work.c 
  lapacke_dlauum.c 
  lapacke_dlauum_work.c 
  lapacke_dopgtr.c 
  lapacke_dopgtr_work.c 
  lapacke_dopmtr.c 
  lapacke_dopmtr_work.c 
  lapacke_dorbdb.c 
  lapacke_dorbdb_work.c 
  lapacke_dorcsd.c 
  lapacke_dorcsd_work.c 
  lapacke_dorgbr.c 
  lapacke_dorgbr_work.c 
  lapacke_dorghr.c 
  lapacke_dorghr_work.c 
  lapacke_dorglq.c 
  lapacke_dorglq_work.c 
  lapacke_dorgql.c 
  lapacke_dorgql_work.c 
  lapacke_dorgqr.c 
  lapacke_dorgqr_work.c 
  lapacke_dorgrq.c 
  lapacke_dorgrq_work.c 
  lapacke_dorgtr.c 
  lapacke_dorgtr_work.c 
  lapacke_dormbr.c 
  lapacke_dormbr_work.c 
  lapacke_dormhr.c 
  lapacke_dormhr_work.c 
  lapacke_dormlq.c 
  lapacke_dormlq_work.c 
  lapacke_dormql.c 
  lapacke_dormql_work.c 
  lapacke_dormqr.c 
  lapacke_dormqr_work.c 
  lapacke_dormrq.c 
  lapacke_dormrq_work.c 
  lapacke_dormrz.c 
  lapacke_dormrz_work.c 
  lapacke_dormtr.c 
  lapacke_dormtr_work.c 
  lapacke_dpbcon.c 
  lapacke_dpbcon_work.c 
  lapacke_dpbequ.c 
  lapacke_dpbequ_work.c 
  lapacke_dpbrfs.c 
  lapacke_dpbrfs_work.c 
  lapacke_dpbstf.c 
  lapacke_dpbstf_work.c 
  lapacke_dpbsv.c 
  lapacke_dpbsv_work.c 
  lapacke_dpbsvx.c 
  lapacke_dpbsvx_work.c 
  lapacke_dpbtrf.c 
  lapacke_dpbtrf_work.c 
  lapacke_dpbtrs.c 
  lapacke_dpbtrs_work.c 
  lapacke_dpftrf.c 
  lapacke_dpftrf_work.c 
  lapacke_dpftri.c 
  lapacke_dpftri_work.c 
  lapacke_dpftrs.c 
  lapacke_dpftrs_work.c 
  lapacke_dpocon.c 
  lapacke_dpocon_work.c 
  lapacke_dpoequ.c 
  lapacke_dpoequ_work.c 
  lapacke_dpoequb.c 
  lapacke_dpoequb_work.c 
  lapacke_dporfs.c 
  lapacke_dporfs_work.c 
  lapacke_dposv.c 
  lapacke_dposv_work.c 
  lapacke_dposvx.c 
  lapacke_dposvx_work.c 
  lapacke_dpotrf.c 
  lapacke_dpotrf_work.c 
  lapacke_dpotri.c 
  lapacke_dpotri_work.c 
  lapacke_dpotrs.c 
  lapacke_dpotrs_work.c 
  lapacke_dppcon.c 
  lapacke_dppcon_work.c 
  lapacke_dppequ.c 
  lapacke_dppequ_work.c 
  lapacke_dpprfs.c 
  lapacke_dpprfs_work.c 
  lapacke_dppsv.c 
  lapacke_dppsv_work.c 
  lapacke_dppsvx.c 
  lapacke_dppsvx_work.c 
  lapacke_dpptrf.c 
  lapacke_dpptrf_work.c 
  lapacke_dpptri.c 
  lapacke_dpptri_work.c 
  lapacke_dpptrs.c 
  lapacke_dpptrs_work.c 
  lapacke_dpstrf.c 
  lapacke_dpstrf_work.c 
  lapacke_dptcon.c 
  lapacke_dptcon_work.c 
  lapacke_dpteqr.c 
  lapacke_dpteqr_work.c 
  lapacke_dptrfs.c 
  lapacke_dptrfs_work.c 
  lapacke_dptsv.c 
  lapacke_dptsv_work.c 
  lapacke_dptsvx.c 
  lapacke_dptsvx_work.c 
  lapacke_dpttrf.c 
  lapacke_dpttrf_work.c 
  lapacke_dpttrs.c 
  lapacke_dpttrs_work.c 
  lapacke_dsbev.c 
  lapacke_dsbev_work.c 
  lapacke_dsbevd.c 
  lapacke_dsbevd_work.c 
  lapacke_dsbevx.c 
  lapacke_dsbevx_work.c 
  lapacke_dsbgst.c 
  lapacke_dsbgst_work.c 
  lapacke_dsbgv.c 
  lapacke_dsbgv_work.c 
  lapacke_dsbgvd.c 
  lapacke_dsbgvd_work.c 
  lapacke_dsbgvx.c 
  lapacke_dsbgvx_work.c 
  lapacke_dsbtrd.c 
  lapacke_dsbtrd_work.c 
  lapacke_dsfrk.c 
  lapacke_dsfrk_work.c 
  lapacke_dsgesv.c 
  lapacke_dsgesv_work.c 
  lapacke_dspcon.c 
  lapacke_dspcon_work.c 
  lapacke_dspev.c 
  lapacke_dspev_work.c 
  lapacke_dspevd.c 
  lapacke_dspevd_work.c 
  lapacke_dspevx.c 
  lapacke_dspevx_work.c 
  lapacke_dspgst.c 
  lapacke_dspgst_work.c 
  lapacke_dspgv.c 
  lapacke_dspgv_work.c 
  lapacke_dspgvd.c 
  lapacke_dspgvd_work.c 
  lapacke_dspgvx.c 
  lapacke_dspgvx_work.c 
  lapacke_dsposv.c 
  lapacke_dsposv_work.c 
  lapacke_dsprfs.c 
  lapacke_dsprfs_work.c 
  lapacke_dspsv.c 
  lapacke_dspsv_work.c 
  lapacke_dspsvx.c 
  lapacke_dspsvx_work.c 
  lapacke_dsptrd.c 
  lapacke_dsptrd_work.c 
  lapacke_dsptrf.c 
  lapacke_dsptrf_work.c 
  lapacke_dsptri.c 
  lapacke_dsptri_work.c 
  lapacke_dsptrs.c 
  lapacke_dsptrs_work.c 
  lapacke_dstebz.c 
  lapacke_dstebz_work.c 
  lapacke_dstedc.c 
  lapacke_dstedc_work.c 
  lapacke_dstegr.c 
  lapacke_dstegr_work.c 
  lapacke_dstein.c 
  lapacke_dstein_work.c 
  lapacke_dstemr.c 
  lapacke_dstemr_work.c 
  lapacke_dsteqr.c 
  lapacke_dsteqr_work.c 
  lapacke_dsterf.c 
  lapacke_dsterf_work.c 
  lapacke_dstev.c 
  lapacke_dstev_work.c 
  lapacke_dstevd.c 
  lapacke_dstevd_work.c 
  lapacke_dstevr.c 
  lapacke_dstevr_work.c 
  lapacke_dstevx.c 
  lapacke_dstevx_work.c 
  lapacke_dsycon.c 
  lapacke_dsycon_work.c 
  lapacke_dsyconv.c 
  lapacke_dsyconv_work.c 
  lapacke_dsyequb.c 
  lapacke_dsyequb_work.c 
  lapacke_dsyev.c 
  lapacke_dsyev_work.c 
  lapacke_dsyevd.c 
  lapacke_dsyevd_work.c 
  lapacke_dsyevr.c 
  lapacke_dsyevr_work.c 
  lapacke_dsyevx.c 
  lapacke_dsyevx_work.c 
  lapacke_dsygst.c 
  lapacke_dsygst_work.c 
  lapacke_dsygv.c 
  lapacke_dsygv_work.c 
  lapacke_dsygvd.c 
  lapacke_dsygvd_work.c 
  lapacke_dsygvx.c 
  lapacke_dsygvx_work.c 
  lapacke_dsyrfs.c 
  lapacke_dsyrfs_work.c 
  lapacke_dsysv.c 
  lapacke_dsysv_rook.c 
  lapacke_dsysv_rook_work.c 
  lapacke_dsysv_work.c 
  lapacke_dsysvx.c 
  lapacke_dsysvx_work.c 
  lapacke_dsyswapr.c 
  lapacke_dsyswapr_work.c 
  lapacke_dsytrd.c 
  lapacke_dsytrd_work.c 
  lapacke_dsytrf.c 
  lapacke_dsytrf_work.c 
  lapacke_dsytri.c 
  lapacke_dsytri2.c 
  lapacke_dsytri2_work.c 
  lapacke_dsytri2x.c 
  lapacke_dsytri2x_work.c 
  lapacke_dsytri_work.c 
  lapacke_dsytrs.c 
  lapacke_dsytrs2.c 
  lapacke_dsytrs2_work.c 
  lapacke_dsytrs_work.c 
  lapacke_dtbcon.c 
  lapacke_dtbcon_work.c 
  lapacke_dtbrfs.c 
  lapacke_dtbrfs_work.c 
  lapacke_dtbtrs.c 
  lapacke_dtbtrs_work.c 
  lapacke_dtfsm.c 
  lapacke_dtfsm_work.c 
  lapacke_dtftri.c 
  lapacke_dtftri_work.c 
  lapacke_dtfttp.c 
  lapacke_dtfttp_work.c 
  lapacke_dtfttr.c 
  lapacke_dtfttr_work.c 
  lapacke_dtgevc.c 
  lapacke_dtgevc_work.c 
  lapacke_dtgexc.c 
  lapacke_dtgexc_work.c 
  lapacke_dtgsen.c 
  lapacke_dtgsen_work.c 
  lapacke_dtgsja.c 
  lapacke_dtgsja_work.c 
  lapacke_dtgsna.c 
  lapacke_dtgsna_work.c 
  lapacke_dtgsyl.c 
  lapacke_dtgsyl_work.c 
  lapacke_dtpcon.c 
  lapacke_dtpcon_work.c 
  lapacke_dtpmqrt.c 
  lapacke_dtpmqrt_work.c 
  lapacke_dtpqrt.c 
  lapacke_dtpqrt2.c 
  lapacke_dtpqrt2_work.c 
  lapacke_dtpqrt_work.c 
  lapacke_dtprfb.c 
  lapacke_dtprfb_work.c 
  lapacke_dtprfs.c 
  lapacke_dtprfs_work.c 
  lapacke_dtptri.c 
  lapacke_dtptri_work.c 
  lapacke_dtptrs.c 
  lapacke_dtptrs_work.c 
  lapacke_dtpttf.c 
  lapacke_dtpttf_work.c 
  lapacke_dtpttr.c 
  lapacke_dtpttr_work.c 
  lapacke_dtrcon.c 
  lapacke_dtrcon_work.c 
  lapacke_dtrevc.c 
  lapacke_dtrevc_work.c 
  lapacke_dtrexc.c 
  lapacke_dtrexc_work.c 
  lapacke_dtrrfs.c 
  lapacke_dtrrfs_work.c 
  lapacke_dtrsen.c 
  lapacke_dtrsen_work.c 
  lapacke_dtrsna.c 
  lapacke_dtrsna_work.c 
  lapacke_dtrsyl.c 
  lapacke_dtrsyl_work.c 
  lapacke_dtrtri.c 
  lapacke_dtrtri_work.c 
  lapacke_dtrtrs.c 
  lapacke_dtrtrs_work.c 
  lapacke_dtrttf.c 
  lapacke_dtrttf_work.c 
  lapacke_dtrttp.c 
  lapacke_dtrttp_work.c 
  lapacke_dtzrzf.c 
  lapacke_dtzrzf_work.c
)

set(SSRC
  lapacke_sbbcsd.c 
  lapacke_sbbcsd_work.c 
  lapacke_sbdsdc.c 
  lapacke_sbdsdc_work.c 
  lapacke_sbdsqr.c 
  lapacke_sbdsqr_work.c 
  lapacke_sdisna.c 
  lapacke_sdisna_work.c 
  lapacke_sgbbrd.c 
  lapacke_sgbbrd_work.c 
  lapacke_sgbcon.c 
  lapacke_sgbcon_work.c 
  lapacke_sgbequ.c 
  lapacke_sgbequ_work.c 
  lapacke_sgbequb.c 
  lapacke_sgbequb_work.c 
  lapacke_sgbrfs.c 
  lapacke_sgbrfs_work.c 
  lapacke_sgbsv.c 
  lapacke_sgbsv_work.c 
  lapacke_sgbsvx.c 
  lapacke_sgbsvx_work.c 
  lapacke_sgbtrf.c 
  lapacke_sgbtrf_work.c 
  lapacke_sgbtrs.c 
  lapacke_sgbtrs_work.c 
  lapacke_sgebak.c 
  lapacke_sgebak_work.c 
  lapacke_sgebal.c 
  lapacke_sgebal_work.c 
  lapacke_sgebrd.c 
  lapacke_sgebrd_work.c 
  lapacke_sgecon.c 
  lapacke_sgecon_work.c 
  lapacke_sgeequ.c 
  lapacke_sgeequ_work.c 
  lapacke_sgeequb.c 
  lapacke_sgeequb_work.c 
  lapacke_sgees.c 
  lapacke_sgees_work.c 
  lapacke_sgeesx.c 
  lapacke_sgeesx_work.c 
  lapacke_sgeev.c 
  lapacke_sgeev_work.c 
  lapacke_sgeevx.c 
  lapacke_sgeevx_work.c 
  lapacke_sgehrd.c 
  lapacke_sgehrd_work.c 
  lapacke_sgejsv.c 
  lapacke_sgejsv_work.c 
  lapacke_sgelq2.c 
  lapacke_sgelq2_work.c 
  lapacke_sgelqf.c 
  lapacke_sgelqf_work.c 
  lapacke_sgels.c 
  lapacke_sgels_work.c 
  lapacke_sgelsd.c 
  lapacke_sgelsd_work.c 
  lapacke_sgelss.c 
  lapacke_sgelss_work.c 
  lapacke_sgelsy.c 
  lapacke_sgelsy_work.c 
  lapacke_sgemqrt.c 
  lapacke_sgemqrt_work.c 
  lapacke_sgeqlf.c 
  lapacke_sgeqlf_work.c 
  lapacke_sgeqp3.c 
  lapacke_sgeqp3_work.c 
  lapacke_sgeqpf.c 
  lapacke_sgeqpf_work.c 
  lapacke_sgeqr2.c 
  lapacke_sgeqr2_work.c 
  lapacke_sgeqrf.c 
  lapacke_sgeqrf_work.c 
  lapacke_sgeqrfp.c 
  lapacke_sgeqrfp_work.c 
  lapacke_sgeqrt.c 
  lapacke_sgeqrt2.c 
  lapacke_sgeqrt2_work.c 
  lapacke_sgeqrt3.c 
  lapacke_sgeqrt3_work.c 
  lapacke_sgeqrt_work.c 
  lapacke_sgerfs.c 
  lapacke_sgerfs_work.c 
  lapacke_sgerqf.c 
  lapacke_sgerqf_work.c 
  lapacke_sgesdd.c 
  lapacke_sgesdd_work.c 
  lapacke_sgesv.c 
  lapacke_sgesv_work.c 
  lapacke_sgesvd.c 
  lapacke_sgesvd_work.c 
  lapacke_sgesvj.c 
  lapacke_sgesvj_work.c 
  lapacke_sgesvx.c 
  lapacke_sgesvx_work.c 
  lapacke_sgetf2.c 
  lapacke_sgetf2_work.c 
  lapacke_sgetrf.c 
  lapacke_sgetrf_work.c 
  lapacke_sgetri.c 
  lapacke_sgetri_work.c 
  lapacke_sgetrs.c 
  lapacke_sgetrs_work.c 
  lapacke_sggbak.c 
  lapacke_sggbak_work.c 
  lapacke_sggbal.c 
  lapacke_sggbal_work.c 
  lapacke_sgges.c 
  lapacke_sgges_work.c 
  lapacke_sggesx.c 
  lapacke_sggesx_work.c 
  lapacke_sggev.c 
  lapacke_sggev_work.c 
  lapacke_sggevx.c 
  lapacke_sggevx_work.c 
  lapacke_sggglm.c 
  lapacke_sggglm_work.c 
  lapacke_sgghrd.c 
  lapacke_sgghrd_work.c 
  lapacke_sgglse.c 
  lapacke_sgglse_work.c 
  lapacke_sggqrf.c 
  lapacke_sggqrf_work.c 
  lapacke_sggrqf.c 
  lapacke_sggrqf_work.c 
  lapacke_sggsvd.c 
  lapacke_sggsvd_work.c 
  lapacke_sggsvp.c 
  lapacke_sggsvp_work.c 
  lapacke_sgtcon.c 
  lapacke_sgtcon_work.c 
  lapacke_sgtrfs.c 
  lapacke_sgtrfs_work.c 
  lapacke_sgtsv.c 
  lapacke_sgtsv_work.c 
  lapacke_sgtsvx.c 
  lapacke_sgtsvx_work.c 
  lapacke_sgttrf.c 
  lapacke_sgttrf_work.c 
  lapacke_sgttrs.c 
  lapacke_sgttrs_work.c 
  lapacke_shgeqz.c 
  lapacke_shgeqz_work.c 
  lapacke_shsein.c 
  lapacke_shsein_work.c 
  lapacke_shseqr.c 
  lapacke_shseqr_work.c 
  lapacke_slacn2.c 
  lapacke_slacn2_work.c 
  lapacke_slacpy.c 
  lapacke_slacpy_work.c 
  lapacke_slag2d.c 
  lapacke_slag2d_work.c 
  lapacke_slamch.c 
  lapacke_slamch_work.c 
  lapacke_slange.c 
  lapacke_slange_work.c 
  lapacke_slansy.c 
  lapacke_slansy_work.c 
  lapacke_slantr.c 
  lapacke_slantr_work.c 
  lapacke_slapmr.c 
  lapacke_slapmr_work.c 
  lapacke_slapy2.c 
  lapacke_slapy2_work.c 
  lapacke_slapy3.c 
  lapacke_slapy3_work.c 
  lapacke_slarfb.c 
  lapacke_slarfb_work.c 
  lapacke_slarfg.c 
  lapacke_slarfg_work.c 
  lapacke_slarft.c 
  lapacke_slarft_work.c 
  lapacke_slarfx.c 
  lapacke_slarfx_work.c 
  lapacke_slarnv.c 
  lapacke_slarnv_work.c 
  lapacke_slartgp.c 
  lapacke_slartgp_work.c 
  lapacke_slartgs.c 
  lapacke_slartgs_work.c 
  lapacke_slaset.c 
  lapacke_slaset_work.c 
  lapacke_slasrt.c 
  lapacke_slasrt_work.c 
  lapacke_slaswp.c 
  lapacke_slaswp_work.c 
  lapacke_slauum.c 
  lapacke_slauum_work.c 
  lapacke_sopgtr.c 
  lapacke_sopgtr_work.c 
  lapacke_sopmtr.c 
  lapacke_sopmtr_work.c 
  lapacke_sorbdb.c 
  lapacke_sorbdb_work.c 
  lapacke_sorcsd.c 
  lapacke_sorcsd_work.c 
  lapacke_sorgbr.c 
  lapacke_sorgbr_work.c 
  lapacke_sorghr.c 
  lapacke_sorghr_work.c 
  lapacke_sorglq.c 
  lapacke_sorglq_work.c 
  lapacke_sorgql.c 
  lapacke_sorgql_work.c 
  lapacke_sorgqr.c 
  lapacke_sorgqr_work.c 
  lapacke_sorgrq.c 
  lapacke_sorgrq_work.c 
  lapacke_sorgtr.c 
  lapacke_sorgtr_work.c 
  lapacke_sormbr.c 
  lapacke_sormbr_work.c 
  lapacke_sormhr.c 
  lapacke_sormhr_work.c 
  lapacke_sormlq.c 
  lapacke_sormlq_work.c 
  lapacke_sormql.c 
  lapacke_sormql_work.c 
  lapacke_sormqr.c 
  lapacke_sormqr_work.c 
  lapacke_sormrq.c 
  lapacke_sormrq_work.c 
  lapacke_sormrz.c 
  lapacke_sormrz_work.c 
  lapacke_sormtr.c 
  lapacke_sormtr_work.c 
  lapacke_spbcon.c 
  lapacke_spbcon_work.c 
  lapacke_spbequ.c 
  lapacke_spbequ_work.c 
  lapacke_spbrfs.c 
  lapacke_spbrfs_work.c 
  lapacke_spbstf.c 
  lapacke_spbstf_work.c 
  lapacke_spbsv.c 
  lapacke_spbsv_work.c 
  lapacke_spbsvx.c 
  lapacke_spbsvx_work.c 
  lapacke_spbtrf.c 
  lapacke_spbtrf_work.c 
  lapacke_spbtrs.c 
  lapacke_spbtrs_work.c 
  lapacke_spftrf.c 
  lapacke_spftrf_work.c 
  lapacke_spftri.c 
  lapacke_spftri_work.c 
  lapacke_spftrs.c 
  lapacke_spftrs_work.c 
  lapacke_spocon.c 
  lapacke_spocon_work.c 
  lapacke_spoequ.c 
  lapacke_spoequ_work.c 
  lapacke_spoequb.c 
  lapacke_spoequb_work.c 
  lapacke_sporfs.c 
  lapacke_sporfs_work.c 
  lapacke_sposv.c 
  lapacke_sposv_work.c 
  lapacke_sposvx.c 
  lapacke_sposvx_work.c 
  lapacke_spotrf.c 
  lapacke_spotrf_work.c 
  lapacke_spotri.c 
  lapacke_spotri_work.c 
  lapacke_spotrs.c 
  lapacke_spotrs_work.c 
  lapacke_sppcon.c 
  lapacke_sppcon_work.c 
  lapacke_sppequ.c 
  lapacke_sppequ_work.c 
  lapacke_spprfs.c 
  lapacke_spprfs_work.c 
  lapacke_sppsv.c 
  lapacke_sppsv_work.c 
  lapacke_sppsvx.c 
  lapacke_sppsvx_work.c 
  lapacke_spptrf.c 
  lapacke_spptrf_work.c 
  lapacke_spptri.c 
  lapacke_spptri_work.c 
  lapacke_spptrs.c 
  lapacke_spptrs_work.c 
  lapacke_spstrf.c 
  lapacke_spstrf_work.c 
  lapacke_sptcon.c 
  lapacke_sptcon_work.c 
  lapacke_spteqr.c 
  lapacke_spteqr_work.c 
  lapacke_sptrfs.c 
  lapacke_sptrfs_work.c 
  lapacke_sptsv.c 
  lapacke_sptsv_work.c 
  lapacke_sptsvx.c 
  lapacke_sptsvx_work.c 
  lapacke_spttrf.c 
  lapacke_spttrf_work.c 
  lapacke_spttrs.c 
  lapacke_spttrs_work.c 
  lapacke_ssbev.c 
  lapacke_ssbev_work.c 
  lapacke_ssbevd.c 
  lapacke_ssbevd_work.c 
  lapacke_ssbevx.c 
  lapacke_ssbevx_work.c 
  lapacke_ssbgst.c 
  lapacke_ssbgst_work.c 
  lapacke_ssbgv.c 
  lapacke_ssbgv_work.c 
  lapacke_ssbgvd.c 
  lapacke_ssbgvd_work.c 
  lapacke_ssbgvx.c 
  lapacke_ssbgvx_work.c 
  lapacke_ssbtrd.c 
  lapacke_ssbtrd_work.c 
  lapacke_ssfrk.c 
  lapacke_ssfrk_work.c 
  lapacke_sspcon.c 
  lapacke_sspcon_work.c 
  lapacke_sspev.c 
  lapacke_sspev_work.c 
  lapacke_sspevd.c 
  lapacke_sspevd_work.c 
  lapacke_sspevx.c 
  lapacke_sspevx_work.c 
  lapacke_sspgst.c 
  lapacke_sspgst_work.c 
  lapacke_sspgv.c 
  lapacke_sspgv_work.c 
  lapacke_sspgvd.c 
  lapacke_sspgvd_work.c 
  lapacke_sspgvx.c 
  lapacke_sspgvx_work.c 
  lapacke_ssprfs.c 
  lapacke_ssprfs_work.c 
  lapacke_sspsv.c 
  lapacke_sspsv_work.c 
  lapacke_sspsvx.c 
  lapacke_sspsvx_work.c 
  lapacke_ssptrd.c 
  lapacke_ssptrd_work.c 
  lapacke_ssptrf.c 
  lapacke_ssptrf_work.c 
  lapacke_ssptri.c 
  lapacke_ssptri_work.c 
  lapacke_ssptrs.c 
  lapacke_ssptrs_work.c 
  lapacke_sstebz.c 
  lapacke_sstebz_work.c 
  lapacke_sstedc.c 
  lapacke_sstedc_work.c 
  lapacke_sstegr.c 
  lapacke_sstegr_work.c 
  lapacke_sstein.c 
  lapacke_sstein_work.c 
  lapacke_sstemr.c 
  lapacke_sstemr_work.c 
  lapacke_ssteqr.c 
  lapacke_ssteqr_work.c 
  lapacke_ssterf.c 
  lapacke_ssterf_work.c 
  lapacke_sstev.c 
  lapacke_sstev_work.c 
  lapacke_sstevd.c 
  lapacke_sstevd_work.c 
  lapacke_sstevr.c 
  lapacke_sstevr_work.c 
  lapacke_sstevx.c 
  lapacke_sstevx_work.c 
  lapacke_ssycon.c 
  lapacke_ssycon_work.c 
  lapacke_ssyconv.c 
  lapacke_ssyconv_work.c 
  lapacke_ssyequb.c 
  lapacke_ssyequb_work.c 
  lapacke_ssyev.c 
  lapacke_ssyev_work.c 
  lapacke_ssyevd.c 
  lapacke_ssyevd_work.c 
  lapacke_ssyevr.c 
  lapacke_ssyevr_work.c 
  lapacke_ssyevx.c 
  lapacke_ssyevx_work.c 
  lapacke_ssygst.c 
  lapacke_ssygst_work.c 
  lapacke_ssygv.c 
  lapacke_ssygv_work.c 
  lapacke_ssygvd.c 
  lapacke_ssygvd_work.c 
  lapacke_ssygvx.c 
  lapacke_ssygvx_work.c 
  lapacke_ssyrfs.c 
  lapacke_ssyrfs_work.c 
  lapacke_ssysv.c 
  lapacke_ssysv_rook.c 
  lapacke_ssysv_rook_work.c 
  lapacke_ssysv_work.c 
  lapacke_ssysvx.c 
  lapacke_ssysvx_work.c 
  lapacke_ssyswapr.c 
  lapacke_ssyswapr_work.c 
  lapacke_ssytrd.c 
  lapacke_ssytrd_work.c 
  lapacke_ssytrf.c 
  lapacke_ssytrf_work.c 
  lapacke_ssytri.c 
  lapacke_ssytri2.c 
  lapacke_ssytri2_work.c 
  lapacke_ssytri2x.c 
  lapacke_ssytri2x_work.c 
  lapacke_ssytri_work.c 
  lapacke_ssytrs.c 
  lapacke_ssytrs2.c 
  lapacke_ssytrs2_work.c 
  lapacke_ssytrs_work.c 
  lapacke_stbcon.c 
  lapacke_stbcon_work.c 
  lapacke_stbrfs.c 
  lapacke_stbrfs_work.c 
  lapacke_stbtrs.c 
  lapacke_stbtrs_work.c 
  lapacke_stfsm.c 
  lapacke_stfsm_work.c 
  lapacke_stftri.c 
  lapacke_stftri_work.c 
  lapacke_stfttp.c 
  lapacke_stfttp_work.c 
  lapacke_stfttr.c 
  lapacke_stfttr_work.c 
  lapacke_stgevc.c 
  lapacke_stgevc_work.c 
  lapacke_stgexc.c 
  lapacke_stgexc_work.c 
  lapacke_stgsen.c 
  lapacke_stgsen_work.c 
  lapacke_stgsja.c 
  lapacke_stgsja_work.c 
  lapacke_stgsna.c 
  lapacke_stgsna_work.c 
  lapacke_stgsyl.c 
  lapacke_stgsyl_work.c 
  lapacke_stpcon.c 
  lapacke_stpcon_work.c 
  lapacke_stpmqrt.c 
  lapacke_stpmqrt_work.c 
  lapacke_stpqrt2.c 
  lapacke_stpqrt2_work.c 
  lapacke_stprfb.c 
  lapacke_stprfb_work.c 
  lapacke_stprfs.c 
  lapacke_stprfs_work.c 
  lapacke_stptri.c 
  lapacke_stptri_work.c 
  lapacke_stptrs.c 
  lapacke_stptrs_work.c 
  lapacke_stpttf.c 
  lapacke_stpttf_work.c 
  lapacke_stpttr.c 
  lapacke_stpttr_work.c 
  lapacke_strcon.c 
  lapacke_strcon_work.c 
  lapacke_strevc.c 
  lapacke_strevc_work.c 
  lapacke_strexc.c 
  lapacke_strexc_work.c 
  lapacke_strrfs.c 
  lapacke_strrfs_work.c 
  lapacke_strsen.c 
  lapacke_strsen_work.c 
  lapacke_strsna.c 
  lapacke_strsna_work.c 
  lapacke_strsyl.c 
  lapacke_strsyl_work.c 
  lapacke_strtri.c 
  lapacke_strtri_work.c 
  lapacke_strtrs.c 
  lapacke_strtrs_work.c 
  lapacke_strttf.c 
  lapacke_strttf_work.c 
  lapacke_strttp.c 
  lapacke_strttp_work.c 
  lapacke_stzrzf.c 
  lapacke_stzrzf_work.c
)

set(ZSRC
  lapacke_zbbcsd.c 
  lapacke_zbbcsd_work.c 
  lapacke_zbdsqr.c 
  lapacke_zbdsqr_work.c 
  lapacke_zcgesv.c 
  lapacke_zcgesv_work.c 
  lapacke_zcposv.c 
  lapacke_zcposv_work.c 
  lapacke_zgbbrd.c 
  lapacke_zgbbrd_work.c 
  lapacke_zgbcon.c 
  lapacke_zgbcon_work.c 
  lapacke_zgbequ.c 
  lapacke_zgbequ_work.c 
  lapacke_zgbequb.c 
  lapacke_zgbequb_work.c 
  lapacke_zgbrfs.c 
  lapacke_zgbrfs_work.c 
  lapacke_zgbsv.c 
  lapacke_zgbsv_work.c 
  lapacke_zgbsvx.c 
  lapacke_zgbsvx_work.c 
  lapacke_zgbtrf.c 
  lapacke_zgbtrf_work.c 
  lapacke_zgbtrs.c 
  lapacke_zgbtrs_work.c 
  lapacke_zgebak.c 
  lapacke_zgebak_work.c 
  lapacke_zgebal.c 
  lapacke_zgebal_work.c 
  lapacke_zgebrd.c 
  lapacke_zgebrd_work.c 
  lapacke_zgecon.c 
  lapacke_zgecon_work.c 
  lapacke_zgeequ.c 
  lapacke_zgeequ_work.c 
  lapacke_zgeequb.c 
  lapacke_zgeequb_work.c 
  lapacke_zgees.c 
  lapacke_zgees_work.c 
  lapacke_zgeesx.c 
  lapacke_zgeesx_work.c 
  lapacke_zgeev.c 
  lapacke_zgeev_work.c 
  lapacke_zgeevx.c 
  lapacke_zgeevx_work.c 
  lapacke_zgehrd.c 
  lapacke_zgehrd_work.c 
  lapacke_zgelq2.c 
  lapacke_zgelq2_work.c 
  lapacke_zgelqf.c 
  lapacke_zgelqf_work.c 
  lapacke_zgels.c 
  lapacke_zgels_work.c 
  lapacke_zgelsd.c 
  lapacke_zgelsd_work.c 
  lapacke_zgelss.c 
  lapacke_zgelss_work.c 
  lapacke_zgelsy.c 
  lapacke_zgelsy_work.c 
  lapacke_zgemqrt.c 
  lapacke_zgemqrt_work.c 
  lapacke_zgeqlf.c 
  lapacke_zgeqlf_work.c 
  lapacke_zgeqp3.c 
  lapacke_zgeqp3_work.c 
  lapacke_zgeqpf.c 
  lapacke_zgeqpf_work.c 
  lapacke_zgeqr2.c 
  lapacke_zgeqr2_work.c 
  lapacke_zgeqrf.c 
  lapacke_zgeqrf_work.c 
  lapacke_zgeqrfp.c 
  lapacke_zgeqrfp_work.c 
  lapacke_zgeqrt.c 
  lapacke_zgeqrt2.c 
  lapacke_zgeqrt2_work.c 
  lapacke_zgeqrt3.c 
  lapacke_zgeqrt3_work.c 
  lapacke_zgeqrt_work.c 
  lapacke_zgerfs.c 
  lapacke_zgerfs_work.c 
  lapacke_zgerqf.c 
  lapacke_zgerqf_work.c 
  lapacke_zgesdd.c 
  lapacke_zgesdd_work.c 
  lapacke_zgesv.c 
  lapacke_zgesv_work.c 
  lapacke_zgesvd.c 
  lapacke_zgesvd_work.c 
  lapacke_zgesvx.c 
  lapacke_zgesvx_work.c 
  lapacke_zgetf2.c 
  lapacke_zgetf2_work.c 
  lapacke_zgetrf.c 
  lapacke_zgetrf_work.c 
  lapacke_zgetri.c 
  lapacke_zgetri_work.c 
  lapacke_zgetrs.c 
  lapacke_zgetrs_work.c 
  lapacke_zggbak.c 
  lapacke_zggbak_work.c 
  lapacke_zggbal.c 
  lapacke_zggbal_work.c 
  lapacke_zgges.c 
  lapacke_zgges_work.c 
  lapacke_zggesx.c 
  lapacke_zggesx_work.c 
  lapacke_zggev.c 
  lapacke_zggev_work.c 
  lapacke_zggevx.c 
  lapacke_zggevx_work.c 
  lapacke_zggglm.c 
  lapacke_zggglm_work.c 
  lapacke_zgghrd.c 
  lapacke_zgghrd_work.c 
  lapacke_zgglse.c 
  lapacke_zgglse_work.c 
  lapacke_zggqrf.c 
  lapacke_zggqrf_work.c 
  lapacke_zggrqf.c 
  lapacke_zggrqf_work.c 
  lapacke_zggsvd.c 
  lapacke_zggsvd_work.c 
  lapacke_zggsvp.c 
  lapacke_zggsvp_work.c 
  lapacke_zgtcon.c 
  lapacke_zgtcon_work.c 
  lapacke_zgtrfs.c 
  lapacke_zgtrfs_work.c 
  lapacke_zgtsv.c 
  lapacke_zgtsv_work.c 
  lapacke_zgtsvx.c 
  lapacke_zgtsvx_work.c 
  lapacke_zgttrf.c 
  lapacke_zgttrf_work.c 
  lapacke_zgttrs.c 
  lapacke_zgttrs_work.c 
  lapacke_zhbev.c 
  lapacke_zhbev_work.c 
  lapacke_zhbevd.c 
  lapacke_zhbevd_work.c 
  lapacke_zhbevx.c 
  lapacke_zhbevx_work.c 
  lapacke_zhbgst.c 
  lapacke_zhbgst_work.c 
  lapacke_zhbgv.c 
  lapacke_zhbgv_work.c 
  lapacke_zhbgvd.c 
  lapacke_zhbgvd_work.c 
  lapacke_zhbgvx.c 
  lapacke_zhbgvx_work.c 
  lapacke_zhbtrd.c 
  lapacke_zhbtrd_work.c 
  lapacke_zhecon.c 
  lapacke_zhecon_work.c 
  lapacke_zheequb.c 
  lapacke_zheequb_work.c 
  lapacke_zheev.c 
  lapacke_zheev_work.c 
  lapacke_zheevd.c 
  lapacke_zheevd_work.c 
  lapacke_zheevr.c 
  lapacke_zheevr_work.c 
  lapacke_zheevx.c 
  lapacke_zheevx_work.c 
  lapacke_zhegst.c 
  lapacke_zhegst_work.c 
  lapacke_zhegv.c 
  lapacke_zhegv_work.c 
  lapacke_zhegvd.c 
  lapacke_zhegvd_work.c 
  lapacke_zhegvx.c 
  lapacke_zhegvx_work.c 
  lapacke_zherfs.c 
  lapacke_zherfs_work.c 
  lapacke_zhesv.c 
  lapacke_zhesv_work.c 
  lapacke_zhesvx.c 
  lapacke_zhesvx_work.c 
  lapacke_zheswapr.c 
  lapacke_zheswapr_work.c 
  lapacke_zhetrd.c 
  lapacke_zhetrd_work.c 
  lapacke_zhetrf.c 
  lapacke_zhetrf_work.c 
  lapacke_zhetri.c 
  lapacke_zhetri2.c 
  lapacke_zhetri2_work.c 
  lapacke_zhetri2x.c 
  lapacke_zhetri2x_work.c 
  lapacke_zhetri_work.c 
  lapacke_zhetrs.c 
  lapacke_zhetrs2.c 
  lapacke_zhetrs2_work.c 
  lapacke_zhetrs_work.c 
  lapacke_zhfrk.c 
  lapacke_zhfrk_work.c 
  lapacke_zhgeqz.c 
  lapacke_zhgeqz_work.c 
  lapacke_zhpcon.c 
  lapacke_zhpcon_work.c 
  lapacke_zhpev.c 
  lapacke_zhpev_work.c 
  lapacke_zhpevd.c 
  lapacke_zhpevd_work.c 
  lapacke_zhpevx.c 
  lapacke_zhpevx_work.c 
  lapacke_zhpgst.c 
  lapacke_zhpgst_work.c 
  lapacke_zhpgv.c 
  lapacke_zhpgv_work.c 
  lapacke_zhpgvd.c 
  lapacke_zhpgvd_work.c 
  lapacke_zhpgvx.c 
  lapacke_zhpgvx_work.c 
  lapacke_zhprfs.c 
  lapacke_zhprfs_work.c 
  lapacke_zhpsv.c 
  lapacke_zhpsv_work.c 
  lapacke_zhpsvx.c 
  lapacke_zhpsvx_work.c 
  lapacke_zhptrd.c 
  lapacke_zhptrd_work.c 
  lapacke_zhptrf.c 
  lapacke_zhptrf_work.c 
  lapacke_zhptri.c 
  lapacke_zhptri_work.c 
  lapacke_zhptrs.c 
  lapacke_zhptrs_work.c 
  lapacke_zhsein.c 
  lapacke_zhsein_work.c 
  lapacke_zhseqr.c 
  lapacke_zhseqr_work.c 
  lapacke_zlacgv.c 
  lapacke_zlacgv_work.c 
  lapacke_zlacn2.c 
  lapacke_zlacn2_work.c 
  lapacke_zlacp2.c 
  lapacke_zlacp2_work.c 
  lapacke_zlacpy.c 
  lapacke_zlacpy_work.c 
  lapacke_zlag2c.c 
  lapacke_zlag2c_work.c 
  lapacke_zlange.c 
  lapacke_zlange_work.c 
  lapacke_zlanhe.c 
  lapacke_zlanhe_work.c 
  lapacke_zlansy.c 
  lapacke_zlansy_work.c 
  lapacke_zlantr.c 
  lapacke_zlantr_work.c 
  lapacke_zlapmr.c 
  lapacke_zlapmr_work.c 
  lapacke_zlarfb.c 
  lapacke_zlarfb_work.c 
  lapacke_zlarfg.c 
  lapacke_zlarfg_work.c 
  lapacke_zlarft.c 
  lapacke_zlarft_work.c 
  lapacke_zlarfx.c 
  lapacke_zlarfx_work.c 
  lapacke_zlarnv.c 
  lapacke_zlarnv_work.c 
  lapacke_zlaset.c 
  lapacke_zlaset_work.c 
  lapacke_zlaswp.c 
  lapacke_zlaswp_work.c 
  lapacke_zlauum.c 
  lapacke_zlauum_work.c 
  lapacke_zpbcon.c 
  lapacke_zpbcon_work.c 
  lapacke_zpbequ.c 
  lapacke_zpbequ_work.c 
  lapacke_zpbrfs.c 
  lapacke_zpbrfs_work.c 
  lapacke_zpbstf.c 
  lapacke_zpbstf_work.c 
  lapacke_zpbsv.c 
  lapacke_zpbsv_work.c 
  lapacke_zpbsvx.c 
  lapacke_zpbsvx_work.c 
  lapacke_zpbtrf.c 
  lapacke_zpbtrf_work.c 
  lapacke_zpbtrs.c 
  lapacke_zpbtrs_work.c 
  lapacke_zpftrf.c 
  lapacke_zpftrf_work.c 
  lapacke_zpftri.c 
  lapacke_zpftri_work.c 
  lapacke_zpftrs.c 
  lapacke_zpftrs_work.c 
  lapacke_zpocon.c 
  lapacke_zpocon_work.c 
  lapacke_zpoequ.c 
  lapacke_zpoequ_work.c 
  lapacke_zpoequb.c 
  lapacke_zpoequb_work.c 
  lapacke_zporfs.c 
  lapacke_zporfs_work.c 
  lapacke_zposv.c 
  lapacke_zposv_work.c 
  lapacke_zposvx.c 
  lapacke_zposvx_work.c 
  lapacke_zpotrf.c 
  lapacke_zpotrf_work.c 
  lapacke_zpotri.c 
  lapacke_zpotri_work.c 
  lapacke_zpotrs.c 
  lapacke_zpotrs_work.c 
  lapacke_zppcon.c 
  lapacke_zppcon_work.c 
  lapacke_zppequ.c 
  lapacke_zppequ_work.c 
  lapacke_zpprfs.c 
  lapacke_zpprfs_work.c 
  lapacke_zppsv.c 
  lapacke_zppsv_work.c 
  lapacke_zppsvx.c 
  lapacke_zppsvx_work.c 
  lapacke_zpptrf.c 
  lapacke_zpptrf_work.c 
  lapacke_zpptri.c 
  lapacke_zpptri_work.c 
  lapacke_zpptrs.c 
  lapacke_zpptrs_work.c 
  lapacke_zpstrf.c 
  lapacke_zpstrf_work.c 
  lapacke_zptcon.c 
  lapacke_zptcon_work.c 
  lapacke_zpteqr.c 
  lapacke_zpteqr_work.c 
  lapacke_zptrfs.c 
  lapacke_zptrfs_work.c 
  lapacke_zptsv.c 
  lapacke_zptsv_work.c 
  lapacke_zptsvx.c 
  lapacke_zptsvx_work.c 
  lapacke_zpttrf.c 
  lapacke_zpttrf_work.c 
  lapacke_zpttrs.c 
  lapacke_zpttrs_work.c 
  lapacke_zspcon.c 
  lapacke_zspcon_work.c 
  lapacke_zsprfs.c 
  lapacke_zsprfs_work.c 
  lapacke_zspsv.c 
  lapacke_zspsv_work.c 
  lapacke_zspsvx.c 
  lapacke_zspsvx_work.c 
  lapacke_zsptrf.c 
  lapacke_zsptrf_work.c 
  lapacke_zsptri.c 
  lapacke_zsptri_work.c 
  lapacke_zsptrs.c 
  lapacke_zsptrs_work.c 
  lapacke_zstedc.c 
  lapacke_zstedc_work.c 
  lapacke_zstegr.c 
  lapacke_zstegr_work.c 
  lapacke_zstein.c 
  lapacke_zstein_work.c 
  lapacke_zstemr.c 
  lapacke_zstemr_work.c 
  lapacke_zsteqr.c 
  lapacke_zsteqr_work.c 
  lapacke_zsycon.c 
  lapacke_zsycon_work.c 
  lapacke_zsyconv.c 
  lapacke_zsyconv_work.c 
  lapacke_zsyequb.c 
  lapacke_zsyequb_work.c 
  lapacke_zsyrfs.c 
  lapacke_zsyrfs_work.c 
  lapacke_zsysv.c 
  lapacke_zsysv_rook.c 
  lapacke_zsysv_rook_work.c 
  lapacke_zsysv_work.c 
  lapacke_zsysvx.c 
  lapacke_zsysvx_work.c 
  lapacke_zsyswapr.c 
  lapacke_zsyswapr_work.c 
  lapacke_zsytrf.c 
  lapacke_zsytrf_work.c 
  lapacke_zsytri.c 
  lapacke_zsytri2.c 
  lapacke_zsytri2_work.c 
  lapacke_zsytri2x.c 
  lapacke_zsytri2x_work.c 
  lapacke_zsytri_work.c 
  lapacke_zsytrs.c 
  lapacke_zsytrs2.c 
  lapacke_zsytrs2_work.c 
  lapacke_zsytrs_work.c 
  lapacke_ztbcon.c 
  lapacke_ztbcon_work.c 
  lapacke_ztbrfs.c 
  lapacke_ztbrfs_work.c 
  lapacke_ztbtrs.c 
  lapacke_ztbtrs_work.c 
  lapacke_ztfsm.c 
  lapacke_ztfsm_work.c 
  lapacke_ztftri.c 
  lapacke_ztftri_work.c 
  lapacke_ztfttp.c 
  lapacke_ztfttp_work.c 
  lapacke_ztfttr.c 
  lapacke_ztfttr_work.c 
  lapacke_ztgevc.c 
  lapacke_ztgevc_work.c 
  lapacke_ztgexc.c 
  lapacke_ztgexc_work.c 
  lapacke_ztgsen.c 
  lapacke_ztgsen_work.c 
  lapacke_ztgsja.c 
  lapacke_ztgsja_work.c 
  lapacke_ztgsna.c 
  lapacke_ztgsna_work.c 
  lapacke_ztgsyl.c 
  lapacke_ztgsyl_work.c 
  lapacke_ztpcon.c 
  lapacke_ztpcon_work.c 
  lapacke_ztpmqrt.c 
  lapacke_ztpmqrt_work.c 
  lapacke_ztpqrt.c 
  lapacke_ztpqrt2.c 
  lapacke_ztpqrt2_work.c 
  lapacke_ztpqrt_work.c 
  lapacke_ztprfb.c 
  lapacke_ztprfb_work.c 
  lapacke_ztprfs.c 
  lapacke_ztprfs_work.c 
  lapacke_ztptri.c 
  lapacke_ztptri_work.c 
  lapacke_ztptrs.c 
  lapacke_ztptrs_work.c 
  lapacke_ztpttf.c 
  lapacke_ztpttf_work.c 
  lapacke_ztpttr.c 
  lapacke_ztpttr_work.c 
  lapacke_ztrcon.c 
  lapacke_ztrcon_work.c 
  lapacke_ztrevc.c 
  lapacke_ztrevc_work.c 
  lapacke_ztrexc.c 
  lapacke_ztrexc_work.c 
  lapacke_ztrrfs.c 
  lapacke_ztrrfs_work.c 
  lapacke_ztrsen.c 
  lapacke_ztrsen_work.c 
  lapacke_ztrsna.c 
  lapacke_ztrsna_work.c 
  lapacke_ztrsyl.c 
  lapacke_ztrsyl_work.c 
  lapacke_ztrtri.c 
  lapacke_ztrtri_work.c 
  lapacke_ztrtrs.c 
  lapacke_ztrtrs_work.c 
  lapacke_ztrttf.c 
  lapacke_ztrttf_work.c 
  lapacke_ztrttp.c 
  lapacke_ztrttp_work.c 
  lapacke_ztzrzf.c 
  lapacke_ztzrzf_work.c 
  lapacke_zunbdb.c 
  lapacke_zunbdb_work.c 
  lapacke_zuncsd.c 
  lapacke_zuncsd_work.c 
  lapacke_zungbr.c 
  lapacke_zungbr_work.c 
  lapacke_zunghr.c 
  lapacke_zunghr_work.c 
  lapacke_zunglq.c 
  lapacke_zunglq_work.c 
  lapacke_zungql.c 
  lapacke_zungql_work.c 
  lapacke_zungqr.c 
  lapacke_zungqr_work.c 
  lapacke_zungrq.c 
  lapacke_zungrq_work.c 
  lapacke_zungtr.c 
  lapacke_zungtr_work.c 
  lapacke_zunmbr.c 
  lapacke_zunmbr_work.c 
  lapacke_zunmhr.c 
  lapacke_zunmhr_work.c 
  lapacke_zunmlq.c 
  lapacke_zunmlq_work.c 
  lapacke_zunmql.c 
  lapacke_zunmql_work.c 
  lapacke_zunmqr.c 
  lapacke_zunmqr_work.c 
  lapacke_zunmrq.c 
  lapacke_zunmrq_work.c 
  lapacke_zunmrz.c 
  lapacke_zunmrz_work.c 
  lapacke_zunmtr.c 
  lapacke_zunmtr_work.c 
  lapacke_zupgtr.c 
  lapacke_zupgtr_work.c 
  lapacke_zupmtr.c 
  lapacke_zupmtr_work.c 
  lapacke_zsyr.c 
  lapacke_csyr.c 
  lapacke_zsyr_work.c 
  lapacke_csyr_work.c 
  lapacke_ilaver.c
)

set(SRCX
  lapacke_cgbrfsx.c       lapacke_cporfsx.c       lapacke_dgerfsx.c       lapacke_sgbrfsx.c       lapacke_ssyrfsx.c       lapacke_zherfsx.c 
  lapacke_cgbrfsx_work.c  lapacke_cporfsx_work.c  lapacke_dgerfsx_work.c  lapacke_sgbrfsx_work.c  lapacke_ssyrfsx_work.c  lapacke_zherfsx_work.c 
  lapacke_cgerfsx.c       lapacke_csyrfsx.c       lapacke_dporfsx.c       lapacke_sgerfsx.c       lapacke_zgbrfsx.c       lapacke_zporfsx.c 
  lapacke_cgerfsx_work.c  lapacke_csyrfsx_work.c  lapacke_dporfsx_work.c  lapacke_sgerfsx_work.c  lapacke_zgbrfsx_work.c  lapacke_zporfsx_work.c 
  lapacke_cherfsx.c       lapacke_dgbrfsx.c       lapacke_dsyrfsx.c       lapacke_sporfsx.c       lapacke_zgerfsx.c       lapacke_zsyrfsx.c 
  lapacke_cherfsx_work.c  lapacke_dgbrfsx_work.c  lapacke_dsyrfsx_work.c  lapacke_sporfsx_work.c  lapacke_zgerfsx_work.c  lapacke_zsyrfsx_work.c 
  lapacke_cgbsvxx.c       lapacke_cposvxx.c       lapacke_dgesvxx.c       lapacke_sgbsvxx.c       lapacke_ssysvxx.c       lapacke_zhesvxx.c 
  lapacke_cgbsvxx_work.c  lapacke_cposvxx_work.c  lapacke_dgesvxx_work.c  lapacke_sgbsvxx_work.c  lapacke_ssysvxx_work.c  lapacke_zhesvxx_work.c 
  lapacke_cgesvxx.c       lapacke_csysvxx.c       lapacke_dposvxx.c       lapacke_sgesvxx.c       lapacke_zgbsvxx.c       lapacke_zposvxx.c 
  lapacke_cgesvxx_work.c  lapacke_csysvxx_work.c  lapacke_dposvxx_work.c  lapacke_sgesvxx_work.c  lapacke_zgbsvxx_work.c  lapacke_zposvxx_work.c 
  lapacke_chesvxx.c       lapacke_dgbsvxx.c       lapacke_dsysvxx.c       lapacke_sposvxx.c       lapacke_zgesvxx.c       lapacke_zsysvxx.c 
  lapacke_chesvxx_work.c  lapacke_dgbsvxx_work.c  lapacke_dsysvxx_work.c  lapacke_sposvxx_work.c  lapacke_zgesvxx_work.c  lapacke_zsysvxx_work.c
)


# FILE PARTS OF TMGLIB 
set(MATGEN
  lapacke_clatms.c 
  lapacke_clatms_work.c 
  lapacke_dlatms.c 
  lapacke_dlatms_work.c 
  lapacke_slatms.c 
  lapacke_slatms_work.c 
  lapacke_zlatms.c 
  lapacke_zlatms_work.c 
  lapacke_clagge.c 
  lapacke_clagge_work.c 
  lapacke_dlagge.c 
  lapacke_dlagge_work.c 
  lapacke_slagge.c 
  lapacke_slagge_work.c 
  lapacke_zlagge.c 
  lapacke_zlagge_work.c 
  lapacke_claghe.c 
  lapacke_claghe_work.c 
  lapacke_zlaghe.c 
  lapacke_zlaghe_work.c 
  lapacke_clagsy.c 
  lapacke_clagsy_work.c 
  lapacke_dlagsy.c 
  lapacke_dlagsy_work.c 
  lapacke_slagsy.c 
  lapacke_slagsy_work.c 
  lapacke_zlagsy.c 
  lapacke_zlagsy_work.c
)

set(Utils_SRC
lapacke_cgb_nancheck.c  lapacke_dpf_nancheck.c         lapacke_ssy_trans.c
lapacke_cgb_trans.c     lapacke_dpf_trans.c            lapacke_stb_nancheck.c
lapacke_cge_nancheck.c  lapacke_dpo_nancheck.c         lapacke_stb_trans.c
lapacke_cge_trans.c     lapacke_dpo_trans.c            lapacke_stf_nancheck.c
lapacke_cgg_nancheck.c  lapacke_dpp_nancheck.c         lapacke_stf_trans.c
lapacke_cgg_trans.c     lapacke_dpp_trans.c            lapacke_stp_nancheck.c
lapacke_cgt_nancheck.c  lapacke_dpt_nancheck.c         lapacke_stp_trans.c
lapacke_chb_nancheck.c  lapacke_dsb_nancheck.c         lapacke_str_nancheck.c
lapacke_chb_trans.c     lapacke_dsb_trans.c            lapacke_str_trans.c
lapacke_che_nancheck.c  lapacke_dsp_nancheck.c         lapacke_xerbla.c
lapacke_che_trans.c     lapacke_dsp_trans.c            lapacke_zgb_nancheck.c
lapacke_chp_nancheck.c  lapacke_dst_nancheck.c         lapacke_zgb_trans.c
lapacke_chp_trans.c     lapacke_dsy_nancheck.c         lapacke_zge_nancheck.c
lapacke_chs_nancheck.c  lapacke_dsy_trans.c            lapacke_zge_trans.c
lapacke_chs_trans.c     lapacke_dtb_nancheck.c         lapacke_zgg_nancheck.c
lapacke_c_nancheck.c    lapacke_dtb_trans.c            lapacke_zgg_trans.c
lapacke_cpb_nancheck.c  lapacke_dtf_nancheck.c         lapacke_zgt_nancheck.c
lapacke_cpb_trans.c     lapacke_dtf_trans.c            lapacke_zhb_nancheck.c
lapacke_cpf_nancheck.c  lapacke_dtp_nancheck.c         lapacke_zhb_trans.c
lapacke_cpf_trans.c     lapacke_dtp_trans.c            lapacke_zhe_nancheck.c
lapacke_cpo_nancheck.c  lapacke_dtr_nancheck.c         lapacke_zhe_trans.c
lapacke_cpo_trans.c     lapacke_dtr_trans.c            lapacke_zhp_nancheck.c
lapacke_cpp_nancheck.c  lapacke_lsame.c                lapacke_zhp_trans.c
lapacke_cpp_trans.c     lapacke_make_complex_double.c  lapacke_zhs_nancheck.c
lapacke_cpt_nancheck.c  lapacke_make_complex_float.c   lapacke_zhs_trans.c
lapacke_csp_nancheck.c  lapacke_sgb_nancheck.c         lapacke_z_nancheck.c
lapacke_csp_trans.c     lapacke_sgb_trans.c            lapacke_zpb_nancheck.c
lapacke_cst_nancheck.c  lapacke_sge_nancheck.c         lapacke_zpb_trans.c
lapacke_csy_nancheck.c  lapacke_sge_trans.c            lapacke_zpf_nancheck.c
lapacke_csy_trans.c     lapacke_sgg_nancheck.c         lapacke_zpf_trans.c
lapacke_ctb_nancheck.c  lapacke_sgg_trans.c            lapacke_zpo_nancheck.c
lapacke_ctb_trans.c     lapacke_sgt_nancheck.c         lapacke_zpo_trans.c
lapacke_ctf_nancheck.c  lapacke_shs_nancheck.c         lapacke_zpp_nancheck.c
lapacke_ctf_trans.c     lapacke_shs_trans.c            lapacke_zpp_trans.c
lapacke_ctp_nancheck.c  lapacke_s_nancheck.c           lapacke_zpt_nancheck.c
lapacke_ctp_trans.c     lapacke_spb_nancheck.c         lapacke_zsp_nancheck.c
lapacke_ctr_nancheck.c  lapacke_spb_trans.c            lapacke_zsp_trans.c
lapacke_ctr_trans.c     lapacke_spf_nancheck.c         lapacke_zst_nancheck.c
lapacke_dgb_nancheck.c  lapacke_spf_trans.c            lapacke_zsy_nancheck.c
lapacke_dgb_trans.c     lapacke_spo_nancheck.c         lapacke_zsy_trans.c
lapacke_dge_nancheck.c  lapacke_spo_trans.c            lapacke_ztb_nancheck.c
lapacke_dge_trans.c     lapacke_spp_nancheck.c         lapacke_ztb_trans.c
lapacke_dgg_nancheck.c  lapacke_spp_trans.c            lapacke_ztf_nancheck.c
lapacke_dgg_trans.c     lapacke_spt_nancheck.c         lapacke_ztf_trans.c
lapacke_dgt_nancheck.c  lapacke_ssb_nancheck.c         lapacke_ztp_nancheck.c
lapacke_dhs_nancheck.c  lapacke_ssb_trans.c            lapacke_ztp_trans.c
lapacke_dhs_trans.c     lapacke_ssp_nancheck.c         lapacke_ztr_nancheck.c
lapacke_d_nancheck.c    lapacke_ssp_trans.c            lapacke_ztr_trans.c
lapacke_dpb_nancheck.c  lapacke_sst_nancheck.c
lapacke_dpb_trans.c     lapacke_ssy_nancheck.c
)

set(LAPACKE_REL_SRC "")
if (BUILD_SINGLE)
  list(APPEND LAPACKE_REL_SRC ${SSRC})
endif ()

if (BUILD_DOUBLE)
  list(APPEND LAPACKE_REL_SRC ${DSRC})
endif ()

if (BUILD_COMPLEX)
  list(APPEND LAPACKE_REL_SRC ${CSRC})
endif ()

if (BUILD_COMPLEX16)
  list(APPEND LAPACKE_REL_SRC ${ZSRC})
endif ()

# add lapack-netlib folder to the sources
set(LAPACKE_SOURCES "")
foreach (LAE_FILE ${LAPACKE_REL_SRC})
  list(APPEND LAPACKE_SOURCES "${NETLIB_LAPACK_DIR}/LAPACKE/src/${LAE_FILE}")
endforeach ()

foreach (Utils_FILE ${Utils_SRC})
  list(APPEND LAPACKE_SOURCES "${NETLIB_LAPACK_DIR}/LAPACKE/utils/${Utils_FILE}")
endforeach ()

set(lapacke_include_dir "${NETLIB_LAPACK_DIR}/LAPACKE/include")
execute_process(COMMAND ${CMAKE_COMMAND} -E copy "${lapacke_include_dir}/lapacke_mangling_with_flags.h" "${lapacke_include_dir}/lapacke_mangling.h")
include_directories(${lapacke_include_dir})
set_source_files_properties(${LAPACKE_SOURCES} PROPERTIES COMPILE_FLAGS "${LAPACK_CFLAGS}")
