# Copyright(C) 2011 Sandia Corporation.  Under the terms of Contract
# DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
# certain rights in this software
# 
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# 
# * Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#           
# * Redistributions in binary form must reproduce the above
#   copyright notice, this list of conditions and the following
#   disclaimer in the documentation and/or other materials provided
#   with the distribution.
#                         
# * Neither the name of Sandia Corporation nor the names of its
#   contributors may be used to endorse or promote products derived
#   from this software without specific prior written permission.
#                                                 
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 

XCOMM $Id: Imakefile,v 1.10 2007/02/09 18:22:43 gdsjaar Exp $

CODE = grepos

SRCSF = gp_comand.F
SRCS = \
grepos.f \
gp_centroid.f gp_chkss.f  gp_comid.f \
gp_dbieb1.f   gp_dbielb.f gp_dbinam.f gp_dbinm1.f gp_dbist1.f \
gp_dbist2.f   gp_dbiste.f gp_dbmir1.f gp_dbmirr.f gp_dboelb.f \
gp_dbonam.f   gp_dboqa.f  gp_dboste.f gp_dbpelb.f gp_dbpini.f gp_deform.f \
gp_delid.f    gp_dobnd.f  gp_donrm2.f gp_donrm3.f gp_elementize.f \
gp_exfcon.f   gp_expxyz.f gp_expxyzn.f gp_getall.f \
gp_getattnam.f gp_getspl.f gp_getss.f gp_hunt.f   gp_incid.f  gp_intcnt.f \
gp_limits.f   gp_mapev.f  gp_mapvar.f gp_matxyz.f gp_mirss.f  gp_move.f \
gp_movint.f   gp_movnd2.f gp_movnod.f gp_movrea.f gp_munelb.f \
gp_muness.f   gp_munnps.f gp_muntt.f  gp_newatr.f gp_newid.f  gp_newnam.f \
gp_newxyz.f   gp_ordix.f  gp_ordstr.f gp_putss.f  gp_rdspln.f gp_refnd1.f \
gp_refnod.f   gp_remap.f  gp_renelb.f gp_renix.f  gp_rotatr.f gp_rotxyz.f \
gp_sclatr.f   gp_setnor.f gp_setnr2.f gp_show.f   gp_showfl.f gp_smogs.f \
gp_smogs2.f   gp_smogs3.f gp_snap.f   gp_snpnd2.f gp_snpnod.f gp_spline.f \
gp_spoff.f    gp_swpess.f gp_swpid.f  gp_wrpxyz.f gp_xyzmod.f \
gp_zess.f     gp_zlnk.f   gp_zmap.f   gp_zmess.f  gp_zmfixd.f gp_zmmap.f \
gp_zmnps.f    gp_zmxyz.f  gp_znps.f   gp_zxyz.f 

OBJS = ${SRCS:.f=.o} ${SRCSF:.F=.o}

LIBS = $(EXOIIV2FOR) $(EXOIIV2C) $(NETCDF) $(SUPLIB) $(SUPES) 

NormalFortranTarget($(CODE),$(OBJS),NullParameter,NullParameter,$(LIBS))

InstallProgram($(CODE),$(BINDIR))

DependTarget()

