(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.4 # Revision 1.3  1998/12/01 20:37:29  saw
 8           # (SAW) Linux fixes
 9           #
10 saw   1.3 # Revision 1.2  1996/11/22 17:05:53  saw
11           # (SAW) Add routines for porting to Linux and AIX
12           #
13 saw   1.2 # Revision 1.1  1996/09/09 13:34:01  saw
14           # Initial revision
15           #
16 saw   1.1 NEWSTYLE=1
17 saw   1.4 include ../../etc/Makefile
18 saw   1.1 
19 saw   1.2 ifeq ($(ARCH),AIX)
20             libsources =  bit_wrappers.f
21             install-dirs := lib
22           else
23             ifeq ($(ARCH),Linux)
24 saw   1.3     ifeq ($(F77COMPILER),Absoft)
25                 libsources =  absoft_wrappers.f
26               else
27                 libsources =  bit_wrappers.f trig_wrappers.f ran_wrappers.f
28               endif
29 saw   1.2     install-dirs := lib
30             else
31               libsources =  
32               install-dirs :=
33             endif
34           endif
35 saw   1.1 
36           sources = $(libsources)
37           
38 saw   1.3 lib_targets := $(patsubst %.f, libport.a(%.o), $(libsources)) \
39           			libport.a(cwrappers.o)
40 saw   1.1 
41           #default:
42           #	@echo "nothing to make"
43           
44 saw   1.2 ifdef NFSDIRECTORY
45           ../%.f : $(NFSDIRECTORY)/PORT/%.f
46           	ln -s $< $@
47           
48 saw   1.3 ../%.c : $(NFSDIRECTORY)/PORT/%.c
49           	ln -s $< $@
50           
51           .PRECIOUS: ../%.f ../%.c
52 saw   1.2 endif
53 saw   1.1 
54 saw   1.3 cwrappers.o: ../cwrappers.c
55           
56           include $(libsources:.f=.d) cwrappers.d

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