-# $Id: Makefile.in,v 1.36 2013/08/03 22:58:52 tom Exp $
+# $Id: Makefile.in,v 1.45 2021/08/07 22:06:59 tom Exp $
##############################################################################
-# Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. #
+# Copyright 2018-2020,2021 Thomas E. Dickey #
+# Copyright 1998-2014,2015 Free Software Foundation, Inc. #
# #
# Permission is hereby granted, free of charge, to any person obtaining a #
# copy of this software and associated documentation files (the "Software"), #
# authorization. #
##############################################################################
#
-# Author: Thomas E. Dickey <dickey@clark.net> 1996,1997
+# Author: Thomas E. Dickey 1996-on
#
# Master Makefile for ncurses library.
-SHELL = /bin/sh
+SHELL = @SHELL@
VPATH = @srcdir@
DESTDIR=@DESTDIR@
includesubdir = @includesubdir@
libdir = @libdir@
mandir = @mandir@
+pkgdir = @PKG_CONFIG_LIBDIR@
-INCLUDEDIR = ${DESTDIR}${includedir}${includesubdir}
+include_dir = ${includedir}${includesubdir}
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
DIRS_TO_MAKE = @DIRS_TO_MAKE@
+@MAKE_PHONY@.PHONY : all
+@MAKE_PHONY@.PHONY : check
+@MAKE_PHONY@.PHONY : clean
+@MAKE_PHONY@.PHONY : depend
+@MAKE_PHONY@.PHONY : distclean
+@MAKE_PHONY@.PHONY : install
+@MAKE_PHONY@.PHONY : mostlyclean
+@MAKE_PHONY@.PHONY : preinstall
+@MAKE_PHONY@.PHONY : realclean
+@MAKE_PHONY@.PHONY : sources
+@MAKE_PHONY@.PHONY : tags
+@MAKE_PHONY@.PHONY : uninstall
+
all :: $(DIRS_TO_MAKE)
$(DIRS_TO_MAKE) :
@ echo ''
@ echo '** Configuration summary for NCURSES $(NCURSES_MAJOR).$(NCURSES_MINOR) $(NCURSES_PATCH):'
@ echo ''
- @ echo ' extended funcs: '`test @NCURSES_EXT_FUNCS@ != 0 && echo yes || echo no`
- @ echo ' xterm terminfo: '@WHICH_XTERM@
+ @ echo ' extended funcs: '`test @NCURSES_EXT_FUNCS@ != 0 && echo yes || echo no`
+ @ echo ' xterm terminfo: '@WHICH_XTERM@
@ echo ''
- @ echo ' bin directory: '$(bindir)
- @ echo ' lib directory: '$(libdir)
- @ echo ' include directory: '$(INCLUDEDIR)
- @ echo ' man directory: '$(mandir)
-@MAKE_TERMINFO@ @ echo ' terminfo directory: '$(ticdir)
+ @ echo ' bin directory: '$(bindir)
+ @ echo ' lib directory: '$(libdir)
+ @ echo ' include directory: '$(include_dir)
+ @ echo ' man directory: '$(mandir)
+@MAKE_TERMINFO@ @ echo ' terminfo directory: '$(ticdir)
+@USE_FALLBACKS@ @ echo ' using fallback-list: '@FALLBACK_LIST@
+@MAKE_PC_FILES@ @ echo ' pkg-config directory: '$(pkgdir)
@ echo ''
- @ test "$(INCLUDEDIR)" = "$(prefix)/include" || \
+ @ test "$(include_dir)" = "$(prefix)/include" || \
echo '** Include-directory is not in a standard location'
- @ test ! -f $(INCLUDEDIR)/termcap.h || \
- fgrep NCURSES_VERSION $(INCLUDEDIR)/termcap.h >/dev/null || \
+ @ test ! -f $(include_dir)/termcap.h || \
+ fgrep NCURSES_VERSION $(include_dir)/termcap.h >/dev/null || \
echo '** Will overwrite non-ncurses termcap.h'
- @ test ! -f $(INCLUDEDIR)/curses.h || \
- fgrep NCURSES_VERSION $(INCLUDEDIR)/curses.h >/dev/null || \
+ @ test ! -f $(include_dir)/curses.h || \
+ fgrep NCURSES_VERSION $(include_dir)/curses.h >/dev/null || \
echo '** Will overwrite non-ncurses curses.h'
distclean \
realclean ::
+check :
+ @ echo The test-programs are interactive
+
# Put the common rules here so that we can easily construct the list of
# directories to visit.