#!/bin/bash
# Copyright (c) 1998 Lawrence Livermore National Security, LLC and other
# HYPRE Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

touch mup_fake_ext.h
cat *.h > mup_fake_int.h

../../config/gen_code.sh mup_fake_ext.h mup_fake_int.h onlydef

rm -f mup_fake_ext.h
rm -f mup_fake_int.h

# Replace MUP_FAKE_INT
sed 's/MUP_FAKE_INT/PARASAILS/' mup_fake_int_mup_def.h > _hypre_ParaSails_mup_def.h
rm mup_fake_int_mup_def.h
