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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gdb/] [gdb-6.8/] [sim/] [common/] [Makefile.in] - Blame information for rev 26

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 26 jlechner
#    Makefile template for Configure for simulator common directory
2
#    Copyright (C) 1996, 1997, 2007, 2008 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 3 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, see .
16
 
17
default: all
18
 
19
VPATH = @srcdir@
20
srcdir = @srcdir@
21
srcroot = $(srcdir)/../..
22
 
23
prefix = @prefix@
24
exec_prefix = @exec_prefix@
25
 
26
host_alias = @host_alias@
27
target_alias = @target_alias@
28
program_transform_name = @program_transform_name@
29
bindir = @bindir@
30
 
31
libdir = @libdir@
32
tooldir = $(libdir)/$(target_alias)
33
 
34
datadir = @datadir@
35
mandir = @mandir@
36
man1dir = $(mandir)/man1
37
infodir = @infodir@
38
includedir = @includedir@
39
 
40
SHELL = /bin/sh
41
 
42
INSTALL = @INSTALL@
43
INSTALL_PROGRAM = @INSTALL_PROGRAM@
44
INSTALL_DATA = @INSTALL_DATA@
45
 
46
CC = @CC@
47
CC_FOR_BUILD = @CC_FOR_BUILD@
48
CFLAGS = @CFLAGS@
49
SIM_CFLAGS = @sim_cflags@
50
 
51
# These are used to rebuild nltvals.def.
52
CPP_FOR_TARGET = @CPP_FOR_TARGET@
53
TARGET_SUBDIR = @TARGET_SUBDIR@
54
 
55
HDEFINES = @HDEFINES@
56
TDEFINES =
57
 
58
CONFIG_CFLAGS = @DEFS@ $(SIM_CFLAGS) $(HDEFINES) $(TDEFINES)
59
CSEARCH = -I. -I$(srcdir) -I$(srcroot)/include
60
ALL_CFLAGS = $(CFLAGS) $(CONFIG_CFLAGS) $(CSEARCH)
61
BUILD_CFLAGS = -g -O $(CSEARCH)
62
 
63
AR = @AR@
64
AR_FLAGS = rc
65
RANLIB = @RANLIB@
66
MAKEINFO = makeinfo
67
 
68
.NOEXPORT:
69
MAKEOVERRIDES=
70
 
71
all:
72
 
73
# Generate nltvals.def for newlib/libgloss using devo and build tree.
74
# This file is shipped with distributions so we build in the source dir.
75
# Use `make headers' to rebuild.
76
# Note: If gdb releases begin to contain target header files (not a good idea,
77
# but if they did ...), targ-vals.def coud be generated at build time.
78
# An alternative is to slurp in the tables at runtime.
79
.PHONY: headers
80
headers:
81
        rootme=`pwd` ; \
82
        cd $(srcdir) ; \
83
        rm -f nltvals.new ; \
84
        $(SHELL) $(srcdir)/gennltvals.sh $(SHELL) $(srcroot) "$(CPP_FOR_TARGET)" > nltvals.new ; \
85
        $(SHELL) $(srcroot)/move-if-change nltvals.new nltvals.def
86
 
87
.c.o:
88
        $(CC) -c $< $(ALL_CFLAGS)
89
 
90
check:
91
 
92
info:
93
clean-info:
94
install-info:
95
 
96
tags etags: TAGS
97
 
98
# Macros like EXTERN_SIM_CORE confuse tags.
99
# And the sim-n-foo.h files create functions that can't be found either.
100
TAGS: force
101
        cd $(srcdir) && \
102
        etags --regex '/^\([a-z_]+\) (/\1/' --regex '/^.*\/[*] TAGS: .*/' \
103
                *.c *.h
104
 
105
clean:
106
        rm -f *.[oa] *~ core
107
 
108
distclean mostlyclean maintainer-clean realclean: clean
109
        rm -f TAGS
110
        rm -f Makefile config.cache config.log config.status
111
        rm -f cconfig.h config.h stamp-h
112
 
113
# Dummy target to force execution of dependent targets.
114
force:
115
 
116
# Copy the files into directories where they will be run.
117
install: install-man
118
 
119
install-man: installdirs
120
        n=`echo run | sed '$(program_transform_name)'`; \
121
        $(INSTALL_DATA) $(srcdir)/run.1 $(DESTDIR)$(man1dir)/$$n.1
122
 
123
installdirs:
124
        $(SHELL) $(srcdir)/../../mkinstalldirs $(DESTDIR)$(man1dir)
125
 
126
Makefile: Makefile.in config.status
127
        $(SHELL) ./config.status
128
 
129
config.status: configure
130
        $(SHELL) ./config.status --recheck
131
 
132
config.h: stamp-h ; @true
133
stamp-h: config.in config.status
134
        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.