- @ if test "$(includedir)" != "$(prefix)/include" ; then \
- echo '** Include-directory is not in a standard location'; fi
+ @ test "$(includedir)" = "$(prefix)/include" || \
+ echo '** Include-directory is not in a standard location'
+ @ test ! -f $(includedir)/termcap.h || \
+ fgrep NCURSES_VERSION $(includedir)/termcap.h >/dev/null || \
+ echo '** Will overwrite non-ncurses termcap.h'
+ @ test ! -f $(includedir)/curses.h || \
+ fgrep NCURSES_VERSION $(includedir)/curses.h >/dev/null || \
+ echo '** Will overwrite non-ncurses curses.h'
+
+dlls: libs
+ $(SHELL) $(srcdir)/mk-dlls.sh
+
+distclean \
+realclean ::
+ -rm -f mk-dlls.sh mingw_arch