-include ../../../../../../petscdir.mk
#requirespackage 'PETSC_HAVE_CUPM'

SOURCECXX = cupminterface.cxx cupmblasinterface.cxx cupmdevice.cxx
SOURCEH   = cupmcontext.hpp cupmthrustutility.hpp cupmdevice.hpp cupmallocator.hpp cupmstream.hpp cupmevent.hpp kernels.hpp
MANSEC	  = Sys
LIBBASE	  = libpetscsys
DIRS	  = cuda hip

include ${PETSC_DIR}/lib/petsc/conf/variables
include ${PETSC_DIR}/lib/petsc/conf/rules
include ${PETSC_DIR}/lib/petsc/conf/test