X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2FMakefile.in;h=4b16e5a5020d1f2f284b0f7c3ac90b5116fca596;hp=9598d442067fa78005042b6ab32e8bafabaa3ec6;hb=646aa4040ea415c39a376991d2d9658eff0fce77;hpb=d2650934c6f7223556f59cfb45dfc904018ee9d9 diff --git a/progs/Makefile.in b/progs/Makefile.in index 9598d442..4b16e5a5 100644 --- a/progs/Makefile.in +++ b/progs/Makefile.in @@ -1,6 +1,6 @@ -# $Id: Makefile.in,v 1.89 2012/08/11 21:31:56 tom Exp $ +# $Id: Makefile.in,v 1.97 2016/08/06 13:25:38 tom Exp $ ############################################################################## -# Copyright (c) 1998-2011,2012 Free Software Foundation, Inc. # +# Copyright (c) 1998-2015,2016 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"), # @@ -42,7 +42,7 @@ # turn off _all_ suffix rules; we'll generate our own .SUFFIXES: -SHELL = /bin/sh +SHELL = @SHELL@ VPATH = @srcdir@ THIS = Makefile @@ -63,8 +63,14 @@ libdir = @libdir@ includedir = @includedir@ datarootdir = @datarootdir@ datadir = @datadir@ +includesubdir = @includesubdir@ + +INCLUDEDIR = $(DESTDIR)$(includedir)$(includesubdir) + +PACKAGE = @PACKAGE@ LIBTOOL = @LIBTOOL@ +LIBTOOL_OPTS = @LIBTOOL_OPTS@ LIBTOOL_CLEAN = @LIB_CLEAN@ LIBTOOL_COMPILE = @LIB_COMPILE@ LIBTOOL_LINK = @LIB_LINK@ @@ -86,7 +92,7 @@ CPP = @CPP@ CFLAGS = @CFLAGS@ INCDIR = $(top_srcdir)/include -CPPFLAGS = -I../progs -I$(srcdir) -DHAVE_CONFIG_H @CPPFLAGS@ +CPPFLAGS = -DHAVE_CONFIG_H -I../progs @CPPFLAGS@ CCFLAGS = $(CPPFLAGS) $(CFLAGS) @@ -182,7 +188,7 @@ transform.h : echo "#define __TRANSFORM_H 1" >>$@ echo "#include " >>$@ echo "extern bool same_program(const char *, const char *);" >>$@ - -sh -c 'if test -n "$x" ; then echo "#define SUFFIX_IGNORED \"$x\"">>$@; fi' + -$(SHELL) -c 'if test -n "$x" ; then echo "#define SUFFIX_IGNORED \"$x\"">>$@; fi' echo "#define PROG_CAPTOINFO \"$(define_captoinfo)\"" >>$@ echo "#define PROG_INFOTOCAP \"$(define_infotocap)\"" >>$@ echo "#define PROG_RESET \"$(define_reset)\"" >>$@ @@ -229,6 +235,7 @@ $(DESTDIR)$(bindir) : DEPS_TIC = \ $(MODEL)/tic$o \ $(MODEL)/dump_entry$o \ + $(MODEL)/tparm_type$o \ $(MODEL)/transform$o tic$x: $(DEPS_TIC) $(DEPS_CURSES) transform.h @@ -254,6 +261,8 @@ tabs$x: $(DEPS_TABS) $(DEPS_TABS) DEPS_TPUT = \ $(MODEL)/tput$o \ + $(MODEL)/reset_cmd$o \ + $(MODEL)/tparm_type$o \ $(MODEL)/transform$o tput$x: $(DEPS_TPUT) $(DEPS_CURSES) transform.h @@ -268,13 +277,14 @@ infocmp$x: $(DEPS_INFOCMP) $(DEPS_CURSES) DEPS_TSET = \ $(MODEL)/tset$o \ + $(MODEL)/reset_cmd$o \ $(MODEL)/transform$o tset$x: $(DEPS_TSET) $(DEPS_CURSES) transform.h @ECHO_LD@ $(LINK) $(DEPS_TSET) $(LDFLAGS_TINFO) -o $@ termsort.c: $(srcdir)/MKtermsort.sh - sh $(srcdir)/MKtermsort.sh $(AWK) $(srcdir)/../include/@TERMINFO_CAPS@ >$@ + $(SHELL) $(srcdir)/MKtermsort.sh $(AWK) $(srcdir)/../include/@TERMINFO_CAPS@ >$@ # # Utility productions start here @@ -290,10 +300,10 @@ mostlyclean :: -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace clean :: mostlyclean - -sh -c "if test -n '$x' ; then $(MAKE) clean x=''; fi" + -$(SHELL) -c "if test -n '$x' ; then $(MAKE) clean x=''; fi" -rm -f $(AUTO_SRC) -rm -f $(PROGS) - -rm -rf .libs + -rm -rf .libs *.dSYM distclean :: clean -rm -f Makefile