OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [start/] [gdb-5.0/] [utils/] [sparclite/] [Makefile.in] - Blame information for rev 579

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
#Copyright 1989, 1990, 1991, 1992, 1993, 1995 Free Software Foundation, Inc.
2
 
3
# This file is part of GDB.
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
prefix = @prefix@
20
exec_prefix = @exec_prefix@
21
 
22
host_alias = @host_alias@
23
target_alias = @target_alias@
24
program_transform_name = @program_transform_name@
25
bindir = $(exec_prefix)/bin
26
libdir = $(exec_prefix)/lib
27
tooldir = $(libdir)/$(target_alias)
28
 
29
datadir = $(prefix)/share
30
mandir = $(prefix)/man
31
man1dir = $(mandir)/man1
32
man2dir = $(mandir)/man2
33
man3dir = $(mandir)/man3
34
man4dir = $(mandir)/man4
35
man5dir = $(mandir)/man5
36
man6dir = $(mandir)/man6
37
man7dir = $(mandir)/man7
38
man8dir = $(mandir)/man8
39
man9dir = $(mandir)/man9
40
infodir = $(prefix)/info
41
includedir = $(prefix)/include
42
 
43
SHELL = /bin/sh
44
 
45
INSTALL = @INSTALL@
46
INSTALL_PROGRAM = @INSTALL_PROGRAM@
47
INSTALL_DATA = @INSTALL_DATA@
48
 
49
CC=@CC@
50
 
51
# Directory containing source files.
52
srcdir = @srcdir@
53
VPATH = @srcdir@
54
 
55
# Where is the "include" directory?  Traditionally ../include or ./include
56
INCLUDE_DIR =  ${srcdir}/../../include
57
 
58
# Where is the "-liberty" library?  Typically in ../libiberty.
59
LIBIBERTY = ../../libiberty/libiberty.a
60
 
61
# Where is the BFD library?  Typically in ../../bfd.
62
BFD_DIR =  ../../bfd
63
BFD = $(BFD_DIR)/libbfd.a
64
BFD_SRC = $(srcdir)/$(BFD_DIR)
65
BFD_CFLAGS = -I$(BFD_DIR) -I(BFD_SRC)
66
 
67
# All the includes used for CFLAGS and for lint.
68
# -I. for config files.
69
# -I${srcdir} possibly for regex.h also.
70
INCLUDE_CFLAGS = -I. -I${srcdir} -I$(INCLUDE_DIR)
71
 
72
# CFLAGS is specifically reserved for setting from the command line
73
# when running make.  I.E.  "make USER_CFLAGS=-Wmissing-prototypes".
74
CFLAGS = -g
75
 
76
# INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
77
INTERNAL_CFLAGS = $(CFLAGS) -I$(BFD_DIR) $(INCLUDE_CFLAGS) $(USER_CFLAGS) @DEFS@
78
# None of the things in CFLAGS will do any harm, and on some systems
79
#  (e.g. SunOS4) it is important to use the MH_CFLAGS.
80
LDFLAGS = $(CFLAGS)
81
 
82
# Libraries and corresponding dependencies for compiling gdb.
83
CLIBS = ${BFD} ${LIBIBERTY}
84
CDEPS = ${BFD} ${LIBIBERTY}
85
 
86
# Prevent Sun make from putting in the machine type.  Setting
87
# TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
88
.c.o:
89
        ${CC} -c ${INTERNAL_CFLAGS} $<
90
 
91
PROGS = @PROGS@
92
 
93
.PHONY: all info install install-info
94
 
95
all: $(PROGS)
96
 
97
info:
98
 
99
# This does not use program_transform_name because there only needs to
100
# be one aload.  Even if aload ends up being useful for more than one
101
# target, perhaps one aload binary can be useful with all of them.
102
# FIXME: not true, there can be both aout and coff loaders.
103
install: $(PROGS)
104
        if [ "$(PROGS)" != "" ]; then \
105
                for i in $(PROGS) ""; do \
106
                        $(INSTALL_PROGRAM) $$i $(bindir)/$$i; \
107
                done; \
108
        fi
109
 
110
install-info:
111
 
112
aload:  aload.o
113
        $(CC) $(CFLAGS) -o aload aload.o $(CLIBS)
114
 
115
eload:  eload.o
116
        $(CC) $(CFLAGS) -o eload eload.o $(CLIBS) @NETLIBS@
117
 
118
aload.o: aload.c
119
 
120
eload.o: eload.c
121
 
122
mostlyclean:
123
 
124
clean:          mostlyclean
125
        rm -f *.o $(PROGS)
126
 
127
distclean:      clean
128
        rm -f config.log config.cache
129
 
130
maintainer-clean realclean:     distclean
131
 
132
Makefile: Makefile.in config.status
133
        $(SHELL) config.status
134
 
135
config.status: configure
136
        $(SHELL) config.status --recheck
137
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.