i-bash/lib/termcap/Makefile.in

91 lines
2.2 KiB
Makefile
Raw Normal View History

1996-12-23 17:02:34 +00:00
## -*- text -*- ####################################################
# #
# Makefile for termcap replacement libbrary. #
# #
####################################################################
2009-01-12 13:36:28 +00:00
# Copyright (C) 1996-2009 Free Software Foundation, Inc.
2000-03-17 21:46:59 +00:00
2009-01-12 13:36:28 +00:00
# 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 3 of the License, or
# (at your option) any later version.
2000-03-17 21:46:59 +00:00
2009-01-12 13:36:28 +00:00
# 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.
2000-03-17 21:46:59 +00:00
2009-01-12 13:36:28 +00:00
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
2000-03-17 21:46:59 +00:00
1996-12-23 17:02:34 +00:00
srcdir = @srcdir@
VPATH = @srcdir@
1996-12-23 17:02:34 +00:00
topdir = @top_srcdir@
BUILD_DIR = @BUILD_DIR@
2001-11-13 17:56:06 +00:00
libdir = @libdir@
1996-12-23 17:02:34 +00:00
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
CC = @CC@
RANLIB = @RANLIB@
AR = @AR@
1999-02-19 17:11:39 +00:00
ARFLAGS = @ARFLAGS@
1996-12-23 17:02:34 +00:00
RM = rm -f
CP = cp
MV = mv
1999-02-19 17:11:39 +00:00
SHELL = @MAKE_SHELL@
1996-12-23 17:02:34 +00:00
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
DEFS = @DEFS@
2000-03-17 21:46:59 +00:00
INCLUDES = -I. -I../.. -I$(topdir) -I$(topdir)/lib -I$(srcdir)
1996-12-23 17:02:34 +00:00
CCFLAGS = $(CFLAGS) $(DEFS) $(CPPFLAGS) ${INCLUDES}
# Here is a rule for making .o files from .c files that doesn't force
# the type of the machine (like -sun3) into the flags.
.c.o:
$(CC) -c $(CCFLAGS) $<
SOURCES = termcap.c tparam.c
OBJECTS = termcap.o tparam.o
DOCUMENTATION = termcap.texinfo
THINGS_TO_TAR = $(SOURCES) $(DOCUMENTATION)
##########################################################################
all: libtermcap.a
libtermcap.a: $(OBJECTS)
$(RM) -f $@
1999-02-19 17:11:39 +00:00
$(AR) $(ARFLAGS) $@ $(OBJECTS)
1996-12-23 17:02:34 +00:00
-test -n "$(RANLIB)" && $(RANLIB) $@
install:
clean:
$(RM) *.o *.a *.log *.cp *.tp *.vr *.fn *.aux *.pg *.toc
2000-03-17 21:46:59 +00:00
mostlyclean: clean
distclean maintainer-clean: clean
$(RM) Makefile
1996-12-23 17:02:34 +00:00
2001-11-13 17:56:06 +00:00
$(DESTDIR)$(libdir)/libtermcap.a: libtermcap.a
1996-12-23 17:02:34 +00:00
${INSTALL_DATA} -c -m 644 libtermcap.a $@
-test -n "$(RANLIB)" && $(RANLIB) -t $@
termcap.o: $(BUILD_DIR)/config.h
tparam.o: $(BUILD_DIR)/config.h
version.o: $(BUILD_DIR)/config.h