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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [readline/] [shlib/] [Makefile.in] - Blame information for rev 1767

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

Line No. Rev Author Line
1 578 markom
## -*- text -*- ##
2
# Makefile for the GNU readline library shared library support.
3
#
4
# Copyright (C) 1998 Free Software Foundation, Inc.
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, or (at your option)
9
# 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 USA.
19
 
20
RL_LIBRARY_VERSION = @LIBVERSION@
21
RL_LIBRARY_NAME = readline
22
 
23
srcdir = @srcdir@
24
VPATH = .:@top_srcdir@
25
topdir = @top_srcdir@
26
BUILD_DIR = @BUILD_DIR@
27
 
28
INSTALL = @INSTALL@
29
INSTALL_PROGRAM = @INSTALL_PROGRAM@
30
INSTALL_DATA = @INSTALL_DATA@
31
 
32
CC = @CC@
33
RANLIB = @RANLIB@
34
AR = @AR@
35
ARFLAGS = @ARFLAGS@
36
RM = rm -f
37
CP = cp
38
MV = mv
39
 
40
SHELL = @MAKE_SHELL@
41
 
42
host_os = @host_os@
43
 
44
prefix = @prefix@
45
exec_prefix = @exec_prefix@
46
libdir = @libdir@
47
 
48
CFLAGS = @CFLAGS@
49
LOCAL_CFLAGS = @LOCAL_CFLAGS@ -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"'
50
CPPFLAGS = @CPPFLAGS@
51
LDFLAGS = @LDFLAGS@ @LOCAL_LDFLAGS@ @CFLAGS@
52
 
53
DEFS = @DEFS@
54
LOCAL_DEFS = @LOCAL_DEFS@
55
 
56
#
57
# These values are generated for configure by ${topdir}/support/shobj-conf.
58
# If your system is not supported by that script, but includes facilities for
59
# dynamic loading of shared objects, please update the script and send the
60
# changes to bash-maintainers@gnu.org.
61
#
62
SHOBJ_CC = @SHOBJ_CC@
63
SHOBJ_CFLAGS = @SHOBJ_CFLAGS@
64
SHOBJ_LD = @SHOBJ_LD@
65
 
66
SHOBJ_LDFLAGS = @SHOBJ_LDFLAGS@
67
SHOBJ_XLDFLAGS = @SHOBJ_XLDFLAGS@
68
SHOBJ_LIBS = @SHOBJ_LIBS@
69
 
70
SHLIB_XLDFLAGS = @SHLIB_XLDFLAGS@
71
SHLIB_LIBS = @SHLIB_LIBS@
72
SHLIB_LIBSUFF = @SHLIB_LIBSUFF@
73
 
74
SHLIB_LIBVERSION = @SHLIB_LIBVERSION@
75
 
76
SHLIB_STATUS = @SHLIB_STATUS@
77
 
78
# shared library versioning
79
SHLIB_MAJOR=            @SHLIB_MAJOR@
80
# shared library systems like SVR4's do not use minor versions
81
SHLIB_MINOR=            .@SHLIB_MINOR@
82
 
83
# For libraries which include headers from other libraries.
84
INCLUDES = -I. -I.. -I$(topdir) -I$(includedir)
85
 
86
CCFLAGS = $(DEFS) $(LOCAL_DEFS) $(CPPFLAGS) $(INCLUDES) $(LOCAL_CFLAGS) $(CFLAGS)
87
 
88
.SUFFIXES:      .so
89
 
90
.c.so:
91
        ${RM} $@
92
        $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -o $*.o $<
93
        $(MV) $*.o $@
94
 
95
# The name of the main library target.
96
 
97
SHARED_READLINE = libreadline.$(SHLIB_LIBVERSION)
98
SHARED_HISTORY = libhistory.$(SHLIB_LIBVERSION)
99
SHARED_LIBS = $(SHARED_READLINE) $(SHARED_HISTORY)
100
 
101
# The C code source files for this library.
102
CSOURCES = $(topdir)/readline.c $(topdir)/funmap.c $(topdir)/keymaps.c \
103
           $(topdir)/vi_mode.c $(topdir)/parens.c $(topdir)/rltty.c \
104
           $(topdir)/complete.c $(topdir)/bind.c $(topdir)/isearch.c \
105
           $(topdir)/display.c $(topdir)/signals.c $(topdir)/emacs_keymap.c \
106
           $(topdir)/vi_keymap.c $(topdir)/util.c $(topdir)/kill.c \
107
           $(topdir)/undo.c $(topdir)/macro.c $(topdir)/input.c \
108
           $(topdir)/callback.c $(topdir)/terminal.c $(topdir)/xmalloc.c \
109
           $(topdir)/history.c $(topdir)/histsearch.c $(topdir)/histexpand.c \
110
           $(topdir)/histfile.c $(topdir)/nls.c $(topdir)/search.c \
111
           $(topdir)/shell.c $(topdir)/savestring.c $(topdir)/tilde.c
112
 
113
# The header files for this library.
114
HSOURCES = readline.h rldefs.h chardefs.h keymaps.h history.h histlib.h \
115
           posixstat.h posixdir.h posixjmp.h tilde.h rlconf.h rltty.h \
116
           ansi_stdlib.h tcap.h xmalloc.h rlprivate.h rlshell.h
117
 
118
SHARED_HISTOBJ = history.so histexpand.so histfile.so histsearch.so shell.so
119
SHARED_TILDEOBJ = tilde.so
120
SHARED_OBJ = readline.so vi_mode.so funmap.so keymaps.so parens.so search.so \
121
          rltty.so complete.so bind.so isearch.so display.so signals.so \
122
          util.so kill.so undo.so macro.so input.so callback.so terminal.so \
123
          nls.so xmalloc.so $(SHARED_HISTOBJ) $(SHARED_TILDEOBJ)
124
 
125
##########################################################################
126
 
127
all: $(SHLIB_STATUS)
128
 
129
supported: $(SHARED_LIBS)
130
 
131
unsupported:
132
        @echo "Your system and compiler (${host_os}-${CC}) are not supported by the"
133
        @echo "${topdir}/support/shobj-conf script."
134
        @echo "If your operating system provides facilities for creating"
135
        @echo "shared libraries, please update the script and re-run configure."
136
        @echo "Please send the changes you made to bash-maintainers@gnu.org"
137
        @echo "for inclusion in future bash and readline releases."
138
 
139
$(SHARED_READLINE):     $(SHARED_OBJ)
140
        $(RM) $@
141
        $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS)
142
 
143
$(SHARED_HISTORY):      $(SHARED_HISTOBJ) xmalloc.so
144
        $(RM) $@
145
        $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so $(SHLIB_LIBS)
146
 
147
installdirs: $(topdir)/support/mkdirs
148
        -$(SHELL) $(topdir)/support/mkdirs $(libdir)
149
 
150
install: installdirs $(SHLIB_STATUS)
151
        $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -d $(libdir) -i "$(INSTALL_DATA)" $(SHARED_HISTORY)
152
        $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -d $(libdir) -i "$(INSTALL_DATA)" $(SHARED_READLINE)
153
        @echo install: you may need to run ldconfig
154
 
155
uninstall:
156
        $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -d $(libdir) -U $(SHARED_HISTORY)
157
        $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -d $(libdir) -U $(SHARED_READLINE)
158
        @echo uninstall: you may need to run ldconfig
159
 
160
clean mostlyclean:      force
161
        $(RM) $(SHARED_OBJ) $(SHARED_LIBS)
162
 
163
distclean maintainer-clean: clean
164
        $(RM) Makefile
165
 
166
force:
167
 
168
# Tell versions [3.59,3.63) of GNU make not to export all variables.
169
# Otherwise a system limit (for SysV at least) may be exceeded.
170
.NOEXPORT:
171
 
172
# Dependencies
173
bind.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
174
bind.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
175
bind.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
176
bind.so: $(topdir)/tilde.h $(topdir)/history.h
177
callback.so: $(topdir)/rlconf.h
178
callback.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h
179
callback.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
180
callback.so: $(topdir)/tilde.h
181
complete.so: $(topdir)/ansi_stdlib.h posixdir.h $(topdir)/posixstat.h
182
complete.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
183
complete.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
184
complete.so: $(topdir)/tilde.h
185
display.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
186
display.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
187
display.so: $(topdir)/tcap.h
188
display.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
189
display.so: $(topdir)/tilde.h $(topdir)/history.h
190
funmap.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
191
funmap.so: $(topdir)/rlconf.h $(topdir)/ansi_stdlib.h
192
funmap.so: ${BUILD_DIR}/config.h $(topdir)/tilde.h
193
histexpand.so: $(topdir)/ansi_stdlib.h
194
histexpand.so: $(topdir)/history.h histlib.h
195
histexpand.so: ${BUILD_DIR}/config.h
196
histfile.so: $(topdir)/ansi_stdlib.h
197
histfile.so: $(topdir)/history.h histlib.h
198
histfile.so: ${BUILD_DIR}/config.h
199
history.so: $(topdir)/ansi_stdlib.h
200
history.so: $(topdir)/history.h histlib.h
201
history.so: ${BUILD_DIR}/config.h
202
histsearch.so: $(topdir)/ansi_stdlib.h
203
histsearch.so: $(topdir)/history.h histlib.h
204
histsearch.so: ${BUILD_DIR}/config.h
205
input.so: $(topdir)/ansi_stdlib.h
206
input.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
207
input.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
208
input.so: $(topdir)/tilde.h
209
isearch.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
210
isearch.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
211
isearch.so: $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h
212
keymaps.so: emacs_keymap.c vi_keymap.c
213
keymaps.so: $(topdir)/keymaps.h $(topdir)/chardefs.h $(topdir)/rlconf.h
214
keymaps.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
215
keymaps.so: ${BUILD_DIR}/config.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h
216
kill.so: $(topdir)/ansi_stdlib.h
217
kill.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
218
kill.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
219
kill.so: $(topdir)/tilde.h $(topdir)/history.h
220
macro.so: $(topdir)/ansi_stdlib.h
221
macro.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
222
macro.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
223
macro.so: $(topdir)/tilde.h $(topdir)/history.h
224
nls.so: $(topdir)/ansi_stdlib.h
225
nls.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
226
nls.o: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
227
nls.o: $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rlstdc.h
228
parens.so: $(topdir)/rlconf.h ${BUILD_DIR}/config.h
229
parens.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
230
parens.so: $(topdir)/tilde.h
231
readline.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
232
readline.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
233
readline.so: $(topdir)/history.h $(topdir)/tilde.h
234
readline.so: $(topdir)/posixstat.h $(topdir)/ansi_stdlib.h $(topdir)/posixjmp.h
235
rltty.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
236
rltty.so: $(topdir)/rltty.h $(topdir)/tilde.h
237
rltty.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
238
search.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
239
search.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
240
search.so: $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h
241
signals.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
242
signals.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
243
signals.so: $(topdir)/history.h $(topdir)/tilde.h
244
terminal.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
245
terminal.so: $(topdir)/tcap.h
246
terminal.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
247
terminal.so: $(topdir)/tilde.h $(topdir)/history.h
248
tilde.so: $(topdir)/ansi_stdlib.h ${BUILD_DIR}/config.h $(topdir)/tilde.h
249
undo.so: $(topdir)/ansi_stdlib.h
250
undo.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
251
undo.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
252
undo.so: $(topdir)/tilde.h $(topdir)/history.h
253
util.so: $(topdir)/posixjmp.h $(topdir)/ansi_stdlib.h
254
util.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
255
util.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
256
util.so: $(topdir)/tilde.h
257
vi_mode.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
258
vi_mode.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
259
vi_mode.so: $(topdir)/history.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h
260
xmalloc.so: ${BUILD_DIR}/config.h
261
xmalloc.so: $(topdir)/ansi_stdlib.h
262
 
263
bind.so: $(topdir)/rlshell.h
264
histfile.so: $(topdir)/rlshell.h
265
nls.so: $(topdir)/rlshell.h
266
readline.so: $(topdir)/rlshell.h
267
shell.so: $(topdir)/rlshell.h
268
terminal.so: $(topdir)/rlshell.h
269
histexpand.so: $(topdir)/rlshell.h
270
 
271
bind.so: $(topdir)/rlprivate.h
272
callback.so: $(topdir)/rlprivate.h
273
complete.so: $(topdir)/rlprivate.h
274
display.so: $(topdir)/rlprivate.h
275
input.so: $(topdir)/rlprivate.h
276
isearch.so: $(topdir)/rlprivate.h
277
kill.so: $(topdir)/rlprivate.h
278
macro.so: $(topdir)/rlprivate.h
279
nls.so: $(topdir)/rlprivate.h
280
parens.so: $(topdir)/rlprivate.h
281
readline.so: $(topdir)/rlprivate.h
282
rltty.so: $(topdir)/rlprivate.h
283
search.so: $(topdir)/rlprivate.h
284
signals.so: $(topdir)/rlprivate.h
285
terminal.so: $(topdir)/rlprivate.h
286
undo.so: $(topdir)/rlprivate.h
287
util.so: $(topdir)/rlprivate.h
288
vi_mode.so: $(topdir)/rlprivate.h
289
 
290
bind.so: $(topdir)/xmalloc.h
291
complete.so: $(topdir)/xmalloc.h
292
display.so: $(topdir)/xmalloc.h
293
funmap.so: $(topdir)/xmalloc.h
294
histexpand.so: $(topdir)/xmalloc.h
295
histfile.so: $(topdir)/xmalloc.h
296
history.so: $(topdir)/xmalloc.h
297
input.so: $(topdir)/xmalloc.h
298
isearch.so: $(topdir)/xmalloc.h
299
keymaps.so: $(topdir)/xmalloc.h
300
kill.so: $(topdir)/xmalloc.h
301
macro.so: $(topdir)/xmalloc.h
302
readline.so: $(topdir)/xmalloc.h
303
savestring.so: $(topdir)/xmalloc.h
304
search.so: $(topdir)/xmalloc.h
305
shell.so: $(topdir)/xmalloc.h
306
tilde.so: $(topdir)/xmalloc.h
307
tilde.so: $(topdir)/xmalloc.h
308
util.so: $(topdir)/xmalloc.h
309
vi_mode.so: $(topdir)/xmalloc.h
310
 
311
readline.so: $(topdir)/readline.c
312
vi_mode.so: $(topdir)/vi_mode.c
313
funmap.so: $(topdir)/funmap.c
314
keymaps.so: $(topdir)/keymaps.c
315
parens.so: $(topdir)/parens.c
316
search.so: $(topdir)/search.c
317
rltty.so: $(topdir)/rltty.c
318
complete.so: $(topdir)/complete.c
319
bind.so: $(topdir)/bind.c
320
isearch.so: $(topdir)/isearch.c
321
display.so: $(topdir)/display.c
322
signals.so: $(topdir)/signals.c
323
util.so: $(topdir)/util.c
324
kill.so: $(topdir)/kill.c
325
undo.so: $(topdir)/undo.c
326
macro.so: $(topdir)/macro.c
327
input.so: $(topdir)/input.c
328
callback.so: $(topdir)/callback.c
329
terminal.so: $(topdir)/terminal.c
330
nls.so: $(topdir)/nls.c
331
xmalloc.so: $(topdir)/xmalloc.c
332
history.so: $(topdir)/history.c
333
histexpand.so: $(topdir)/histexpand.c
334
histfile.so: $(topdir)/histfile.c
335
histsearch.so: $(topdir)/histsearch.c
336
savestring.so: $(topdir)/savestring.c
337
shell.so: $(topdir)/shell.c
338
tilde.so: $(topdir)/tilde.c
339
 
340
readline.so: readline.c
341
vi_mode.so: vi_mode.c
342
funmap.so: funmap.c
343
keymaps.so: keymaps.c
344
parens.so: parens.c
345
search.so: search.c
346
rltty.so: rltty.c
347
complete.so: complete.c
348
bind.so: bind.c
349
isearch.so: isearch.c
350
display.so: display.c
351
signals.so: signals.c
352
util.so: util.c
353
kill.so: kill.c
354
undo.so: undo.c
355
macro.so: macro.c
356
input.so: input.c
357
callback.so: callback.c
358
terminal.so: terminal.c
359
nls.so: nls.c
360
xmalloc.so: xmalloc.c
361
history.so: history.c
362
histexpand.so: histexpand.c
363
histfile.so: histfile.c
364
histsearch.so: histsearch.c
365
savestring.so: savestring.c
366
shell.so: shell.c
367
tilde.so: tilde.c

powered by: WebSVN 2.1.0

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