X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=Makefile.in;h=7be6e767763713b6c92ce3702333d69c622501e4;hp=6c5b6f96b8377b70077acffed9563aa56dd49c2d;hb=HEAD;hpb=a0bb9c404174926bf131a5989a0524a6eecd09eb diff --git a/Makefile.in b/Makefile.in index 6c5b6f96..1303e171 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,6 +1,7 @@ -# $Id: Makefile.in,v 1.37 2013/08/03 22:58:52 tom Exp $ +# $Id: Makefile.in,v 1.46 2022/10/01 22:53:36 tom Exp $ ############################################################################## -# Copyright (c) 1998-2012,2013 Free Software Foundation, Inc. # +# Copyright 2018-2021,2022 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"), # @@ -27,11 +28,11 @@ # authorization. # ############################################################################## # -# Author: Thomas E. Dickey 1996,1997 +# Author: Thomas E. Dickey 1996-on # # Master Makefile for ncurses library. -SHELL = /bin/sh +SHELL = @SHELL@ VPATH = @srcdir@ DESTDIR=@DESTDIR@ @@ -57,14 +58,30 @@ includedir = @includedir@ includesubdir = @includesubdir@ libdir = @libdir@ mandir = @mandir@ +pkgdir = @PKG_CONFIG_LIBDIR@ -INCLUDEDIR = ${DESTDIR}${includedir}${includesubdir} +include_dir = ${includedir}${includesubdir} + +FGREP = @FGREP@ 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) : @@ -74,27 +91,32 @@ preinstall : @ 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.