56 lines
1.3 KiB
Bash
Executable File
56 lines
1.3 KiB
Bash
Executable File
#!/bin/sh
|
|
#BHEADER***********************************************************************
|
|
# (c) 1998 The Regents of the University of California
|
|
#
|
|
# See the file COPYRIGHT_and_DISCLAIMER for a complete copyright
|
|
# notice, contact person, and disclaimer.
|
|
#
|
|
# $Revision$
|
|
#EHEADER***********************************************************************
|
|
|
|
INTERNAL_HEADER=parcsr_linear_solvers.h
|
|
|
|
#===========================================================================
|
|
# Include guards and other includes
|
|
#===========================================================================
|
|
|
|
cat > $INTERNAL_HEADER <<@
|
|
|
|
#include <HYPRE_config.h>
|
|
|
|
#include "HYPRE_parcsr_ls.h"
|
|
|
|
#ifndef hypre_PARCSR_LS_HEADER
|
|
#define hypre_PARCSR_LS_HEADER
|
|
|
|
#include "utilities.h"
|
|
#include "seq_matrix_vector.h"
|
|
#include "parcsr_matrix_vector.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
@
|
|
|
|
#===========================================================================
|
|
# Structures and prototypes
|
|
#===========================================================================
|
|
|
|
../utilities/protos *.c >> $INTERNAL_HEADER
|
|
|
|
#===========================================================================
|
|
# Include guards
|
|
#===========================================================================
|
|
|
|
cat >> $INTERNAL_HEADER <<@
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
@
|
|
|