]>
Commit | Line | Data |
---|---|---|
e7c4e61c SS |
1 | # Makefile template for Configure for the opcodes library. |
2 | # Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc. | |
3 | # Written by Cygnus Support. | |
4 | # | |
5 | # This program is free software; you can redistribute it and/or modify | |
6 | # it under the terms of the GNU General Public License as published by | |
7 | # the Free Software Foundation; either version 2 of the License, or | |
8 | # (at your option) any later version. | |
9 | # | |
10 | # This program is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | # GNU General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU General Public License | |
16 | # along with this program; if not, write to the Free Software | |
17 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
18 | ||
19 | s = "{srcdir}" | |
20 | o = : | |
21 | ||
22 | CC = C -d MPW_C | |
23 | ||
d1463af1 | 24 | "{o}" \Option-f : "{s}" |
e7c4e61c SS |
25 | |
26 | # Default rule that puts each file into separate segment. | |
27 | ||
d1463af1 | 28 | .c.o \Option-f .c |
e7c4e61c SS |
29 | {CC} {DepDir}{Default}.c {ALL_CFLAGS} {SymOptions} -s {Default} -o {TargDir}{Default}.c.o |
30 | ||
31 | HDEFINES = | |
32 | TDEFINES = | |
33 | CSWITCHES = | |
34 | SymOptions = | |
35 | ||
36 | prefix = :usr:local | |
37 | ||
38 | exec_prefix = {prefix} | |
39 | bindir = {exec_prefix}:bin | |
40 | libdir = {exec_prefix}:lib | |
41 | ||
42 | datadir = {prefix}:lib | |
43 | mandir = {prefix}:man | |
44 | man1dir = {mandir}:man1 | |
45 | man2dir = {mandir}:man2 | |
46 | man3dir = {mandir}:man3 | |
47 | man4dir = {mandir}:man4 | |
48 | man5dir = {mandir}:man5 | |
49 | man6dir = {mandir}:man6 | |
50 | man7dir = {mandir}:man7 | |
51 | man8dir = {mandir}:man8 | |
52 | man9dir = {mandir}:man9 | |
53 | infodir = {prefix}:info | |
54 | includedir = {prefix}:include | |
55 | oldincludedir = | |
56 | docdir = {srcdir}:doc | |
57 | ||
58 | SHELL = :bin:sh | |
59 | ||
60 | INSTALL = install -c | |
61 | INSTALL_PROGRAM = {INSTALL} | |
62 | INSTALL_DATA = {INSTALL} | |
63 | ||
64 | AR = ar | |
65 | AR_FLAGS = qc | |
66 | CFLAGS = -g | |
67 | BISON = bison | |
68 | MAKEINFO = makeinfo | |
69 | RANLIB = ranlib | |
70 | ||
71 | INCDIR = "{topsrcdir}"include | |
72 | BFDDIR = "{topsrcdir}"bfd | |
8ab58834 | 73 | CSEARCH = -i {INCDIR},{INCDIR}:,{BFDDIR}:,::bfd:,"{INCDIR}":mpw: |
e7c4e61c SS |
74 | DEP = mkdep |
75 | ||
76 | ALL_CFLAGS = -mc68020 -mc68881 -model far {CSEARCH} | |
77 | ||
78 | TARGETLIB = libopcodes.o | |
79 | ||
80 | # To circumvent a Sun make VPATH bug, each file listed here | |
81 | # should also have a foo.o: foo.c line further along in this file. | |
82 | ||
83 |