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

 1 saw   1.1 #
 2           # This directory contains code that is needed to in some ports of the
 3           # Hall C analyzer to platforms other than HPUX.  For example, it contains
 4           # definitions of some fortran functions that are missing under F2C/Linux.
 5           #
 6 saw   1.2 # $Log: Makefile.Unix,v $
 7 saw   1.5 # Revision 1.4  1998/12/09 16:31:16  saw
 8           # Remove dependence on Csoft environment variable
 9           #
10 saw   1.4 # Revision 1.3  1998/12/01 20:37:29  saw
11           # (SAW) Linux fixes
12           #
13 saw   1.3 # Revision 1.2  1996/11/22 17:05:53  saw
14           # (SAW) Add routines for porting to Linux and AIX
15           #
16 saw   1.2 # Revision 1.1  1996/09/09 13:34:01  saw
17           # Initial revision
18           #
19 saw   1.1 NEWSTYLE=1
20 saw   1.4 include ../../etc/Makefile
21 saw   1.1 
22 saw   1.2 ifeq ($(ARCH),AIX)
23             libsources =  bit_wrappers.f
24             install-dirs := lib
25           else
26             ifeq ($(ARCH),Linux)
27 saw   1.3     ifeq ($(F77COMPILER),Absoft)
28                 libsources =  absoft_wrappers.f
29               else
30 saw   1.5       libsources =  bit_wrappers.f trig_wrappers.f ran_wrappers.f \
31           		    other_wrappers.f
32 saw   1.3     endif
33 saw   1.2     install-dirs := lib
34             else
35               libsources =  
36               install-dirs :=
37             endif
38           endif
39 saw   1.1 
40           sources = $(libsources)
41           
42 saw   1.3 lib_targets := $(patsubst %.f, libport.a(%.o), $(libsources)) \
43           			libport.a(cwrappers.o)
44 saw   1.1 
45           #default:
46           #	@echo "nothing to make"
47           
48 saw   1.2 ifdef NFSDIRECTORY
49           ../%.f : $(NFSDIRECTORY)/PORT/%.f
50           	ln -s $< $@
51           
52 saw   1.3 ../%.c : $(NFSDIRECTORY)/PORT/%.c
53           	ln -s $< $@
54           
55           .PRECIOUS: ../%.f ../%.c
56 saw   1.2 endif
57 saw   1.1 
58 saw   1.3 cwrappers.o: ../cwrappers.c
59           
60           include $(libsources:.f=.d) cwrappers.d

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