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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [nlm/] [Makefile.in] - Blame information for rev 578

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

Line No. Rev Author Line
1 578 markom
#Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1999
2
#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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
 
20
srcdir = @srcdir@
21
VPATH = @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
libdir = @libdir@
31
tooldir = $(libdir)/$(target_alias)
32
 
33
datadir = @datadir@
34
mandir = @mandir@
35
man1dir = $(mandir)/man1
36
man2dir = $(mandir)/man2
37
man3dir = $(mandir)/man3
38
man4dir = $(mandir)/man4
39
man5dir = $(mandir)/man5
40
man6dir = $(mandir)/man6
41
man7dir = $(mandir)/man7
42
man8dir = $(mandir)/man8
43
man9dir = $(mandir)/man9
44
infodir = @infodir@
45
htmldir = $(prefix)/html
46
includedir = @includedir@
47
 
48
SHELL = @SHELL@
49
 
50
INSTALL = @INSTALL@
51
INSTALL_PROGRAM = @INSTALL_PROGRAM@
52
INSTALL_DATA = @INSTALL_DATA@
53
 
54
CC_FOR_TARGET = ` \
55
  if [ -f ../../gcc/xgcc ] ; then \
56
    echo ../../gcc/xgcc -B../../gcc/; \
57
  else \
58
    t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
59
  fi`
60
 
61
NLMCONV_FOR_TARGET = ` \
62
  if [ -f ../../binutils/nlmconv ] ; then \
63
    echo ../../binutils/nlmconv; \
64
  else \
65
    t='$(program_transform_name)'; echo nlmconv | sed -e '' $$t; \
66
  fi`
67
 
68
# All the includes used for CFLAGS and for lint.
69
INCLUDE_CFLAGS = -I. -I${srcdir}
70
 
71
# CFLAGS is specifically reserved for setting from the command line
72
# when running make.  I.E.  "make CFLAGS=-Wmissing-prototypes".
73
CFLAGS = -g
74
# INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
75
INTERNAL_CFLAGS = ${CFLAGS} ${INCLUDE_CFLAGS} ${USER_CFLAGS}
76
LDFLAGS = $(CFLAGS)
77
 
78
# Perhaps should come from parent Makefile
79
VERSION = gdbserve-4.12
80
DIST=gdb
81
 
82
# target-dependent makefile fragment come in here.
83
@target_makefile_frag@
84
# End target-dependent makefile fragment
85
 
86
# All source files that go into linking GDB remote server.
87
 
88
DEPFILES = $(GDBSERVE_DEPFILES)
89
 
90
SOURCES = $(ALLDEPFILES)
91
TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS}
92
 
93
# Prevent Sun make from putting in the machine type.  Setting
94
# TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
95
.c.o:
96
        ${CC_FOR_TARGET} -c ${INTERNAL_CFLAGS} $<
97
 
98
.S.o:
99
        ${CC_FOR_TARGET} -c ${INTERNAL_CFLAGS} $<
100
 
101
all: gdbserve.nlm
102
 
103
# Traditionally "install" depends on "all".  But it may be useful
104
# not to; for example, if the user has made some trivial change to a
105
# source file and doesn't care about rebuilding or just wants to save the
106
# time it takes for make to check that all is up to date.
107
# install-only is intended to address that need.
108
install: all install-only
109
install-only:
110
        $(INSTALL) gdbserve.nlm $(bindir)/gdbserve.nlm
111
 
112
uninstall: force
113
        rm -f $(bindir)/gdbserve.nlm
114
 
115
installcheck:
116
check:
117
info dvi:
118
install-info:
119
clean-info:
120
html:
121
install-html:
122
 
123
gdbserve.nlm:   gdbserve.O $(srcdir)/gdbserve.def
124
        ${NLMCONV_FOR_TARGET} -T $(srcdir)/gdbserve.def
125
 
126
gdbserve.O: prelude.o gdbserve.o $(TDEPFILES)
127
        ${CC_FOR_TARGET} $(LDFLAGS) -r -o gdbserve.O prelude.o gdbserve.o ${TDEPFILES}
128
 
129
# Put the proper machine-specific files first, so M-. on a machine
130
# specific routine gets the one for the correct machine.
131
# The xyzzy stuff below deals with empty DEPFILES
132
TAGS:   ${TAGFILES}
133
        etags `find ${srcdir}/../config -name $(TM_FILE) -print` \
134
          `find ${srcdir}/../config -name ${XM_FILE} -print` \
135
          `find ${srcdir}/../config -name ${NAT_FILE} -print` \
136
          `for i in yzzy ${DEPFILES}; do \
137
             if [ x$$i != xyzzy ]; then \
138
               echo ${srcdir}/$$i | sed -e 's/\.o$$/\.c/' ; \
139
             fi; \
140
           done` \
141
          ${TAGFILES}
142
tags: TAGS
143
 
144
clean:
145
        rm -f *.o ${ADD_FILES} *~
146
        rm -f gdbserve.O gdbserve.nlm core make.log
147
 
148
distclean: clean TAGS
149
        rm -f config.log config.cache config.status
150
        rm -f Makefile
151
 
152
maintainer-clean realclean: clean
153
        rm -f TAGS
154
        rm -f config.log config.cache config.status
155
        rm -f Makefile
156
 
157
Makefile: Makefile.in config.status @target_makefile_frag_path@
158
        $(SHELL) config.status
159
 
160
config.status: configure
161
        $(SHELL) config.status --recheck
162
 
163
force:
164
 
165
# GNU Make has an annoying habit of putting *all* the Makefile variables
166
# into the environment, unless you include this target as a circumvention.
167
# Rumor is that this will be fixed (and this target can be removed)
168
# in GNU Make 4.0.
169
.NOEXPORT:
170
 
171
# GNU Make 3.63 has a different problem: it keeps tacking command line
172
# overrides onto the definition of $(MAKE).  This variable setting
173
# will remove them.
174
MAKEOVERRIDES=
175
 
176
# This is the end of "Makefile.in".

powered by: WebSVN 2.1.0

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