File: makefile.mpw

package info (click to toggle)
ftnchek 3.3.1-4
  • links: PTS
  • area: main
  • in suites: lenny, squeeze, wheezy
  • size: 8,488 kB
  • ctags: 5,960
  • sloc: ansic: 21,908; fortran: 5,748; yacc: 4,071; sh: 3,035; makefile: 895; lisp: 322; f90: 118; perl: 76
file content (162 lines) | stat: -rw-r--r-- 4,192 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# Macintosh Programmer's Workshop (MPW) version of Makefile
# for Fortran program checker.  Execution requires Absoft C compiler.
# Should be easy to convert to MPW C.

# For shipping purposes, Mac special characters have been changed, and
# must be restored as follows
#	Replace \ with option-d
#	Replace : with option-f

#    Copyright (C) 1991-2001 by Robert K. Moniot.
#    This program is free software.  Permission is granted to
#    modify it and/or redistribute it, retaining this notice.
#    No guarantees accompany this software.

### MAKEFILE PREAMBLE ###

TargetName   =  ftnchek
Makefile     =  Makefile

# Power Macintosh tools and default settings 

c_ppc            = "{AbsoftTools}ACC" -A  -c
c_ppc_opts       =  -O -N92

# Object and resource files used for this build

PPC_LIBS =  \
 "{AbsoftLibraries}mrwe_stubs.o" \
 "{AbsoftLibraries}libfio.o" \
 "{AbsoftLibraries}libfmath.o"

PPC_OBJECTS = \
 "fortran.o" \
 "advance.o" \
 "argcheck.o" \
 "calltree.o" \
 "comcheck.o" \
 "exprtype.o" \
 "forlex.o" \
 "ftnchek.o" \
 "include.o" \
 "intake.o" \
 "intrins.o" \
 "iokeywds.o" \
 "keywords.o" \
 "labels.o" \
 "loccheck.o" \
 "makedcls.o" \
 "makehtml.o" \
 "message.o" \
 "options.o" \
 "pgsymtab.o" \
 "plsymtab.o" \
 "prlists.o" \
 "prlocsym.o" \
 "project.o" \
  "symspace.o" \
 "symtab.o" \
 "symutils.o \
 "utils.o"

# Linkage rule

"{TargetName}" :: {PPC_OBJECTS} {makefile}
 lnk -O  -aliases "{AbsoftLibraries}"absoft_aliases \
    -o "{TargetName}" {PPC_OBJECTS} {PPC_LIBS} \
    -c 'MPS ' -t MPST \
    "{AbsoftLibraries}absoft_init.o" \
    "{AbsoftLibraries}ACLib.o" \
    "{PPCLibraries}StdCRuntime.o" \
    "{SharedLibraries}StdCLib" \
    "{SharedLibraries}InterfaceLib"


# Compilation rules

"fortran.o" : "fortran.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "fortran.o" fortran.c

"advance.o" : "advance.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "advance.o" advance.c

"argcheck.o" : "argcheck.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "argcheck.o" argcheck.c

"calltree.o" : "calltree.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "calltree.o" calltree.c

"comcheck.o" : "comcheck.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "comcheck.o" comcheck.c

"exprtype.o" : "exprtype.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "exprtype.o" exprtype.c

"forlex.o" : "forlex.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "forlex.o" forlex.c

"ftnchek.o" : "ftnchek.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "ftnchek.o" ftnchek.c

"include.o" : "include.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "include.o" include.c

"intake.o" : "intake.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "intake.o" intake.c

"intrins.o" : "intrins.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "intrins.o" intrins.c

"iokeywds.o:" : "iokeywds.c"  {makefile}
 {c_ppc} {c_ppc_opts} -o "iokeywds.o" iokeywds.c

"keywords.o" : "keywords.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "keywords.o" keywords.c

"labels.o" : "labels.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "labels.o" labels.c

"loccheck.o" : "loccheck.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "loccheck.o" loccheck.c

"makedcls.o" : "makedcls.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "makedcls.o" makedcls.c

"makehtml.o" : "makehtml.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "makehtml.o" makehtml.c

"message.o" : "message.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "message.o" message.c

"options.o" : "options.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "options.o" options.c

"pgsymtab.o" : "pgsymtab.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "pgsymtab.o" pgsymtab.c

"plsymtab.o" : "plsymtab.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "plsymtab.o" plsymtab.c

"prlists.o" : "prlists.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "prlists.o" prlists.c

"prlocsym.o" : "prlocsym.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "prlocsym.o" prlocsym.c

"project.o" : "project.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "project.o" project.c

"symspace.o" : "symspace.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "symspace.o" symspace.c

"symtab.o" : "symtab.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "symtab.o" symtab.c

"symutils.o" : "symutils.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "symutils.o" symutils.c

"utils.o" : "utils.c" {makefile}
 {c_ppc} {c_ppc_opts} -o "utils.o" utils.c

clean :
 Delete -i "{TargetName}" {PPC_OBJECTS}