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

Subversion Repositories or1k

[/] [or1k/] [branches/] [oc/] [gdb-5.0/] [sim/] [common/] [Makefile.in] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
#    Makefile template for Configure for simulator common directory
2
#    Copyright (C) 1996, 1997 Free Software Foundation, Inc.
3
#
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 2 of the License, or
7
# (at your option) any later version.
8
#
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
# GNU General Public License for more details.
13
#
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, write to the Free Software
16
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
 
18
default: all
19
 
20
VPATH = @srcdir@
21
srcdir = @srcdir@
22
srcroot = $(srcdir)/../..
23
 
24
prefix = @prefix@
25
exec_prefix = @exec_prefix@
26
 
27
host_alias = @host_alias@
28
target_alias = @target_alias@
29
program_transform_name = @program_transform_name@
30
bindir = @bindir@
31
 
32
libdir = @libdir@
33
tooldir = $(libdir)/$(target_alias)
34
 
35
datadir = @datadir@
36
mandir = @mandir@
37
man1dir = $(mandir)/man1
38
infodir = @infodir@
39
includedir = @includedir@
40
 
41
SHELL = /bin/sh
42
 
43
INSTALL = @INSTALL@
44
INSTALL_PROGRAM = @INSTALL_PROGRAM@
45
INSTALL_DATA = @INSTALL_DATA@
46
 
47
CC = @CC@
48
CC_FOR_BUILD = @CC_FOR_BUILD@
49
CFLAGS = @CFLAGS@
50
SIM_CFLAGS = @sim_cflags@
51
 
52
# These are used to rebuild nltvals.def.
53
CPP_FOR_TARGET = @CPP_FOR_TARGET@
54
TARGET_SUBDIR = @TARGET_SUBDIR@
55
 
56
HDEFINES = @HDEFINES@
57
TDEFINES =
58
 
59
CONFIG_CFLAGS = @DEFS@ $(SIM_CFLAGS) $(HDEFINES) $(TDEFINES)
60
CSEARCH = -I. -I$(srcdir) -I$(srcroot)/include
61
ALL_CFLAGS = $(CFLAGS) $(CONFIG_CFLAGS) $(CSEARCH)
62
BUILD_CFLAGS = -g -O $(CSEARCH)
63
 
64
AR = @AR@
65
AR_FLAGS = rc
66
RANLIB = @RANLIB@
67
MAKEINFO = makeinfo
68
 
69
.NOEXPORT:
70
MAKEOVERRIDES=
71
 
72
all:
73
 
74
# Generate TARG_VALS_H for newlib/libgloss using devo and build tree.
75
# This file is shipped with distributions so we build in the source dir.
76
# This is built in srcdir so putting dependencies here is risky.
77
# Use `make headers' to rebuild.
78
headers: nltvals.def
79
.PHONY: headers
80
 
81
# Note: If gdb releases begin to contain target header files, generate
82
# targ-vals.def at build time.
83
 
84
nltvals.def: Makefile gennltvals.sh gentvals.sh
85
        rootme=`pwd` ; \
86
        cd $(srcdir) ; \
87
        rm -f nltvals.new ; \
88
        $(SHELL) $(srcdir)/gennltvals.sh $(SHELL) $(srcroot) "$(CPP_FOR_TARGET)" > nltvals.new ; \
89
        $(SHELL) $(srcroot)/move-if-change nltvals.new nltvals.def
90
 
91
.c.o:
92
        $(CC) -c $< $(ALL_CFLAGS)
93
 
94
check:
95
 
96
info:
97
clean-info:
98
install-info:
99
 
100
tags etags: TAGS
101
 
102
# Macros like EXTERN_SIM_CORE confuse tags.
103
# And the sim-n-foo.h files create functions that can't be found either.
104
TAGS: force
105
        cd $(srcdir) && \
106
        etags --regex '/^\([a-z_]+\) (/\1/' --regex '/^.*\/[*] TAGS: .*/' \
107
                *.c *.h
108
 
109
clean:
110
        rm -f *.[oa] *~ core
111
        rm -f $(ALL)
112
 
113
distclean mostlyclean maintainer-clean realclean: clean
114
        rm -f TAGS
115
        rm -f Makefile config.cache config.log config.status
116
        rm -f config.h stamp-h
117
 
118
# Dummy target to force execution of dependent targets.
119
force:
120
 
121
# Copy the files into directories where they will be run.
122
install:
123
 
124
install-man: installdirs
125
        n=`echo run | sed '$(program_transform_name)'`; \
126
        $(INSTALL_DATA) $(srcdir)/run.1 $(man1dir)/$$n.1
127
 
128
installdirs:
129
        $(SHELL) $(srcdir)/../../mkinstalldirs $(man1dir)
130
 
131
Makefile: Makefile.in config.status
132
        $(SHELL) ./config.status
133
 
134
config.status: configure
135
        $(SHELL) ./config.status --recheck
136
 
137
config.h: stamp-h ; @true
138
stamp-h: config.in config.status
139
        CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status

powered by: WebSVN 2.1.0

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