(file) Return to Makefile.Unix CVS log (file) (dir) Up to [HallC] / Analyzer / PORT

File: [HallC] / Analyzer / PORT / Makefile.Unix (download)
Revision: 1.5, Thu Nov 30 14:23:03 2000 UTC (23 years, 9 months ago) by saw
Branch: MAIN
CVS Tags: spring03, sep-26-2002, sep-25-2002, sep-24-2002, sep-09-2002, pionct, online04, online03, mduality, mar-24-2003, gep3, fpi2, emc, e01004, bigcal, baryon, aug-12-2003, apr-02-2003
Branch point for: online07, gep_online
Changes since 1.4: +5 -1 lines
Add other_wrappers.f for jidnnt

#
# This directory contains code that is needed to in some ports of the
# Hall C analyzer to platforms other than HPUX.  For example, it contains
# definitions of some fortran functions that are missing under F2C/Linux.
#
# $Log: Makefile.Unix,v $
# Revision 1.5  2000/11/30 14:23:03  saw
# Add other_wrappers.f for jidnnt
#
# Revision 1.4  1998/12/09 16:31:16  saw
# Remove dependence on Csoft environment variable
#
# Revision 1.3  1998/12/01 20:37:29  saw
# (SAW) Linux fixes
#
# Revision 1.2  1996/11/22 17:05:53  saw
# (SAW) Add routines for porting to Linux and AIX
#
# Revision 1.1  1996/09/09 13:34:01  saw
# Initial revision
#
NEWSTYLE=1
include ../../etc/Makefile

ifeq ($(ARCH),AIX)
  libsources =  bit_wrappers.f
  install-dirs := lib
else
  ifeq ($(ARCH),Linux)
    ifeq ($(F77COMPILER),Absoft)
      libsources =  absoft_wrappers.f
    else
      libsources =  bit_wrappers.f trig_wrappers.f ran_wrappers.f \
		    other_wrappers.f
    endif
    install-dirs := lib
  else
    libsources =  
    install-dirs :=
  endif
endif

sources = $(libsources)

lib_targets := $(patsubst %.f, libport.a(%.o), $(libsources)) \
			libport.a(cwrappers.o)

#default:
#	@echo "nothing to make"

ifdef NFSDIRECTORY
../%.f : $(NFSDIRECTORY)/PORT/%.f
	ln -s $< $@

../%.c : $(NFSDIRECTORY)/PORT/%.c
	ln -s $< $@

.PRECIOUS: ../%.f ../%.c
endif

cwrappers.o: ../cwrappers.c

include $(libsources:.f=.d) cwrappers.d

Analyzer/Replay: Mark Jones, Documents: Stephen Wood
Powered by
ViewCVS 0.9.2-cvsgraph-1.4.0