# 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.7 1999/01/25 16:38:33 gdsjaar Exp $

CODE = gen3d

SRCS = gen3d.f \
	g3_arcxyz.f   g3_arcyxz.f   g3_comand.f   g3_dbmir1.f   g3_dbmirr.f   g3_dboqa.f \
	g3_dbpini.f   g3_exparc.f   g3_felcen.f   g3_fnpcen.f   g3_getint.f  g3_getpro.f   g3_getspl.f \
	g3_getspt.f   g3_idblnk.f   g3_inigrd.f   g3_ixlink.f   g3_makcol.f   g3_makrow.f  g3_mirss.f    g3_mrkcen.f \
	g3_newel1.f   g3_newess.f   g3_newid.f    g3_newini.f   g3_newmap.f   g3_newnps.f  g3_newxyz.f   g3_proxyz.f \
	g3_rdelb.f    g3_rdspln.f   g3_relblk.f   g3_renumb.f   g3_rotxyz.f   g3_show.f    g3_shwint.f   g3_spline.f \
	g3_splxyz.f   g3_sptxyz.f   g3_trnxyz.f   g3_twixyz.f   g3_usblk.f    g3_usids.f   g3_wrelb.f    g3_wress.f \
	g3_wrnps.f    g3_wrpxyz.f

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

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

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

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

DependTarget()

