include ../../../Make.inc
LIBDIR=../../../lib
INCDIR=../../../include
MODDIR=../../../modules
HERE=../..
FINCLUDES=$(FMFLAG)$(HERE) $(FMFLAG)$(MODDIR) $(FMFLAG)$(INCDIR) $(PSBLAS_INCLUDES)



OBJS=amg_c_base_solver_apply.o \
amg_c_base_solver_apply_vect.o \
amg_c_base_solver_bld.o \
amg_c_base_solver_check.o \
amg_c_base_solver_clone.o \
amg_c_base_solver_clone_settings.o \
amg_c_base_solver_clear_data.o \
amg_c_base_solver_cnv.o \
amg_c_base_solver_csetc.o \
amg_c_base_solver_cseti.o \
amg_c_base_solver_csetr.o \
amg_c_base_solver_descr.o \
amg_c_base_solver_dmp.o \
amg_c_base_solver_free.o \
amg_c_diag_solver_apply.o \
amg_c_diag_solver_apply_vect.o \
amg_c_diag_solver_bld.o \
amg_c_diag_solver_dmp.o \
amg_c_diag_solver_clone.o \
amg_c_diag_solver_clear_data.o \
amg_c_diag_solver_cnv.o \
amg_c_gs_solver_bld.o \
amg_c_gs_solver_clone.o \
amg_c_gs_solver_cnv.o \
amg_c_gs_solver_dmp.o \
amg_c_gs_solver_apply.o \
amg_c_gs_solver_apply_vect.o \
amg_c_gs_solver_clear_data.o \
amg_c_gs_solver_clone_settings.o \
amg_c_bwgs_solver_bld.o \
amg_c_bwgs_solver_apply.o \
amg_c_bwgs_solver_apply_vect.o \
amg_c_id_solver_apply.o \
amg_c_id_solver_apply_vect.o \
amg_c_id_solver_clone.o \
amg_c_ilu_solver_apply.o \
amg_c_ilu_solver_apply_vect.o \
amg_c_ilu_solver_bld.o \
amg_c_ilu_solver_clone.o \
amg_c_ilu_solver_clear_data.o \
amg_c_ilu_solver_clone_settings.o \
amg_c_ilu_solver_cnv.o \
amg_c_ilu_solver_dmp.o \
amg_c_mumps_solver_apply.o \
amg_c_mumps_solver_apply_vect.o \
amg_c_mumps_solver_bld.o \
amg_c_krm_solver_impl.o \
amg_c_slu_solver_impl.o \
amg_d_base_solver_apply.o \
amg_d_base_solver_apply_vect.o \
amg_d_base_solver_bld.o \
amg_d_base_solver_check.o \
amg_d_base_solver_clone.o \
amg_d_base_solver_clone_settings.o \
amg_d_base_solver_clear_data.o \
amg_d_base_solver_cnv.o \
amg_d_base_solver_csetc.o \
amg_d_base_solver_cseti.o \
amg_d_base_solver_csetr.o \
amg_d_base_solver_descr.o \
amg_d_base_solver_dmp.o \
amg_d_base_solver_free.o \
amg_d_diag_solver_apply.o \
amg_d_diag_solver_apply_vect.o \
amg_d_diag_solver_bld.o \
amg_d_diag_solver_dmp.o \
amg_d_diag_solver_clone.o \
amg_d_diag_solver_clear_data.o \
amg_d_diag_solver_cnv.o \
amg_d_bwgs_solver_bld.o \
amg_d_bwgs_solver_apply.o \
amg_d_bwgs_solver_apply_vect.o \
amg_d_gs_solver_bld.o \
amg_d_gs_solver_clone.o \
amg_d_gs_solver_cnv.o \
amg_d_gs_solver_dmp.o \
amg_d_gs_solver_apply.o \
amg_d_gs_solver_apply_vect.o \
amg_d_gs_solver_clear_data.o \
amg_d_gs_solver_clone_settings.o \
amg_d_id_solver_apply.o \
amg_d_id_solver_apply_vect.o \
amg_d_id_solver_clone.o \
amg_d_ilu_solver_apply.o \
amg_d_ilu_solver_apply_vect.o \
amg_d_ilu_solver_bld.o \
amg_d_ilu_solver_clone.o \
amg_d_ilu_solver_clear_data.o \
amg_d_ilu_solver_clone_settings.o \
amg_d_ilu_solver_cnv.o \
amg_d_ilu_solver_dmp.o \
amg_d_mumps_solver_apply.o \
amg_d_mumps_solver_apply_vect.o \
amg_d_mumps_solver_bld.o \
amg_d_krm_solver_impl.o \
amg_d_slu_solver_impl.o \
amg_d_umf_solver_impl.o \
amg_s_base_solver_apply.o \
amg_s_base_solver_apply_vect.o \
amg_s_base_solver_bld.o \
amg_s_base_solver_check.o \
amg_s_base_solver_clone.o \
amg_s_base_solver_clone_settings.o \
amg_s_base_solver_clear_data.o \
amg_s_base_solver_cnv.o \
amg_s_base_solver_csetc.o \
amg_s_base_solver_cseti.o \
amg_s_base_solver_csetr.o \
amg_s_base_solver_descr.o \
amg_s_base_solver_dmp.o \
amg_s_base_solver_free.o \
amg_s_diag_solver_apply.o \
amg_s_diag_solver_apply_vect.o \
amg_s_diag_solver_bld.o \
amg_s_diag_solver_dmp.o \
amg_s_diag_solver_clone.o \
amg_s_diag_solver_clear_data.o \
amg_s_diag_solver_cnv.o \
amg_s_gs_solver_bld.o \
amg_s_gs_solver_clone.o \
amg_s_gs_solver_cnv.o \
amg_s_gs_solver_dmp.o \
amg_s_gs_solver_apply.o \
amg_s_gs_solver_apply_vect.o \
amg_s_gs_solver_clear_data.o \
amg_s_gs_solver_clone_settings.o \
amg_s_bwgs_solver_bld.o \
amg_s_bwgs_solver_apply.o \
amg_s_bwgs_solver_apply_vect.o \
amg_s_id_solver_apply.o \
amg_s_id_solver_apply_vect.o \
amg_s_id_solver_clone.o \
amg_s_ilu_solver_apply.o \
amg_s_ilu_solver_apply_vect.o \
amg_s_ilu_solver_bld.o \
amg_s_ilu_solver_clone.o \
amg_s_ilu_solver_clear_data.o \
amg_s_ilu_solver_clone_settings.o \
amg_s_ilu_solver_cnv.o \
amg_s_ilu_solver_dmp.o \
amg_s_mumps_solver_apply.o \
amg_s_mumps_solver_apply_vect.o \
amg_s_mumps_solver_bld.o \
amg_s_krm_solver_impl.o \
amg_s_slu_solver_impl.o \
amg_z_base_solver_apply.o \
amg_z_base_solver_apply_vect.o \
amg_z_base_solver_bld.o \
amg_z_base_solver_check.o \
amg_z_base_solver_clone.o \
amg_z_base_solver_clone_settings.o \
amg_z_base_solver_clear_data.o \
amg_z_base_solver_cnv.o \
amg_z_base_solver_csetc.o \
amg_z_base_solver_cseti.o \
amg_z_base_solver_csetr.o \
amg_z_base_solver_descr.o \
amg_z_base_solver_dmp.o \
amg_z_base_solver_free.o \
amg_z_diag_solver_apply.o \
amg_z_diag_solver_apply_vect.o \
amg_z_diag_solver_bld.o \
amg_z_diag_solver_dmp.o \
amg_z_diag_solver_clone.o \
amg_z_diag_solver_clear_data.o \
amg_z_diag_solver_cnv.o \
amg_z_gs_solver_bld.o \
amg_z_gs_solver_clone.o \
amg_z_gs_solver_cnv.o \
amg_z_gs_solver_dmp.o \
amg_z_gs_solver_apply.o \
amg_z_gs_solver_apply_vect.o \
amg_z_gs_solver_clear_data.o \
amg_z_gs_solver_clone_settings.o \
amg_z_bwgs_solver_bld.o \
amg_z_bwgs_solver_apply.o \
amg_z_bwgs_solver_apply_vect.o \
amg_z_id_solver_apply.o \
amg_z_id_solver_apply_vect.o \
amg_z_id_solver_clone.o \
amg_z_ilu_solver_clear_data.o \
amg_z_ilu_solver_clone_settings.o \
amg_z_ilu_solver_apply.o \
amg_z_ilu_solver_apply_vect.o \
amg_z_ilu_solver_bld.o \
amg_z_ilu_solver_clone.o \
amg_z_ilu_solver_cnv.o \
amg_z_ilu_solver_dmp.o \
amg_z_mumps_solver_apply.o \
amg_z_mumps_solver_apply_vect.o \
amg_z_mumps_solver_bld.o \
amg_s_ainv_solver_bld.o \
amg_s_ainv_solver_check.o \
amg_s_ainv_solver_clone.o \
amg_s_ainv_solver_clone_settings.o \
amg_s_ainv_solver_csetc.o \
amg_s_ainv_solver_cseti.o \
amg_s_ainv_solver_csetr.o \
amg_s_ainv_solver_descr.o \
amg_d_ainv_solver_bld.o \
amg_d_ainv_solver_check.o \
amg_d_ainv_solver_clone.o \
amg_d_ainv_solver_clone_settings.o \
amg_d_ainv_solver_csetc.o \
amg_d_ainv_solver_cseti.o \
amg_d_ainv_solver_csetr.o \
amg_d_ainv_solver_descr.o \
amg_c_ainv_solver_bld.o \
amg_c_ainv_solver_check.o \
amg_c_ainv_solver_clone.o \
amg_c_ainv_solver_clone_settings.o \
amg_c_ainv_solver_csetc.o \
amg_c_ainv_solver_cseti.o \
amg_c_ainv_solver_csetr.o \
amg_c_ainv_solver_descr.o \
amg_z_ainv_solver_bld.o \
amg_z_ainv_solver_check.o \
amg_z_ainv_solver_clone.o \
amg_z_ainv_solver_clone_settings.o \
amg_z_ainv_solver_csetc.o \
amg_z_ainv_solver_cseti.o \
amg_z_ainv_solver_csetr.o \
amg_z_ainv_solver_descr.o \
amg_s_base_ainv_solver_apply_vect.o \
amg_s_base_ainv_solver_apply.o \
amg_s_base_ainv_solver_cnv.o \
amg_s_base_ainv_solver_dmp.o \
amg_s_base_ainv_solver_free.o \
amg_s_base_ainv_update_a.o \
amg_d_base_ainv_solver_apply_vect.o \
amg_d_base_ainv_solver_apply.o \
amg_d_base_ainv_solver_cnv.o \
amg_d_base_ainv_solver_dmp.o \
amg_d_base_ainv_solver_free.o \
amg_d_base_ainv_update_a.o \
amg_c_base_ainv_solver_apply_vect.o \
amg_c_base_ainv_solver_apply.o \
amg_c_base_ainv_solver_cnv.o \
amg_c_base_ainv_solver_dmp.o \
amg_c_base_ainv_solver_free.o \
amg_c_base_ainv_update_a.o \
amg_z_base_ainv_solver_apply_vect.o \
amg_z_base_ainv_solver_apply.o \
amg_z_base_ainv_solver_cnv.o \
amg_z_base_ainv_solver_dmp.o \
amg_z_base_ainv_solver_free.o \
amg_z_base_ainv_update_a.o \
amg_d_invt_solver_bld.o \
amg_d_invt_solver_check.o \
amg_d_invt_solver_clone.o \
amg_d_invt_solver_clone_settings.o \
amg_d_invt_solver_cseti.o \
amg_d_invt_solver_csetr.o \
amg_d_invt_solver_descr.o \
amg_d_invk_solver_bld.o \
amg_d_invk_solver_check.o \
amg_d_invk_solver_clone.o \
amg_d_invk_solver_clone_settings.o \
amg_d_invk_solver_cseti.o \
amg_d_invk_solver_descr.o \
amg_s_invt_solver_bld.o \
amg_s_invt_solver_check.o \
amg_s_invt_solver_clone.o \
amg_s_invt_solver_clone_settings.o \
amg_s_invt_solver_cseti.o \
amg_s_invt_solver_csetr.o \
amg_s_invt_solver_descr.o \
amg_s_invk_solver_bld.o \
amg_s_invk_solver_check.o \
amg_s_invk_solver_clone.o \
amg_s_invk_solver_clone_settings.o \
amg_s_invk_solver_cseti.o \
amg_s_invk_solver_descr.o \
amg_c_invt_solver_bld.o \
amg_c_invt_solver_check.o \
amg_c_invt_solver_clone.o \
amg_c_invt_solver_clone_settings.o \
amg_c_invt_solver_cseti.o \
amg_c_invt_solver_csetr.o \
amg_c_invt_solver_descr.o \
amg_c_invk_solver_bld.o \
amg_c_invk_solver_check.o \
amg_c_invk_solver_clone.o \
amg_c_invk_solver_clone_settings.o \
amg_c_invk_solver_cseti.o \
amg_c_invk_solver_descr.o \
amg_z_invt_solver_bld.o \
amg_z_invt_solver_check.o \
amg_z_invt_solver_clone.o \
amg_z_invt_solver_clone_settings.o \
amg_z_invt_solver_cseti.o \
amg_z_invt_solver_csetr.o \
amg_z_invt_solver_descr.o \
amg_z_invk_solver_bld.o \
amg_z_invk_solver_check.o \
amg_z_invk_solver_clone.o \
amg_z_invk_solver_clone_settings.o \
amg_z_invk_solver_cseti.o \
amg_z_invk_solver_descr.o \
amg_z_krm_solver_impl.o \
amg_z_slu_solver_impl.o \
amg_z_umf_solver_impl.o \
amg_c_jac_solver_clone_settings.o \
amg_c_jac_solver_clear_data.o \
amg_c_jac_solver_cnv.o \
amg_c_jac_solver_clone.o \
amg_c_jac_solver_dmp.o \
amg_c_jac_solver_apply_vect.o \
amg_c_jac_solver_apply.o \
amg_c_jac_solver_bld.o \
amg_c_l1_jac_solver_bld.o \
amg_z_jac_solver_clone_settings.o \
amg_z_jac_solver_clear_data.o \
amg_z_jac_solver_cnv.o \
amg_z_jac_solver_clone.o \
amg_z_jac_solver_dmp.o \
amg_z_jac_solver_apply_vect.o \
amg_z_jac_solver_apply.o \
amg_z_jac_solver_bld.o \
amg_z_l1_jac_solver_bld.o \
amg_s_jac_solver_clone_settings.o \
amg_s_jac_solver_clear_data.o \
amg_s_jac_solver_cnv.o \
amg_s_jac_solver_clone.o \
amg_s_jac_solver_dmp.o \
amg_s_jac_solver_apply_vect.o \
amg_s_jac_solver_apply.o \
amg_s_jac_solver_bld.o \
amg_s_l1_jac_solver_bld.o \
amg_d_jac_solver_clone_settings.o \
amg_d_jac_solver_clear_data.o \
amg_d_jac_solver_cnv.o \
amg_d_jac_solver_clone.o \
amg_d_jac_solver_dmp.o \
amg_d_jac_solver_apply_vect.o \
amg_d_jac_solver_apply.o \
amg_d_jac_solver_bld.o \
amg_d_l1_jac_solver_bld.o 

LIBNAME=libamg_prec.a

objs:  $(OBJS)

lib: objs
	$(AR) $(HERE)/$(LIBNAME) $(OBJS)
	$(RANLIB) $(HERE)/$(LIBNAME)

veryclean: clean
	/bin/rm -f $(LIBNAME)

clean:
	/bin/rm -f $(OBJS) $(LOCAL_MODS)
