source: trunk/src/seismic_processing/hyp2000/makefile.ux @ 3172

Revision 3172, 6.0 KB checked in by paulf, 13 years ago (diff)

changes for g77

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1
2
3# some earthworm vars
4
5B = $(EW_HOME)/$(EW_VERSION)/bin
6L = $(EW_HOME)/$(EW_VERSION)/lib
7
8
9#  HYP      HYPOINVERSE EARTHQUAKE LOCATION PROGRAM.
10hypg  :  hyp.o hybda.o hycmd.o hysta.o hydel.o hyate.o hyfmc.o hycal.o \
11hyxmc.o hycrh.o hycrt.o hystl.o hyopen.o hyinit.o hyphs.o hysou.o \
12hycin.o hycout.o hytrl.o hyloc.o hysol.o hysvd.o hytra.o hytrh.o hytrt.o \
13hymag.o hyrep.o hylst.o hysum.o hyinp.o hypro.o medwt.o utmcal.o \
14init_event.o hydelt.o hyedit.o hytime.o hybeg.o hypref.o hymagp.o \
15hyfile.o allsubs.o
16        g77 -g hyp.o hybda.o hycmd.o hysta.o hydel.o hyate.o hyfmc.o hypref.o \
17        hyxmc.o hycrh.o hycrt.o hystl.o hyopen.o hyinit.o hyphs.o hycal.o \
18        hycin.o hytrl.o hyloc.o hysol.o hysvd.o hytra.o hytrh.o hytrt.o \
19        hymag.o hyrep.o hylst.o hysum.o hyinp.o hypro.o medwt.o utmcal.o \
20        init_event.o hydelt.o hyedit.o hytime.o hybeg.o hycout.o \
21        hymagp.o hysou.o hyfile.o \
22        -Bstatic allsubs.o -o $B/hyp2000
23
24# line for loading all "common" subroutines instead of library:
25#       -Bstatic allsubs.o -o hypg
26#
27# line for loading all "common" subroutines in a library using f77:
28#       -Bstatic -L/home/calnet/klein/subs -lfs -o hyp2000
29
30#  allsubs - collection of general subroutines into one file
31#  This is the g77 version of readq subroutine (no q format)
32#  Sun version (readq.f) built into
33allsubs.o  :  allsubs.f
34        g77 -c allsubs.f
35
36#  HYP     * MAIN HYPOINVERSE PROGRAM.
37hyp.o  :  hyp.for common.inc
38        g77 -c hyp.for
39
40#  HYBDA   * BLOCK DATA INITIALIZATION OF COMMON.
41hybda.o  :  hybda.for common.inc
42        g77 -c hybda.for
43
44#  HYBEG   * INITIALIZATION OF OTHER VARIABLES.
45hybeg.o  :  hybeg.f common.inc
46        g77 -c hybeg.f
47
48#  HYCMD   * GETS AND PROCESSES COMMANDS.
49hycmd.o  :  hycmd.for common.inc
50        g77 -c hycmd.for
51
52#  HYSTA   * READS IN STATIONS.
53hysta.o  :  hysta.for common.inc
54        g77 -c hysta.for
55
56#  HYDEL   * READS IN STATION DELAYS (FOR MULTIPLE MODELS).
57hydel.o  :  hydel.for common.inc
58        g77 -c hydel.for
59
60#  HYATE   * READS IN STATION ATTENUATION HISTORY.
61hyate.o  :  hyate.for common.inc
62        g77 -c hyate.for
63
64#  HYCAL   * READS IN STATION CAL FACTOR HISTORY.
65hycal.o  :  hycal.for common.inc
66        g77 -c hycal.for
67
68#  HYFMC   * READS IN STATION FMAG CORRECTIONS.
69hyfmc.o  :  hyfmc.for common.inc
70        g77 -c hyfmc.for
71
72#  HYFILE   * DETERMINES INPUT FILE TYPE.
73hyfile.o  :  hyfile.for
74        g77 -c hyfile.for
75
76#  HYXMC   * READS IN STATION XMAG CORRECTIONS.
77hyxmc.o  :  hyxmc.for common.inc
78        g77 -c hyxmc.for
79
80#  HYCRH   * READS IN HOMOGENOUS LAYER CRUSTAL MODELS.
81hycrh.o  :  hycrh.for common.inc
82        g77 -c hycrh.for
83
84#  HYCRT   * READS IN TRAVEL-TIME-TABLE CRUSTAL MODELS.
85hycrt.o  :  hycrt.for common.inc
86        g77 -c hycrt.for
87
88#  HYSTL   * OUTPUTS STATIONS, CRUST & PARAMETERS TO PRINT FILE.
89hystl.o  :  hystl.for common.inc
90        g77 -c hystl.for
91
92#  HYOPEN  * OPENS FILES FOR LOCATION RUN.
93hyopen.o  :  hyopen.for common.inc
94        g77 -c hyopen.for
95
96#  HYINIT  * INITIALIZES SOME VARIABLES FOR LOCATION RUN.
97hyinit.o  :  hyinit.for common.inc
98        g77 -c hyinit.for
99
100#  HYPHS   * READS IN PHASE DATA FOR ONE EVENT.
101hyphs.o  :  hyphs.for common.inc
102        g77 -c hyphs.for
103
104#  HYCIN   * INPUTS PHASE DATA FROM CUSP MEM FILES (ALTERNATE TO HYPHS)
105hycin.o  :  hycin.f
106        g77 -c hycin.f
107
108#  HYCOUT   * OUTPUTS PHASE DATA TO CUSP MEM FILES (ALTERNATE TO HYARC)
109hycout.o  :  hycout.f
110        g77 -c hycout.f
111
112#  HYTRL   * SETS TRIAL HYPOCENTER.
113hytrl.o  :  hytrl.for common.inc
114        g77 -c hytrl.for
115
116#  HYLOC   * LOCATES ONE EVENT.
117hyloc.o  :  hyloc.for common.inc
118        g77 -c hyloc.for
119
120#  HYSOL   * PERFORMS INVERSION FOR ONE ITERATION.
121hysol.o  :  hysol.for common.inc
122        g77 -c hysol.for
123
124#  HYSVD     CANNED SINGLE-VALUE-DECOMPOSITION ROUTINE.
125hysvd.o  :  hysvd.f
126        g77 -c hysvd.f
127
128#  HYTRA   * MANAGE CRUST MODEL CHOICE & AVERAGING.
129hytra.o  :  hytra.for common.inc
130        g77 -c hytra.for
131
132#  HYTRH   * CALC TRAVEL TIMES AND DERIVS FOR HOMO LAYER MODEL.
133hytrh.o  :  hytrh.for common.inc
134        g77 -c hytrh.for
135
136#  HYTRT   * CALC TRAVEL TIMES AND DERIVS FROM TRAV-TIME TABLE.
137hytrt.o  :  hytrt.for common.inc
138        g77 -c hytrt.for
139
140#  HYMAG   * COMPUTES DUR & MAX AMP MAGNITUDE.
141hymag.o  :  hymag.for common.inc
142        g77 -c hymag.for
143
144#  HYMAGP   * COMPUTES P AMP MAGNITUDE.
145hymagp.o  :  hymagp.for common.inc
146        g77 -c hymagp.for
147
148#  HYPREF  * SELECTS PREFERRED MAGNITUDE.
149hypref.o  :  hypref.for common.inc
150        g77 -c hypref.for
151
152#  HYREP   * REPORTS A LOCATION ON THE TERMINAL.
153hyrep.o  :  hyrep.for common.inc
154        g77 -c hyrep.for
155
156#  HYSOU   * TABULATES MOST COMMON DATA SOURCES.
157hysou.o  :  hysou.for common.inc
158        g77 -c hysou.for
159
160#  HYLST   * OUTPUTS DATA BY STATION TO PRINT & ARCHIVE FILES.
161hylst.o  :  hylst.for common.inc
162        g77 -c hylst.for
163
164#  HYSUM   * OUTPUTS SUMMARY RECORD (FINAL LOCATION).
165hysum.o  :  hysum.for common.inc
166        g77 -c hysum.for
167
168#  HYINP     FOR INTERACTIVE ENTRY OF PHASE DATA.
169hyinp.o  :  hyinp.for
170        g77 -c hyinp.for
171
172#  HYPRO   * INTERACTIVELY PROCESSES A SERIES OF EVENTS.
173hypro.o  :  hypro.for common.inc
174        g77 -c hypro.for
175
176#  MEDWT     COMPUTES THE WEIGHTED MEDIAN OF A SERIES OF MAGNITUDES.
177medwt.o  :  medwt.for
178        g77 -c medwt.for
179
180#  UTMCAL    CALCULATE STATION DISTANCES ON A UTM GRID
181utmcal.o :  utmcal.for
182        g77 -c utmcal.for
183
184#  INIT_EVENT  INITIALIZES CUSP FOR READING OF MEM DATA FILES (VAX ONLY)
185init_event.o  :  init_event.f
186        g77 -c init_event.f
187
188#  HYDELETE  DELETES FILES IN INTERACTIVE PROCESSING
189hydelt.o  :  hydelt.f
190        g77 -c hydelt.f
191
192#  HYEDTIOR  RUNS AN EDTIOR WITHIN A PROCESS
193hyedit.o  :  hyedit.f
194        g77 -c hyedit.f
195
196#  HYTIME    GETS CURRENT SYSTEM TIME FOR LABELING PRINT FILE
197hytime.o  :  hytime.f
198        g77 -c hytime.f
199
200#  ALSO USES THESE GENERAL PURPOSE SUBROUTINES FROM THE SUBROUTINE LIBRARY
201#  KLAS      ASSIGNS A NAME AND NUMBER TO AN EVENT BASED ON LOCATION.
202#  KLASS (NET 1), BOX2 (NET2) - USED BY KLAS.
203#  ISITIN    DETERMINES IF EVENT IS IN A PARTICULAR REGION.
204#  UPSTR     CONVERTS A STRING TO UPPER CASE.
205#  JASK      INTERACTIVE PROMPT & ENTRY OF AN INTEGER.
206#  ASKC      INTERACTIVE PROMPT AND ENTRY OF A STRING.
207#  ASKR      INTERACTIVE PROMPT AND ENTRY OF A REAL VALUE.
208#  LASK      INTERACTIVE PROMPT AND ENTRY OF A LOGICAL VALUE.
209#  LENG      DETERMINES THE NON-BLANK LENGTH OF A STRING.
210
211#
212#  Clean-up rules
213#  **************
214#
215clean:
216        rm -f a.out core *.o *.obj
217
218clean_bin:
219        rm -f $B/hyp2000
Note: See TracBrowser for help on using the repository browser.