Fri Dec 6 23:23:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: remove spaces following hyphens, bsd make can't cope. added clean-info. added standards.text support. Don't know how to make info anymore. * configure.in: commontargets is no longer a recognized hook, so remove it. new subdir called doc. Thu Dec 5 22:46:10 1991 K. Richard Pixley (rich at rtl.cygnus.com) * Makefile.in: idestdir and ddestdir go away. Added copyrights and shift gpl to v2. Added ChangeLog if it didn't exist. docdir and mandir now keyed off datadir by default.
This commit is contained in:
parent
1058238c60
commit
92bb90afdc
|
@ -1,3 +1,18 @@
|
||||||
|
Fri Dec 6 23:23:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
|
||||||
|
|
||||||
|
* Makefile.in: remove spaces following hyphens, bsd make can't
|
||||||
|
cope. added clean-info. added standards.text support. Don't
|
||||||
|
know how to make info anymore.
|
||||||
|
|
||||||
|
* configure.in: commontargets is no longer a recognized hook, so
|
||||||
|
remove it. new subdir called doc.
|
||||||
|
|
||||||
|
Thu Dec 5 22:46:10 1991 K. Richard Pixley (rich at rtl.cygnus.com)
|
||||||
|
|
||||||
|
* Makefile.in: idestdir and ddestdir go away. Added copyrights
|
||||||
|
and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
|
||||||
|
and mandir now keyed off datadir by default.
|
||||||
|
|
||||||
Fri Nov 22 09:02:32 1991 John Gilmore (gnu at cygnus.com)
|
Fri Nov 22 09:02:32 1991 John Gilmore (gnu at cygnus.com)
|
||||||
|
|
||||||
* sysdep-obsd.h: Rename from sysdep-newsos.h.
|
* sysdep-obsd.h: Rename from sysdep-newsos.h.
|
||||||
|
|
|
@ -1,20 +1,61 @@
|
||||||
# #
|
#
|
||||||
# Makefile for readline and history libraries. #
|
# Makefile
|
||||||
# #
|
# Copyright (C) 1990, 1991 Cygnus Support
|
||||||
|
#
|
||||||
|
# This file 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., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Makefile for readline and history libraries.
|
||||||
|
#
|
||||||
|
|
||||||
srcdir = .
|
srcdir = .
|
||||||
ddestdir = /usr/local
|
|
||||||
idestdir = /usr/local
|
|
||||||
INSTALL_PROG = install -c
|
|
||||||
INSTALL_FILE = $(INSTALL_PROG)
|
|
||||||
|
|
||||||
#### host and target dependent Makefile fragments come in here.
|
prefix = /usr/local
|
||||||
##
|
|
||||||
|
|
||||||
# Destination installation directory. The libraries are copied to DESTDIR
|
bindir = $(prefix)/bin
|
||||||
# when you do a `make install', and the header files to INCDIR/readline/*.h.
|
datadir = $(prefix)/lib
|
||||||
DESTDIR = $(ddestdir)/lib
|
libdir = $(prefix)/lib
|
||||||
INCDIR = $(ddestdir)/include
|
mandir = $(datadir)/man
|
||||||
|
man1dir = $(mandir)/man1
|
||||||
|
man2dir = $(mandir)/man2
|
||||||
|
man3dir = $(mandir)/man3
|
||||||
|
man4dir = $(mandir)/man4
|
||||||
|
man5dir = $(mandir)/man5
|
||||||
|
man6dir = $(mandir)/man6
|
||||||
|
man7dir = $(mandir)/man7
|
||||||
|
man8dir = $(mandir)/man8
|
||||||
|
man9dir = $(mandir)/man9
|
||||||
|
infodir = $(prefix)/info
|
||||||
|
includedir = $(prefix)/include
|
||||||
|
docdir = $(datadir)/doc
|
||||||
|
|
||||||
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
INSTALL = install -c
|
||||||
|
INSTALL_PROGRAM = $(INSTALL)
|
||||||
|
INSTALL_DATA = $(INSTALL)
|
||||||
|
|
||||||
|
AR = ar
|
||||||
|
AR_FLAGS = qv
|
||||||
|
BISON = bison
|
||||||
|
MAKEINFO = makeinfo
|
||||||
|
RANLIB = ranlib
|
||||||
|
|
||||||
|
#### Host, target, and site specific Makefile fragments come in here.
|
||||||
|
###
|
||||||
|
|
||||||
# Define TYPES as -DVOID_SIGHANDLER if your operating system uses
|
# Define TYPES as -DVOID_SIGHANDLER if your operating system uses
|
||||||
# a return type of "void" for signal handlers.
|
# a return type of "void" for signal handlers.
|
||||||
|
@ -33,13 +74,10 @@ READLINE_DEFINES = $(TYPES) -DVI_MODE
|
||||||
MINUS_G=-g
|
MINUS_G=-g
|
||||||
DEBUG_FLAGS = $(MINUS_G)
|
DEBUG_FLAGS = $(MINUS_G)
|
||||||
LDFLAGS = $(DEBUG_FLAGS)
|
LDFLAGS = $(DEBUG_FLAGS)
|
||||||
CFLAGS = $(DEBUG_FLAGS) $(USG) -I. $(LOCAL_INCLUDES) $(CPPFLAGS) $(READLINE_DEFINES)
|
CFLAGS = $(H_CFLAGS) $(DEBUG_FLAGS) $(USG) -I. $(LOCAL_INCLUDES) $(CPPFLAGS) $(READLINE_DEFINES)
|
||||||
|
|
||||||
# A good alternative is gcc -traditional.
|
# A good alternative is gcc -traditional.
|
||||||
#CC = gcc -traditional
|
#CC = gcc -traditional
|
||||||
RANLIB = /bin/ranlib
|
|
||||||
AR = ar
|
|
||||||
AR_FLAGS = clq
|
|
||||||
RM = rm
|
RM = rm
|
||||||
CP = cp
|
CP = cp
|
||||||
|
|
||||||
|
@ -64,7 +102,13 @@ STAGESTUFF = *.o
|
||||||
|
|
||||||
all: libreadline.a
|
all: libreadline.a
|
||||||
|
|
||||||
all-info: history.info readline.info
|
info:
|
||||||
|
echo FIXME
|
||||||
|
echo FIXME
|
||||||
|
echo FIXME
|
||||||
|
|
||||||
|
clean-info: force
|
||||||
|
-rm -f *.info*
|
||||||
|
|
||||||
history.info: history.texi
|
history.info: history.texi
|
||||||
$(MAKEINFO) -o history.info $(srcdir)/history.texi
|
$(MAKEINFO) -o history.info $(srcdir)/history.texi
|
||||||
|
@ -99,15 +143,17 @@ readline.tar: $(THINGS_TO_TAR)
|
||||||
readline.tar.Z: readline.tar
|
readline.tar.Z: readline.tar
|
||||||
compress -f readline.tar
|
compress -f readline.tar
|
||||||
|
|
||||||
install: includes
|
install:
|
||||||
$(INSTALL_PROG) libreadline.a $(DESTDIR)/libreadline.an
|
$(INSTALL_DATA) libreadline.a $(libdir)/libreadline.a
|
||||||
-mv $(DESTDIR)/libreadline.an $(DESTDIR)/libreadline.a
|
$(RANLIB) $(libdir)/libreadline.a
|
||||||
$(RANLIB) $(DESTDIR)/libreadline.a
|
[ -d $(includedir)/readline ] || mkdir $(includedir)/readline
|
||||||
|
$(INSTALL_DATA) readline.h $(includedir)/readline/readline.h
|
||||||
|
$(INSTALL_DATA) keymaps.h $(includedir)/readline/keymaps.h
|
||||||
|
$(INSTALL_DATA) chardefs.h $(includedir)/readline/chardefs.h
|
||||||
|
|
||||||
install-info: all-info
|
install-info: info
|
||||||
for i in *.info* ; do \
|
for i in *.info* ; do \
|
||||||
echo Installing $$i... ; \
|
$(INSTALL_DATA) $$i $(infodir)/$$i ; \
|
||||||
cp $$i $(idestdir)/info/$$i ; \
|
|
||||||
done
|
done
|
||||||
|
|
||||||
includes:
|
includes:
|
||||||
|
@ -120,7 +166,7 @@ includes:
|
||||||
$(INSTALL_FILE) $(srcdir)/chardefs.h $(INCDIR)/readline/
|
$(INSTALL_FILE) $(srcdir)/chardefs.h $(INCDIR)/readline/
|
||||||
clean:
|
clean:
|
||||||
rm -f $(STAGESTUFF) *.a *.log *.cp *.tp *.vr *.fn
|
rm -f $(STAGESTUFF) *.a *.log *.cp *.tp *.vr *.fn
|
||||||
rm -f *.aux *.pg *.toc *.info*
|
rm -f *.aux *.pg *.toc
|
||||||
|
|
||||||
$(DESTDIR)/libreadline.a: libreadline.a
|
$(DESTDIR)/libreadline.a: libreadline.a
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue