-# $Id: Makefile.in,v 1.15 1998/02/11 12:13:39 tom Exp $
+# $Id: Makefile.in,v 1.22 2001/10/27 18:17:22 tom Exp $
##############################################################################
# Copyright (c) 1998 Free Software Foundation, Inc. #
# #
SHELL = /bin/sh
-INSTALL_PREFIX=@INSTALL_PREFIX@
-CF_MFLAGS = @cf_cv_makeflags@ INSTALL_PREFIX="$(INSTALL_PREFIX)"
+DESTDIR=@DESTDIR@
+CF_MFLAGS = @cf_cv_makeflags@ DESTDIR="$(DESTDIR)"
@SET_MAKE@
exec_prefix = @exec_prefix@
bindir = @bindir@
-datadir = @datadir@
+ticdir = @TERMINFO@
includedir = @includedir@
libdir = @libdir@
mandir = @mandir@
-DIRS_TO_MAKE = @DIRS_TO_MAKE@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+
+DIRS_TO_MAKE = @DIRS_TO_MAKE@
all :: $(DIRS_TO_MAKE)
@ echo ' lib directory: '$(libdir)
@ echo ' include directory: '$(includedir)
@ echo ' man directory: '$(mandir)
- @ echo ' terminfo directory: '$(datadir)/terminfo
+@MAKE_TERMINFO@ @ echo ' terminfo directory: '$(ticdir)
@ echo ''
- @ if test "$(includedir)" != "$(prefix)/include" ; then \
- echo '** Include-directory is not in a standard location'; fi
+ @ test "$(includedir)" = "$(prefix)/include" || \
+ echo '** Include-directory is not in a standard location'
+ @ test ! -f $(includedir)/termcap.h || \
+ fgrep NCURSES_VERSION $(includedir)/termcap.h >/dev/null || \
+ echo '** Will overwrite non-ncurses termcap.h'
+ @ test ! -f $(includedir)/curses.h || \
+ fgrep NCURSES_VERSION $(includedir)/curses.h >/dev/null || \
+ echo '** Will overwrite non-ncurses curses.h'
# Put the common rules here so that we can easily construct the list of
# directories to visit.
distclean \
mostlyclean \
realclean \
+depend \
sources \
uninstall \
install ::