]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - include/Makefile.in
ncurses 5.9 - patch 20140913
[ncurses.git] / include / Makefile.in
index 4aa5e80aade592ec54792119324c083d65bd7e6e..61f388461ef86361711b94d1a5c21b4a0325ce65 100644 (file)
@@ -1,6 +1,6 @@
-# $Id: Makefile.in,v 1.38 2010/04/03 15:27:33 tom Exp $
+# $Id: Makefile.in,v 1.41 2013/08/03 23:10:51 tom Exp $
 ##############################################################################
-# Copyright (c) 1998,2009,2010 Free Software Foundation, Inc.                #
+# Copyright (c) 1998-2010,2013 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"), #
@@ -40,6 +40,7 @@
 .SUFFIXES:
 
 SHELL          = /bin/sh
+VPATH          = @srcdir@
 THIS           = Makefile
 
 DESTDIR                = @DESTDIR@
@@ -47,6 +48,9 @@ srcdir                = @srcdir@
 prefix         = @prefix@
 exec_prefix    = @exec_prefix@
 includedir     = @includedir@
+includesubdir  = @includesubdir@
+
+INCLUDEDIR     = $(DESTDIR)$(includedir)$(includesubdir)
 
 INSTALL                = @INSTALL@
 INSTALL_DATA   = @INSTALL_DATA@
@@ -77,6 +81,7 @@ AUTO_SRC = \
        hashsize.h \
        ncurses_def.h \
        parametrized.h \
+       config.h \
        term.h
 
 ################################################################################
@@ -108,6 +113,10 @@ ncurses_def.h: $(srcdir)/ncurses_defs $(srcdir)/MKncurses_def.sh
 parametrized.h: $(TERMINFO_CAPS) $(srcdir)/MKparametrized.sh
        AWK=$(AWK) sh $(srcdir)/MKparametrized.sh $(TERMINFO_CAPS) >$@
 
+# This is required by pthread.h on MinGW
+config.h:
+       touch $@
+
 tags:
        $(CTAGS) *.[ch]
 
@@ -121,7 +130,7 @@ clean :: mostlyclean
        -rm -f $(AUTO_SRC)
 
 distclean :: clean
-       -rm -f Makefile $(CONFIG_SRC)
+       -rm -f Makefile $(CONFIG_SRC) config.h
 
 realclean :: distclean