]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - include/Makefile.in
ncurses 5.9 - patch 20140503
[ncurses.git] / include / Makefile.in
index ce528409a6860aee086daa8b0fa7da0a64af8ca6..61f388461ef86361711b94d1a5c21b4a0325ce65 100644 (file)
@@ -1,6 +1,6 @@
-# $Id: Makefile.in,v 1.37 2009/08/10 20:50:04 tom Exp $
+# $Id: Makefile.in,v 1.41 2013/08/03 23:10:51 tom Exp $
 ##############################################################################
-# Copyright (c) 1998,2001,2009 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@
@@ -54,6 +58,9 @@ INSTALL_DATA  = @INSTALL_DATA@
 AWK            = @AWK@
 LN_S           = @LN_S@
 
+CTAGS          = @CTAGS@
+ETAGS          = @ETAGS@
+
 VERSION                = @cf_cv_rel_version@
 
 # The "Caps" file specifies the terminfo database format, as well as the list
@@ -74,6 +81,7 @@ AUTO_SRC = \
        hashsize.h \
        ncurses_def.h \
        parametrized.h \
+       config.h \
        term.h
 
 ################################################################################
@@ -105,11 +113,15 @@ 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]
+       $(CTAGS) *.[ch]
 
 @MAKE_UPPER_TAGS@TAGS:
-@MAKE_UPPER_TAGS@      etags *.[ch]
+@MAKE_UPPER_TAGS@      $(ETAGS) *.[ch]
 
 mostlyclean ::
        -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace
@@ -118,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