ncurses 6.2 - patch 20200418
[ncurses.git] / test / Makefile.in
index 5e8bd42a6e93a080cbf31308a009a1eb96447fd7..f4a533b3bfc4312431254a0efb757365381d51aa 100644 (file)
@@ -1,6 +1,7 @@
-# $Id: Makefile.in,v 1.113 2014/08/02 15:45:05 tom Exp $
+# $Id: Makefile.in,v 1.124 2020/03/21 16:09:06 tom Exp $
 ##############################################################################
-# Copyright (c) 1998-2013,2014 Free Software Foundation, Inc.                #
+# Copyright 2020 Thomas E. Dickey                                            #
+# Copyright 1998-2017,2018 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"), #
@@ -34,7 +35,7 @@
 # turn off _all_ suffix rules; we'll generate our own
 .SUFFIXES:
 
-SHELL          = /bin/sh
+SHELL          = @SHELL@
 VPATH          = @srcdir@
 
 @SET_MAKE@
@@ -44,6 +45,7 @@ x             = @EXEEXT@
 o              = .@OBJEXT@
 
 MODEL          = ../@DFT_OBJ_SUBDIR@
+top_srcdir     = @top_srcdir@
 srcdir         = @srcdir@
 prefix         = @prefix@
 exec_prefix    = @exec_prefix@
@@ -53,18 +55,26 @@ bindir              = @bindir@
 libdir         = @libdir@
 includedir     = @includedir@
 includesubdir  = @includesubdir@
+datarootdir    = @datarootdir@
+datadir                = @datadir@
 
 BINDIR         = $(DESTDIR)$(bindir)
 LIBDIR         = $(DESTDIR)$(libdir)
 INCLUDEDIR     = $(DESTDIR)$(includedir)$(includesubdir)
+DATADIR                = $(DESTDIR)$(datadir)
+
+PACKAGE                = @PACKAGE@
 
 LIBTOOL                = @LIBTOOL@
+LIBTOOL_OPTS   = @LIBTOOL_OPTS@
 LIBTOOL_CLEAN  = @LIB_CLEAN@
 LIBTOOL_COMPILE        = @LIB_COMPILE@
 LIBTOOL_LINK   = @LIB_LINK@
 
-INSTALL                = @INSTALL@
-INSTALL_PROG   = @INSTALL_PROGRAM@
+INSTALL                = @INSTALL@ @INSTALL_OPT_O@
+INSTALL_PROG   = @INSTALL_PROGRAM@ @INSTALL_OPT_S@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_DATA   = @INSTALL_DATA@
 transform      = @program_transform_name@
 TRANSFORM      = sed 's/$x$$//'|sed '$(transform)'|sed 's/$$/$x/'
 
@@ -75,7 +85,7 @@ CC            = @CC@
 CPP            = @CPP@
 
 CFLAGS         = @CFLAGS@ @EXTRA_CFLAGS@
-CPPFLAGS       = -I. -I$(srcdir) -I../test -DHAVE_CONFIG_H @CPPFLAGS@
+CPPFLAGS       = -I. -I$(srcdir) -I../test -DHAVE_CONFIG_H -DDATA_DIR=\"$(datadir)\" @CPPFLAGS@
 
 CCFLAGS                = $(CPPFLAGS) $(CFLAGS)
 
@@ -112,11 +122,11 @@ LIBS_DEFAULT      = $(TEST_ARGS) @LIBS@ $(TEST_LIBS) $(MATH_LIB)
 LDFLAGS_DEFAULT        = $(LDFLAGS_@DFT_UPR_MODEL@) $(LIBS_DEFAULT)
 
 # use these for linking with the (n)curses library and possibly pthreads
-LIBS_THREADS   = `echo "$(TEST_ARGS) @LIBS@" | sed -e 's/-lform.*-lpanel[^ ]*//'` $(TEST_LIBS) $(MATH_LIB) @PTHREAD@
+LIBS_THREADS   = `echo "$(TEST_ARGS) @LIBS@" | sed -e 's/-l@FORM_NAME@.*-l@PANEL_NAME@[^ ]*//'` $(TEST_LIBS) $(MATH_LIB) @PTHREAD@
 LDFLAGS_THREADS        = $(LDFLAGS_@DFT_UPR_MODEL@) $(LIBS_THREADS)
 
 # use these for linking with the (n)curses library
-LIBS_CURSES    = `echo "$(TEST_ARGS) @LIBS@" | sed -e 's/-lform.*-lpanel[^ ]*//'` $(TEST_LIBS) $(MATH_LIB)
+LIBS_CURSES    = `echo "$(TEST_ARGS) @LIBS@" | sed -e 's/-l@FORM_NAME@.*-l@PANEL_NAME@[^ ]*//'` $(TEST_LIBS) $(MATH_LIB)
 LDFLAGS_CURSES = $(LDFLAGS_@DFT_UPR_MODEL@) $(LIBS_CURSES)
 
 # use these for linking with the tinfo library if we have it, or curses library if not
@@ -127,8 +137,17 @@ LINT               = @LINT@
 LINT_OPTS      = @LINT_OPTS@
 LINT_LIBS      = -lform -lmenu -lpanel -lncurses @LIBS@
 
+INCDIR         = $(top_srcdir)/include
+incdir         = ../include
+
 HEADER_DEPS    = \
-       ../include/curses.h \
-       ../include/term.h
+       $(incdir)/curses.h \
+       $(incdir)/term.h \
+       $(incdir)/ncurses_cfg.h \
+       $(incdir)/ncurses_def.h \
+       $(incdir)/ncurses_dll.h \
+       $(incdir)/term.h \
+       $(incdir)/unctrl.h \
+       $(INCDIR)/nc_alloc.h
 
 # The rest is generated from the "programs" and "modules" files...