source: SH_SHM/trunk/source/Makefile.readk @ 16

Revision 16, 10.3 KB checked in by marcus, 15 years ago (diff)

r1 | svn | 2007-12-13 11:10:29 +0100 (Do, 13 Dez 2007) | 2 lines

Initial import

Line 
1
2# Makefile for SH
3# ===============
4#
5# version 1, 11-Feb-93
6#
7# K. Stammler, 11-Feb-93
8
9CFLAGS      = -g -vc -Xc -DBASECNST=\"/home/b3sn06/klaus/sh/source/basecnst.h\"
10CC          = acc
11LD          = acc
12LDFLAGS     = -L/usr/local/X11/lib
13LIBS        = /home/b3sn06/klaus/winfried/source/f77hankalib.a \
14                /home/b3sn06/klaus/winfried/source/ToolsLib.a -lm -lX -lF77
15
16PROGNAME    = ../shc
17
18MAKEFILE     = Makefile
19
20OBJDIR       = .
21READK_DIR    = /home/b3sn06/klaus/sh/source/foreign/readk
22
23G_BGICH      =
24G_CCCH       =
25G_DJCH       =
26G_GEMCH      =
27G_GEMEVENT   =
28G_GRAPHCH    =  newgraph/graphch.c
29G_HPCH       =  newgraph/hpch.c
30G_MEMCH      =  newgraph/memch.c
31G_MEMFILE    =  newgraph/memfile.c
32G_PSCH       =  newgraph/psch.c
33G_TKCH       =
34G_VWCH       =
35G_XWCH       =  newgraph/xwch.c
36
37G_BGICH_O    =
38G_CCCH_O     =
39G_DJCH_O     =
40G_GEMCH_O    =
41G_GEMEVENT_O =
42G_GRAPHCH_O  =  newgraph/graphch.o
43G_HPCH_O     =  newgraph/hpch.o
44G_MEMCH_O    =  newgraph/memch.o
45G_MEMFILE_O  =  newgraph/memfile.o
46G_PSCH_O     =  newgraph/psch.o
47G_TKCH_O     =
48G_VWCH_O     =
49G_XWCH_O     =  newgraph/xwch.o
50
51F_SH_AH      =
52F_SH_GSE     =  foreign/sh_gse.c
53F_SH_NEIC    =  foreign/sh_neic.c
54F_SHFRGN     =  foreign/shfrgn.c
55
56F_SH_AH_O    =
57F_SH_GSE_O   =  foreign/sh_gse.o
58F_SH_NEIC_O  =  foreign/sh_neic.o
59F_SHFRGN_O   =  foreign/shfrgn.o
60
61SOURCES      =  cmdargs.c \
62                cmdparse.c \
63                cpar.c \
64                earthloc.c \
65                errmsg.c \
66                fftfiltr.c \
67                fileopen.c \
68                incitheo.c \
69                logplot.c \
70                matrixhd.c \
71                numres.c \
72                polfiltr.c \
73                ptravtim.c \
74                qfileio.c \
75                qfintrfc.c \
76                readgrn.c \
77                recfiltr.c \
78                seismhan.c \
79                shcorr.c \
80                shcursor.c \
81                shdataba.c \
82                shdspmgr.c \
83                shexec.c \
84                shhelp.c \
85                shlib.c \
86                shmath.c \
87                shmenu0.c \
88                shmenu1.c \
89                shmenu2.c \
90                shmenu3.c \
91                shmenu4.c \
92                shmenu5.c \
93                shmenuio.c \
94                shmenux.c \
95                shmidlev.c \
96                shpm.c \
97                shsymbol.c \
98                shtransl.c \
99                statloc.c \
100                syscall.c \
101                timeconv.c \
102                travtime.c \
103                usrinpw.c \
104                utility.c \
105                G_BGICH \
106                G_CCCH \
107                G_DJCH \
108                G_GEMCH \
109                G_GEMEVENT \
110                G_GRAPHCH \
111                G_HPCH \
112                G_MEMCH \
113                G_MEMFILE \
114                G_PSCH \
115                G_TKCH \
116                G_VWCH \
117                G_XWCH \
118                F_SH_AH \
119                F_SH_GSE \
120                F_SH_NEIC \
121                F_SHFRGN
122
123OBJECTS      =  $(OBJDIR)/cmdargs.o \
124                $(OBJDIR)/cmdparse.o \
125                $(OBJDIR)/cpar.o \
126                $(OBJDIR)/earthloc.o \
127                $(OBJDIR)/errmsg.o \
128                $(OBJDIR)/fftfiltr.o \
129                $(OBJDIR)/fileopen.o \
130                $(OBJDIR)/incitheo.o \
131                $(OBJDIR)/logplot.o \
132                $(OBJDIR)/matrixhd.o \
133                $(OBJDIR)/numres.o \
134                $(OBJDIR)/polfiltr.o \
135                $(OBJDIR)/ptravtim.o \
136                $(OBJDIR)/qfileio.o \
137                $(OBJDIR)/qfintrfc.o \
138                $(OBJDIR)/readgrn.o \
139                $(OBJDIR)/recfiltr.o \
140                $(OBJDIR)/seismhan.o \
141                $(OBJDIR)/shcorr.o \
142                $(OBJDIR)/shcursor.o \
143                $(OBJDIR)/shdataba.o \
144                $(OBJDIR)/shdspmgr.o \
145                $(OBJDIR)/shexec.o \
146                $(OBJDIR)/shhelp.o \
147                $(OBJDIR)/shlib.o \
148                $(OBJDIR)/shmath.o \
149                $(OBJDIR)/shmenu0.o \
150                $(OBJDIR)/shmenu1.o \
151                $(OBJDIR)/shmenu2.o \
152                $(OBJDIR)/shmenu3.o \
153                $(OBJDIR)/shmenu4.o \
154                $(OBJDIR)/shmenu5.o \
155                $(OBJDIR)/shmenuio.o \
156                $(OBJDIR)/shmenux.o \
157                $(OBJDIR)/shmidlev.o \
158                $(OBJDIR)/shpm.o \
159                $(OBJDIR)/shsymbol.o \
160                $(OBJDIR)/shtransl.o \
161                $(OBJDIR)/statloc.o \
162                $(OBJDIR)/syscall.o \
163                $(OBJDIR)/timeconv.o \
164                $(OBJDIR)/travtime.o \
165                $(OBJDIR)/usrinpw.o \
166                $(OBJDIR)/utility.o \
167                $(G_BGICH_O) \
168                $(G_CCCH_O) \
169                $(G_DJCH_O) \
170                $(G_GEMCH_O) \
171                $(G_GEMEVENT_O) \
172                $(G_GRAPHCH_O) \
173                $(G_HPCH_O) \
174                $(G_MEMCH_O) \
175                $(G_MEMFILE_O) \
176                $(G_PSCH_O) \
177                $(G_TKCH_O) \
178                $(G_VWCH_O) \
179                $(G_XWCH_O) \
180                $(F_SH_AH_O) \
181                $(F_SH_GSE_O) \
182                $(F_SH_NEIC_O) \
183                $(F_SHFRGN_O) \
184                $(READK_DIR)/abszeit.o \
185                $(READK_DIR)/k_file_in.o \
186                $(READK_DIR)/readk.o \
187                $(READK_DIR)/time_cnv.o \
188                $(READK_DIR)/y_file_in.o
189
190 all:           $(PROGNAME)
191
192$(PROGNAME):    $(OBJECTS) $(MAKEFILE) util
193                @echo "Linking $(PROGNAME) ..."
194                @$(LD) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(PROGNAME)
195
196$(OBJDIR)/cmdargs.o: cmdargs.c \
197                basecnst.h sysbase.h
198
199$(OBJDIR)/cmdparse.o: cmdparse.c \
200                basecnst.h sysbase.h erusrdef.h cpusrdef.h cperrors.h \
201                uiusrdef.h newgraph/gcusrdef.h
202
203$(OBJDIR)/cpar.o: cpar.c \
204                basecnst.h sysbase.h cpar.h
205
206$(OBJDIR)/earthloc.o: earthloc.c \
207                basecnst.h sysbase.h earthloc.h
208
209$(OBJDIR)/errmsg.o: errmsg.c \
210                basecnst.h sysbase.h erusrdef.h
211
212$(OBJDIR)/fftfiltr.o: fftfiltr.c \
213                basecnst.h sysbase.h shconst.h shvars.h erusrdef.h \
214                ffusrdef.h fctxmt.h flerrors.h numres.h
215
216$(OBJDIR)/fileopen.o: fileopen.c \
217                basecnst.h sysbase.h fousrdef.h foerrors.h
218
219$(OBJDIR)/incitheo.o: incitheo.c \
220                basecnst.h sysbase.h erusrdef.h itusrdef.h
221
222$(OBJDIR)/logplot.o: logplot.c \
223                basecnst.h sysbase.h newgraph/gcusrdef.h shconst.h lgusrdef.h
224
225$(OBJDIR)/matrixhd.o: matrixhd.c \
226                basecnst.h sysbase.h shconst.h mxusrdef.h
227
228$(OBJDIR)/numres.o: numres.c \
229                basecnst.h sysbase.h numres.h
230
231$(OBJDIR)/polfiltr.o: polfiltr.c \
232                basecnst.h sysbase.h shconst.h
233
234$(OBJDIR)/ptravtim.o: ptravtim.c \
235                basecnst.h sysbase.h erusrdef.h ptusrdef.h pterrors.h
236
237$(OBJDIR)/qfileio.o: qfileio.c \
238                basecnst.h sysbase.h qferrors.h qfusrdef.h
239
240$(OBJDIR)/qfintrfc.o: qfintrfc.c \
241                basecnst.h sysbase.h qfusrdef.h qiusrdef.h tcusrdef.h \
242                infoidx.h qierrors.h
243
244$(OBJDIR)/readgrn.o: readgrn.c \
245                basecnst.h sysbase.h tcusrdef.h utusrdef.h readgrn.h \
246                station_no.h
247
248$(OBJDIR)/recfiltr.o: recfiltr.c \
249                basecnst.h sysbase.h shconst.h shvars.h erusrdef.h \
250                rfusrdef.h flerrors.h
251
252$(OBJDIR)/seismhan.o: seismhan.c \
253                basecnst.h sysbase.h seusrdef.h shconst.h sherrors.h \
254                uierrors.h cpusrdef.h uiusrdef.h trusrdef.h \
255                newgraph/gcusrdef.h erusrdef.h fctxmn0.h fctxdm.h
256
257$(OBJDIR)/shcorr.o: shcorr.c \
258                basecnst.h sysbase.h shconst.h mxusrdef.h scusrdef.h scerrors.h
259
260$(OBJDIR)/shcursor.o: shcursor.c \
261                basecnst.h sysbase.h shvars.h newgraph/gcusrdef.h uiusrdef.h \
262                tcusrdef.h infoidx.h fctxcr.h fctxdm.h sherrors.h
263
264$(OBJDIR)/shdataba.o: shdataba.c \
265                basecnst.h sysbase.h shconst.h shvars.h qfusrdef.h qiusrdef.h \
266                tcusrdef.h newgraph/gcusrdef.h infoidx.h sherrors.h
267
268$(OBJDIR)/shdspmgr.o: shdspmgr.c \
269                basecnst.h sysbase.h shconst.h shvars.h newgraph/gcusrdef.h \
270                cpusrdef.h trusrdef.h tcusrdef.h infoidx.h fctxdm.h \
271                fctxsl.h sherrors.h
272
273$(OBJDIR)/shexec.o: shexec.c \
274                basecnst.h sysbase.h seusrdef.h cpusrdef.h fctxmn0.h fctxmn1.h \
275                fctxmn2.h fctxmn3.h fctxmn4.h fctxmn5.h fctxmni.h fctxmnx.h \
276                fctxdm.h fctxmt.h shvars.h erusrdef.h ssusrdef.h uiusrdef.h \
277                causrdef.h qiusrdef.h qfusrdef.h earthloc.h sherrors.h
278
279$(OBJDIR)/shhelp.o: shhelp.c \
280                basecnst.h sysbase.h ascii.h shconst.h newgraph/gcusrdef.h \
281                fctxhl.h fctxsl.h utusrdef.h sherrors.h
282
283$(OBJDIR)/shlib.o: shlib.c \
284                basecnst.h sysbase.h shconst.h utusrdef.h cpusrdef.h \
285                ssusrdef.h erusrdef.h trusrdef.h tcusrdef.h \
286                newgraph/gcusrdef.h fctxsl.h sserrors.h sherrors.h
287
288$(OBJDIR)/shmath.o: shmath.c \
289                basecnst.h sysbase.h shconst.h shvars.h glusrdef.h fctxmt.h \
290                numres.h sherrors.h
291
292$(OBJDIR)/shmenu0.o: shmenu0.c \
293                basecnst.h sysbase.h newgraph/gcusrdef.h shconst.h shvars.h \
294                cpusrdef.h uiusrdef.h utusrdef.h scusrdef.h ssusrdef.h \
295                glusrdef.h qfusrdef.h ttusrdef.h ptusrdef.h itusrdef.h \
296                erusrdef.h tcusrdef.h infoidx.h fctxmn0.h fctxhl.h fctxsl.h \
297                fctxdm.h sherrors.h sserrors.h earthloc.h
298
299$(OBJDIR)/shmenu1.o: shmenu1.c \
300                basecnst.h sysbase.h shconst.h shvars.h cpusrdef.h uiusrdef.h \
301                newgraph/gcusrdef.h qfusrdef.h qiusrdef.h ssusrdef.h \
302                erusrdef.h tcusrdef.h infoidx.h fctxml.h fctxsl.h fctxdm.h \
303                fctxmt.h fctxcr.h sherrors.h qferrors.h
304
305$(OBJDIR)/shmenu2.o: shmenu2.c \
306                basecnst.h sysbase.h shconst.h shvars.h cpusrdef.h rfusrdef.h \
307                ffusrdef.h scusrdef.h ssusrdef.h erusrdef.h qiusrdef.h \
308                qfusrdef.h uiusrdef.h newgraph/gcusrdef.h tcusrdef.h infoidx.h \
309                fctxcr.h fctxdm.h fctxsl.h fctxml.h fctxmn2.h sherrors.h
310
311$(OBJDIR)/shmenu3.o: shmenu3.c \
312                basecnst.h sysbase.h shconst.h shvars.h cpusrdef.h ttusrdef.h \
313                ptusrdef.h itusrdef.h utusrdef.h erusrdef.h glusrdef.h \
314                newgraph/gcusrdef.h infoidx.h fctxml.h fctxmt.h fctxsl.h \
315                fctxdm.h fctxmn3.h sherrors.h earthloc.h
316
317$(OBJDIR)/shmenu4.o: shmenu4.c \
318                basecnst.h sysbase.h shconst.h shvars.h cpusrdef.h pfusrdef.h \
319                erusrdef.h ssusrdef.h uiusrdef.h newgraph/gcusrdef.h \
320                infoidx.h fctxml.h fctxmt.h fctxsl.h fctxdm.h fctxmn4.h \
321                numres.h sherrors.h
322
323$(OBJDIR)/shmenu5.o: shmenu5.c \
324                basecnst.h sysbase.h shconst.h shvars.h cpusrdef.h utusrdef.h \
325                ffusrdef.h erusrdef.h newgraph/gcusrdef.h infoidx.h \
326                fctxml.h fctxsl.h fctxdm.h fctxmn5.h numres.h lgusrdef.h \
327                sherrors.h readgrn.h
328
329$(OBJDIR)/shmenuio.o: shmenuio.c \
330                basecnst.h sysbase.h newgraph/gcusrdef.h shconst.h shvars.h \
331                cpusrdef.h qfusrdef.h qiusrdef.h utusrdef.h erusrdef.h \
332                tcusrdef.h infoidx.h fctxml.h fctxsl.h foreign/shfrgn.h \
333                sherrors.h
334
335$(OBJDIR)/shmenux.o: shmenux.c \
336                basecnst.h sysbase.h shconst.h shvars.h cpusrdef.h glusrdef.h \
337                uiusrdef.h ssusrdef.h newgraph/gcusrdef.h ttusrdef.h \
338                tcusrdef.h infoidx.h fctxsl.h fctxdm.h fctxml.h fctxcr.h \
339                fctxmt.h fctxpm.h sherrors.h
340
341$(OBJDIR)/shmidlev.o: shmidlev.c \
342                basecnst.h sysbase.h shconst.h shvars.h cpusrdef.h utusrdef.h \
343                tcusrdef.h infoidx.h fctxsl.h fctxcr.h fctxml.h fctxdm.h \
344                sherrors.h
345
346$(OBJDIR)/shpm.o: shpm.c \
347                basecnst.h sysbase.h shconst.h newgraph/gcusrdef.h fctxsl.h \
348                fctxcr.h fctxpm.h sherrors.h
349
350$(OBJDIR)/shsymbol.o: shsymbol.c \
351                basecnst.h sysbase.h shconst.h shvars.h erusrdef.h cpusrdef.h \
352                sserrors.h ssusrdef.h
353
354$(OBJDIR)/shtransl.o: shtransl.c \
355                basecnst.h sysbase.h shconst.h shvars.h cpusrdef.h erusrdef.h \
356                trusrdef.h ssusrdef.h tcusrdef.h infoidx.h fctxsl.h fctxml.h \
357                fctxdm.h trerrors.h utusrdef.h sserrors.h sherrors.h
358
359$(OBJDIR)/statloc.o: statloc.c \
360                basecnst.h sysbase.h erusrdef.h glusrdef.h
361
362$(OBJDIR)/syscall.o: syscall.c \
363                sysbase.h syerrors.h readgrn.h
364
365$(OBJDIR)/timeconv.o: timeconv.c \
366                basecnst.h sysbase.h tcusrdef.h utusrdef.h tcerrors.h
367
368$(OBJDIR)/travtime.o: travtime.c \
369                basecnst.h sysbase.h numres.h erusrdef.h ttusrdef.h tterrors.h
370
371$(OBJDIR)/usrinpw.o: usrinpw.c \
372                basecnst.h sysbase.h newgraph/gcusrdef.h erusrdef.h \
373                utusrdef.h uiusrdef.h uierrors.h
374
375$(OBJDIR)/utility.o: utility.c \
376                basecnst.h sysbase.h uterrors.h utusrdef.h
377
378$(G_GRAPHCH_O): FORCE
379                cd $(@D); make $(@F)
380
381$(G_HPCH_O):    FORCE
382                cd $(@D); make $(@F)
383
384$(G_MEMCH_O):   FORCE
385                cd $(@D); make $(@F)
386
387$(G_MEMFILE_O): FORCE
388                cd $(@D); make $(@F)
389
390$(G_PSCH_O):    FORCE
391                cd $(@D); make $(@F)
392
393$(G_XWCH_O):    FORCE
394                cd $(@D); make $(@F)
395
396$(F_SH_GSE_O):  FORCE
397                cd $(@D); make $(@F)
398
399$(F_SH_NEIC_O): FORCE
400                cd $(@D); make $(@F)
401
402$(F_SHFRGN_O):  FORCE
403                cd $(@D); make $(@F)
404
405FORCE:
406
407util:
408                cd ../util; make
Note: See TracBrowser for help on using the repository browser.