#
# $Id: GNUmakefile 19695 2010-10-29 16:51:02Z d3y133 $
#
#======================================================================
#
# DISCLAIMER
#
# This material was prepared as an account of work sponsored by an
# agency of the United States Government.  Neither the United States
# Government nor the United States Department of Energy, nor Battelle,
# nor any of their employees, MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR
# ASSUMES ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY,
# COMPLETENESS, OR USEFULNESS OF ANY INFORMATION, APPARATUS, PRODUCT,
# SOFTWARE, OR PROCESS DISCLOSED, OR REPRESENTS THAT ITS USE WOULD NOT
# INFRINGE PRIVATELY OWNED RIGHTS.
#
# ACKNOWLEDGMENT
#
# This software and its documentation were produced with Government
# support under Contract Number DE-AC06-76RLO-1830 awarded by the United
# States Department of Energy.  The Government retains a paid-up
# non-exclusive, irrevocable worldwide license to reproduce, prepare
# derivative works, perform publicly and display publicly by or for the
# Government, including the right to distribute to other Government
# contractors.
#
#======================================================================
#
#  -- PFFT wrapper routine Makefile --
#     Pacific Northwest Laboratory
#     Jan, 1997
#
#======================================================================


LIBRARY   = libpfft.a

ifeq ($(NWCHEM_TARGET),SP)
  ifeq ($(USE_ESSL),NO) 
     LIB_DEFINES = -DEMSLFFT
     OBJ_OPTIMIZE = nwfft3d.o
  else
     LIB_DEFINES = -DESSLFFT
     OBJ_OPTIMIZE = nwfft3d.o 
     OBJ = iessl.o
  endif
else
  LIB_DEFINES = -DEMSLFFT
  OBJ_OPTIMIZE = nwfft3d.o
endif

include ../../config/makefile.h
include ../../config/makelib.h

