Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[e2315e]: Makefile.in Maximize Restore History

Download this file

Makefile.in    272 lines (203 with data), 8.3 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
# -*- make -*-
#
# FILE: "/home/joze/src/tclreadline/Makefile.in"
# LAST MODIFIED: "Sun Feb 28 19:44:53 1999 (joze)"
# (C) 1998, 1999 by Johannes Zellner
# Johannes.Zellner@physik.uni-karlsruhe.de
# $Id$
# ---
#
# tclreadline -- gnu readline for tcl
# Copyright (C) 1999 Johannes Zellner
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# Johannes.Zellner@physik.uni-karlsruhe.de
# http://krisal.physik.uni-karlsruhe.de/~joze
# ==================================================================
MAJOR_VERSION = @TCLREADLINE_MAJOR_VERSION@
MINOR_VERSION = @TCLREADLINE_MINOR_VERSION@
VERSION = @TCLREADLINE_VERSION@
#host = @host@
#host_cpu = @host_cpu@
#host_vendor = @host_vendor@
#host_os = @host_os@
srcdir=@srcdir@
VPATH=@srcdir@
#----------------------------------------------------------------
# Things you can change to personalize the Makefile for your own
# site (you can make these changes in either Makefile.in or
# Makefile, but changes to Makefile will get lost if you re-run
# the configuration script).
#----------------------------------------------------------------
# Default top-level directories in which to install architecture-
# specific files (exec_prefix) and machine-independent files such
# as scripts (prefix). The values specified here may be overridden
# at configure-time with the --exec-prefix and --prefix options
# to the "configure" script.
prefix = @prefix@
exec_prefix = @exec_prefix@
# The following definition can be set to non-null for special systems
# like AFS with replication. It allows the pathnames used for installation
# to be different than those used for actually reference files at
# run-time. INSTALL_ROOT is prepended to $prefix and $exec_prefix
# when installing files.
INSTALL_ROOT =
# Directory from which applications will reference the library of Tcl
# scripts (note: you can set the TCLREADLINE_LIBRARY environment variable at
# run-time to override the compiled-in location):
TCLREADLINE_LIBRARY = @TCLREADLINE_LIBRARY@
# Path name to use when installing library scripts:
LIBRARY_INSTALL_DIR = $(INSTALL_ROOT)$(TCLREADLINE_LIBRARY)
# Directory in which to install the archive libitk.a:
LIB_INSTALL_DIR = $(INSTALL_ROOT)$(exec_prefix)/lib
# Path to use at runtime to refer to LIB_INSTALL_DIR:
LIB_RUNTIME_DIR = $(exec_prefix)/lib
# Top-level directory for manual entries:
MAN_INSTALL_DIR = $(INSTALL_ROOT)$(prefix)/man
# Directory in which to install manual entries for the built-in
# Tcl commands implemented by Tk:
MANN_INSTALL_DIR = $(MAN_INSTALL_DIR)/mann
# To change the compiler switches, for example to change from -O
# to -g, change the following line:
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
# To disable ANSI-C procedure prototypes reverse the comment characters
# on the following lines:
PROTO_FLAGS =
#PROTO_FLAGS = -DNO_PROTOTYPE
# Some versions of make, like SGI's, use the following variable to
# determine which shell to use for executing commands:
SHELL = /bin/sh
# Tk used to let the configure script choose which program to use
# for installing, but there are just too many different versions of
# "install" around; better to use the install-sh script that comes
# with the distribution, which is slower but guaranteed to work.
INSTALL = $(TOP_DIR)/aux/install-sh -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
MKINSTALLDIRS = $(TOP_DIR)/aux/mkinstalldirs
# The symbols below provide support for dynamic loading and shared
# libraries. The values of the symbols are normally set by the
# configure script. You shouldn't normally need to modify any of
# these definitions by hand.
SHLIB_CFLAGS = @SHLIB_CFLAGS@
# The symbol below provides support for dynamic loading and shared
# libraries. See configure.in for a description of what it means.
# The values of the symbolis normally set by the configure script.
SHLIB_LD = @SHLIB_LD@
#----------------------------------------------------------------
# The information below is modified by the configure script when
# Makefile is generated from Makefile.in. You shouldn't normally
# modify any of this stuff by hand.
#----------------------------------------------------------------
RANLIB = @RANLIB@
TOP_DIR = @srcdir@
TCL_INCLUDE_DIR = @TCL_INCLUDE_DIR@
READLINE_INCLUDE_DIR = @READLINE_INCLUDE_DIR@
TCLREADLINE_LIB_FILE = @TCLREADLINE_LIB_FILE@
#----------------------------------------------------------------
# The information below should be usable as is. The configure
# script won't modify it and you shouldn't need to modify it
# either.
#----------------------------------------------------------------
CC = @CC@
CC_SWITCHES = $(CFLAGS) $(SHLIB_CFLAGS) -I$(TOP_DIR) \
-I$(TCL_INCLUDE_DIR) -I$(READLINE_INCLUDE_DIR)
OBJS = tclreadline.o
CSRCS = $(TOP_DIR)/tclreadline.c
TCLFILES = tclreadlineInit.tcl tclreadlineSetup.tcl
SOURCES = \
Makefile.in \
configure.in \
tclreadline.c \
tclreadline.h.in \
tclreadlineConfig.sh.in \
tclreadlineInit.tcl.in \
tclreadlineSetup.tcl.in \
tclreadline.n.in \
sample.tclshrc
AUXILIARY = \
aux/config.guess \
aux/config.sub \
aux/install-sh \
aux/mkinstalldirs \
aux/vimtags
MISC = README GPL
MAN = tclreadline.n
CIFLAGS = -f -t-"gnu readline for tcl" -m"before initial relase"
.PHONY: clean distclean ctags tcltags vimtags tags ci co
.SUFFIXES: .c .o .so .sl .tcl
all: $(TCLREADLINE_LIB_FILE) pkgIndex.tcl
@TCLREADLINE_LIB_FILE@: ${OBJS}
rm -f $(TCLREADLINE_LIB_FILE)
@MAKE_LIB@
$(RANLIB) $(TCLREADLINE_LIB_FILE)
install: install-binaries install-libraries install-man
install-man: $(MANN_INSTALL_DIR)/$(MAN)
install-binaries: $(TCLREADLINE_LIB_FILE)
@$(MKINSTALLDIRS) $(LIBRARY_INSTALL_DIR)
@echo "Installing $(TCLREADLINE_LIB_FILE)"
@$(INSTALL_DATA) $(TCLREADLINE_LIB_FILE) \
$(LIBRARY_INSTALL_DIR)/$(TCLREADLINE_LIB_FILE)
@(cd $(LIBRARY_INSTALL_DIR); $(RANLIB) $(TCLREADLINE_LIB_FILE))
chmod 555 $(LIBRARY_INSTALL_DIR)/$(TCLREADLINE_LIB_FILE)
install-libraries: tclreadlineInit.tcl tclreadlineSetup.tcl pkgIndex.tcl \
tclreadlineConfig.sh
@$(MKINSTALLDIRS) $(LIBRARY_INSTALL_DIR)
$(INSTALL_DATA) tclreadlineInit.tcl $(LIBRARY_INSTALL_DIR)
$(INSTALL_DATA) tclreadlineSetup.tcl $(LIBRARY_INSTALL_DIR)
$(INSTALL_DATA) pkgIndex.tcl $(LIBRARY_INSTALL_DIR)
$(INSTALL_DATA) tclreadlineConfig.sh $(LIBRARY_INSTALL_DIR)
FORCE:
$(MANN_INSTALL_DIR)/$(MAN): FORCE
- $(INSTALL_DATA) $(srcdir)/$(MAN) $@ && chmod 644 $@
pkgIndex.tcl: FORCE
@echo "eval pkg_mkIndex $(TOP_DIR) tclreadline*.tcl" | tclsh
Makefile: $(TOP_DIR)/Makefile.in
$(SHELL) config.status
clean:
rm -f *.a *.o core errs *~ \#* tags* *.E a.out errors so_locations
distclean: clean
rm -f \
Makefile *.so *.sl pkgIndex.tcl tclreadlineInit.tcl \
tclreadlineSetup.tcl\
tclreadlineConfig.sh config.status config.log config.cache
depend:
makedepend -- $(CC_SWITCHES) -- $(CSRCS)
configure: configure.in
autoconf
.c.o:
$(CC) -c $(CC_SWITCHES) $<
tclreadline.o: $(TOP_DIR)/tclreadline.c Makefile
$(CC) -c $(CC_SWITCHES) $(TOP_DIR)/tclreadline.c
ctags:
ctags -R
tcltags: ctags $(TCLFILES)
tcltags $(TCLFILES)
vimtags: tcltags
vimtags
tags: vimtags
ci: $(SOURCES) $(MISC)
ci -u $(CIFLAGS) $^
co: $(SOURCES) $(MISC)
co -l $^
distribution: $(SOURCES) configure $(AUXILIARY) $(MISC)
- mkdir tclreadline-$(VERSION)
- mkdir tclreadline-$(VERSION)/aux
- cp $(SOURCES) $(MISC) configure tclreadline-$(VERSION)
- cp $(AUXILIARY) tclreadline-$(VERSION)/aux
tar zcvf $(srcdir)/tclreadline-$(VERSION).tgz tclreadline-$(VERSION)
# DO NOT DELETE THIS LINE -- make depend depends on it.