]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/Makefile.in
ncurses 5.9 - patch 20140831
[ncurses.git] / test / Makefile.in
index 22a0ac159834bde1218665925048168f56a40c81..5e8bd42a6e93a080cbf31308a009a1eb96447fd7 100644 (file)
@@ -1,6 +1,6 @@
-# $Id: Makefile.in,v 1.94 2007/01/13 22:31:09 tom Exp $
+# $Id: Makefile.in,v 1.113 2014/08/02 15:45:05 tom Exp $
 ##############################################################################
-# Copyright (c) 1998-2005,2006 Free Software Foundation, Inc.                #
+# Copyright (c) 1998-2013,2014 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"), #
@@ -35,6 +35,7 @@
 .SUFFIXES:
 
 SHELL          = /bin/sh
+VPATH          = @srcdir@
 
 @SET_MAKE@
 
@@ -46,19 +47,35 @@ MODEL               = ../@DFT_OBJ_SUBDIR@
 srcdir         = @srcdir@
 prefix         = @prefix@
 exec_prefix    = @exec_prefix@
+datarootdir    = @datarootdir@
+
+bindir         = @bindir@
 libdir         = @libdir@
 includedir     = @includedir@
+includesubdir  = @includesubdir@
+
+BINDIR         = $(DESTDIR)$(bindir)
+LIBDIR         = $(DESTDIR)$(libdir)
+INCLUDEDIR     = $(DESTDIR)$(includedir)$(includesubdir)
 
 LIBTOOL                = @LIBTOOL@
 LIBTOOL_CLEAN  = @LIB_CLEAN@
 LIBTOOL_COMPILE        = @LIB_COMPILE@
 LIBTOOL_LINK   = @LIB_LINK@
 
+INSTALL                = @INSTALL@
+INSTALL_PROG   = @INSTALL_PROGRAM@
+transform      = @program_transform_name@
+TRANSFORM      = sed 's/$x$$//'|sed '$(transform)'|sed 's/$$/$x/'
+
+CTAGS          = @CTAGS@
+ETAGS          = @ETAGS@
+
 CC             = @CC@
 CPP            = @CPP@
 
 CFLAGS         = @CFLAGS@ @EXTRA_CFLAGS@
-CPPFLAGS       =  -I../test -I$(srcdir) -DHAVE_CONFIG_H @CPPFLAGS@
+CPPFLAGS       = -I. -I$(srcdir) -I../test -DHAVE_CONFIG_H @CPPFLAGS@
 
 CCFLAGS                = $(CPPFLAGS) $(CFLAGS)
 
@@ -75,9 +92,10 @@ ABI_VERSION  = @cf_cv_abi_version@
 LOCAL_LIBDIR   = @top_builddir@/lib
 LOCAL_LIBS     = @TEST_DEPS@
 MATH_LIB       = @MATH_LIB@
+TEST_LIBS      = @TEST_LIBS@
 
 LD             = @LD@
-LINK           = @LINK_TESTS@ $(LIBTOOL_LINK) $(CC) $(CFLAGS)
+LINK           = @LINK_TESTS@ $(LIBTOOL_LINK) $(CFLAGS)
 
 LDFLAGS                = @LD_MODEL@ @LOCAL_LDFLAGS@ @LDFLAGS@
 
@@ -87,18 +105,23 @@ LDFLAGS_DEBUG      = $(LDFLAGS) $(CFLAGS_DEBUG)
 LDFLAGS_PROFILE        = $(LDFLAGS) $(CFLAGS_PROFILE)
 LDFLAGS_SHARED = $(LDFLAGS) $(CFLAGS_SHARED) @LD_SHARED_OPTS@
 
+TEST_ARGS      = @LDFLAGS_STATIC@ @TEST_ARGS@ @LDFLAGS_SHARED@
+
 # use these for linking with all of the libraries
-LIBS_DEFAULT   = @TEST_ARGS@ @LIBS@ $(MATH_LIB)
+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@
+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[^ ]*//'` $(MATH_LIB)
+LIBS_CURSES    = `echo "$(TEST_ARGS) @LIBS@" | sed -e 's/-lform.*-lpanel[^ ]*//'` $(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
-# FIXME: TICS_LEAKS fixes linkage for --disable-leaks
-LIBS_TINFO     = @TICS_LEAKS@ @TINFO_ARGS@ @LIBS@ $(MATH_LIB)
-LDFLAGS_TINFO  = $(LDFLAGS_@DFT_UPR_MODEL@) $(LIBS_TINFO)
+LIBS_TINFO     = @LDFLAGS_STATIC@ @TINFO_LIBS@ @LDFLAGS_SHARED@ @LIBS@ $(TEST_LIBS) $(MATH_LIB)
+LDFLAGS_TINFO  = @TINFO_LDFLAGS@ $(LDFLAGS_@DFT_UPR_MODEL@) $(LIBS_TINFO)
 
 LINT           = @LINT@
 LINT_OPTS      = @LINT_OPTS@