1 |
1181 |
sfurman |
# Generated automatically from Makefile.in by configure.
|
2 |
|
|
#Copyright 1989, 1990, 1991, 1992, 1993, 1995 Free Software Foundation, Inc.
|
3 |
|
|
|
4 |
|
|
# This file is part of GDB.
|
5 |
|
|
|
6 |
|
|
# This program is free software; you can redistribute it and/or modify
|
7 |
|
|
# it under the terms of the GNU General Public License as published by
|
8 |
|
|
# the Free Software Foundation; either version 2 of the License, or
|
9 |
|
|
# (at your option) any later version.
|
10 |
|
|
#
|
11 |
|
|
# This program is distributed in the hope that it will be useful,
|
12 |
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
|
|
# GNU General Public License for more details.
|
15 |
|
|
#
|
16 |
|
|
# You should have received a copy of the GNU General Public License
|
17 |
|
|
# along with this program; if not, write to the Free Software
|
18 |
|
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
19 |
|
|
|
20 |
|
|
prefix = /usr/local
|
21 |
|
|
exec_prefix = ${prefix}
|
22 |
|
|
|
23 |
|
|
host_alias = sun4
|
24 |
|
|
target_alias = sun4
|
25 |
|
|
program_transform_name = s,x,x,
|
26 |
|
|
bindir = $(exec_prefix)/bin
|
27 |
|
|
libdir = $(exec_prefix)/lib
|
28 |
|
|
tooldir = $(libdir)/$(target_alias)
|
29 |
|
|
|
30 |
|
|
datadir = $(prefix)/share
|
31 |
|
|
mandir = $(prefix)/man
|
32 |
|
|
man1dir = $(mandir)/man1
|
33 |
|
|
man2dir = $(mandir)/man2
|
34 |
|
|
man3dir = $(mandir)/man3
|
35 |
|
|
man4dir = $(mandir)/man4
|
36 |
|
|
man5dir = $(mandir)/man5
|
37 |
|
|
man6dir = $(mandir)/man6
|
38 |
|
|
man7dir = $(mandir)/man7
|
39 |
|
|
man8dir = $(mandir)/man8
|
40 |
|
|
man9dir = $(mandir)/man9
|
41 |
|
|
infodir = $(prefix)/info
|
42 |
|
|
includedir = $(prefix)/include
|
43 |
|
|
|
44 |
|
|
SHELL = /bin/sh
|
45 |
|
|
|
46 |
|
|
INSTALL = /bin/sh /sourceware/snapshot-tmp/gdbadmin-tmp/gdb_5_3-branch/5.3/gdb/src/install-sh -c
|
47 |
|
|
INSTALL_PROGRAM = /bin/sh /sourceware/snapshot-tmp/gdbadmin-tmp/gdb_5_3-branch/5.3/gdb/src/install-sh -c
|
48 |
|
|
INSTALL_DATA = /bin/sh /sourceware/snapshot-tmp/gdbadmin-tmp/gdb_5_3-branch/5.3/gdb/src/install-sh -c -m 644
|
49 |
|
|
|
50 |
|
|
CC=gcc
|
51 |
|
|
|
52 |
|
|
# Directory containing source files.
|
53 |
|
|
srcdir = .././sparclite
|
54 |
|
|
VPATH = .././sparclite
|
55 |
|
|
|
56 |
|
|
# Where is the "include" directory? Traditionally ../include or ./include
|
57 |
|
|
INCLUDE_DIR = ${srcdir}/../../include
|
58 |
|
|
|
59 |
|
|
# Where is the "-liberty" library? Typically in ../libiberty.
|
60 |
|
|
LIBIBERTY = ../../libiberty/libiberty.a
|
61 |
|
|
|
62 |
|
|
# Where is the BFD library? Typically in ../../bfd.
|
63 |
|
|
BFD_DIR = ../../bfd
|
64 |
|
|
BFD = $(BFD_DIR)/libbfd.a
|
65 |
|
|
BFD_SRC = $(srcdir)/$(BFD_DIR)
|
66 |
|
|
BFD_CFLAGS = -I$(BFD_DIR) -I(BFD_SRC)
|
67 |
|
|
|
68 |
|
|
# All the includes used for CFLAGS and for lint.
|
69 |
|
|
# -I. for config files.
|
70 |
|
|
# -I${srcdir} possibly for regex.h also.
|
71 |
|
|
INCLUDE_CFLAGS = -I. -I${srcdir} -I$(INCLUDE_DIR)
|
72 |
|
|
|
73 |
|
|
# CFLAGS is specifically reserved for setting from the command line
|
74 |
|
|
# when running make. I.E. "make USER_CFLAGS=-Wmissing-prototypes".
|
75 |
|
|
CFLAGS = -g
|
76 |
|
|
|
77 |
|
|
# INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
|
78 |
|
|
INTERNAL_CFLAGS = $(CFLAGS) -I$(BFD_DIR) $(INCLUDE_CFLAGS) $(USER_CFLAGS) -DHAVE_TERMIOS=1 -DHAVE_TERMIO=1 -DHAVE_SGTTY=1
|
79 |
|
|
# None of the things in CFLAGS will do any harm, and on some systems
|
80 |
|
|
# (e.g. SunOS4) it is important to use the MH_CFLAGS.
|
81 |
|
|
LDFLAGS = $(CFLAGS)
|
82 |
|
|
|
83 |
|
|
# Libraries and corresponding dependencies for compiling gdb.
|
84 |
|
|
CLIBS = ${BFD} ${LIBIBERTY}
|
85 |
|
|
CDEPS = ${BFD} ${LIBIBERTY}
|
86 |
|
|
|
87 |
|
|
# Prevent Sun make from putting in the machine type. Setting
|
88 |
|
|
# TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
|
89 |
|
|
.c.o:
|
90 |
|
|
${CC} -c ${INTERNAL_CFLAGS} $<
|
91 |
|
|
|
92 |
|
|
PROGS = aload eload
|
93 |
|
|
|
94 |
|
|
.PHONY: all info install install-info
|
95 |
|
|
|
96 |
|
|
all: $(PROGS)
|
97 |
|
|
|
98 |
|
|
info:
|
99 |
|
|
|
100 |
|
|
# This does not use program_transform_name because there only needs to
|
101 |
|
|
# be one aload. Even if aload ends up being useful for more than one
|
102 |
|
|
# target, perhaps one aload binary can be useful with all of them.
|
103 |
|
|
# FIXME: not true, there can be both aout and coff loaders.
|
104 |
|
|
install: $(PROGS)
|
105 |
|
|
if [ "$(PROGS)" != "" ]; then \
|
106 |
|
|
for i in $(PROGS) ""; do \
|
107 |
|
|
$(INSTALL_PROGRAM) $$i $(bindir)/$$i; \
|
108 |
|
|
done; \
|
109 |
|
|
fi
|
110 |
|
|
|
111 |
|
|
install-info:
|
112 |
|
|
|
113 |
|
|
aload: aload.o
|
114 |
|
|
$(CC) $(CFLAGS) -o aload aload.o $(CLIBS)
|
115 |
|
|
|
116 |
|
|
eload: eload.o
|
117 |
|
|
$(CC) $(CFLAGS) -o eload eload.o $(CLIBS)
|
118 |
|
|
|
119 |
|
|
aload.o: aload.c
|
120 |
|
|
|
121 |
|
|
eload.o: eload.c
|
122 |
|
|
|
123 |
|
|
mostlyclean:
|
124 |
|
|
|
125 |
|
|
clean: mostlyclean
|
126 |
|
|
rm -f *.o $(PROGS)
|
127 |
|
|
|
128 |
|
|
distclean: clean
|
129 |
|
|
rm -f config.log config.cache
|
130 |
|
|
|
131 |
|
|
maintainer-clean realclean: distclean
|
132 |
|
|
|
133 |
|
|
Makefile: Makefile.in config.status
|
134 |
|
|
$(SHELL) config.status
|
135 |
|
|
|
136 |
|
|
config.status: configure
|
137 |
|
|
$(SHELL) config.status --recheck
|
138 |
|
|
|