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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.3/] [utils/] [Makefile.tpl] - Blame information for rev 1781

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

Line No. Rev Author Line
1 1181 sfurman
[+ AutoGen5 template
2
# Makefile.tpl
3
# Run 'autogen Makefile.def' in the same directory to regenerate Makefile.in
4
#
5
# This file is mostly an ordinary Makefile.in.
6
# Certain repetitive sections are generated by autogen;
7
# the parts with [+ and +] around them are the macros.
8
#
9
# Use .in as the suffix for the generated file
10
in
11
# make sure we don't use csh:
12
(setenv "SHELL" "/bin/sh")
13
+]
14
 
15
#
16
# Makefile.tpl, Makefile.in, Makefile
17
#   Copyright 2002 Free Software Foundation
18
#
19
# This file is part of GDB.
20
#
21
# This file is free software; you can redistribute it and/or modify
22
# it under the terms of the GNU General Public License as published by
23
# the Free Software Foundation; either version 2 of the License, or
24
# (at your option) any later version.
25
#
26
# This program is distributed in the hope that it will be useful,
27
# but WITHOUT ANY WARRANTY; without even the implied warranty of
28
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
29
# GNU General Public License for more details.
30
#
31
# You should have received a copy of the GNU General Public License
32
# along with this program; if not, write to the Free Software
33
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
34
 
35
SHELL = /bin/sh
36
 
37
prefix = @prefix@
38
exec_prefix = @exec_prefix@
39
bindir = @bindir@
40
libdir = @libdir@
41
datadir = @datadir@
42
mandir = @mandir@
43
infodir = @infodir@
44
includedir = @includedir@
45
srcdir = @srcdir@
46
abs_srcdir = @abs_srcdir@
47
 
48
man1dir = $(mandir)/man1
49
man2dir = $(mandir)/man2
50
man3dir = $(mandir)/man3
51
man4dir = $(mandir)/man4
52
man5dir = $(mandir)/man5
53
man6dir = $(mandir)/man6
54
man7dir = $(mandir)/man7
55
man8dir = $(mandir)/man8
56
man9dir = $(mandir)/man9
57
tooldir = $(exec_prefix)
58
 
59
subconfigure_args = @subconfigure_args@
60
 
61
# Should it be INSTALL = @INSTALL@ -c ?
62
# The old makefile passed the -c argument.
63
INSTALL = @INSTALL@
64
INSTALL_PROGRAM = $(INSTALL)
65
INSTALL_DATA = $(INSTALL)
66
 
67
# public targets
68
all: @all_subdirs@
69
install: @install_subdirs@
70
 
71
mostlyclean: @mostlyclean_subdirs@
72
clean: @clean_subdirs@
73
 
74
# These should always clean all sudirectories...
75
distclean: [+ FOR subdirs +]distclean-[+subdir+] [+ ENDFOR subdirs +]
76
maintainer-clean: [+ FOR subdirs +]maintainer-clean-[+subdir+] [+ ENDFOR subdirs +]
77
clean mostlyclean:
78
        -rm -f *~ core *.o a.out
79
maintainer-clean distclean:
80
        -rm -f Makefile config.status config.log config.cache *~ core *.o a.out
81
 
82
info:
83
install-info:
84
clean-info:
85
dvi:
86
 
87
.PHONY: all install clean mostlyclean distclean maintainer-clean
88
.PHONY: info install-info clean-info dvi
89
.NOEXPORT:
90
 
91
# Rules for regenerating this Makefile
92
Makefile: $(srcdir)/Makefile.in config.status
93
        ./config.status
94
 
95
$(srcdir)/Makefile.in: $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
96
        cd $(srcdir) && autogen Makefile.def
97
 
98
config.status: $(srcdir)/configure
99
        ./config.status --recheck
100
 
101
$(srcdir)/configure: $(srcdir)/configure.in
102
        cd $(srcdir) && autoconf
103
 
104
# Miscellaneous variable setting
105
AR_FLAGS = qv
106
FLAGS_TO_PASS = \
107
        "CC=$(CC)" \
108
        "CFLAGS=$(CFLAGS)" \
109
        "AR=$(AR)" \
110
        "AR_FLAGS=$(AR_FLAGS)" \
111
        "AS=$(AS)" \
112
        "CROSS_CFLAGS=$(CROSS_CFLAGS)" \
113
        "TARGET_CFLAGS=$(TARGET_CFLAGS)" \
114
        "INCLUDES=$(INCLUDES)"
115
 
116
# Everything from here on down is generated by FOR loops in autogen.
117
[+ FOR targets +]
118
# Glue for [+target+].
119
[+ FOR subdirs +]
120
[+target+]-[+subdir+]: configure-[+subdir+]
121
        [+makeline_flag+]cd [+subdir+] && $(MAKE) [+target_flags+] [+target+]
122
.PHONY: [+target+]-[+subdir+]
123
[+ ENDFOR subdirs +][+ ENDFOR targets +]
124
# Glue for configure.
125
[+ FOR subdirs +]
126
configure-[+subdir+]: [+subdir+]/Makefile
127
[+subdir+]/Makefile: config.status
128
        test -d [+subdir+] || mkdir [+subdir+] ; \
129
        cd [+subdir+] && $(abs_srcdir)/[+subdir+]/configure $(subconfigure_args)
130
.PHONY: configure-[+subdir+]
131
[+ ENDFOR subdirs +]

powered by: WebSVN 2.1.0

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