]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/Makefile.in
ncurses 6.0 - patch 20170603
[ncurses.git] / ncurses / Makefile.in
index d761af1d5d7447a2af3988eea3a3d313636c3226..9bb8bb8780eaa8e5e87beb2cb46cd308be2e1d7e 100644 (file)
@@ -1,6 +1,6 @@
-# $Id: Makefile.in,v 1.152 2016/06/25 21:13:06 tom Exp $
+# $Id: Makefile.in,v 1.154 2017/06/03 13:02:30 tom Exp $
 ##############################################################################
-# Copyright (c) 1998-2015,2016 Free Software Foundation, Inc.                #
+# Copyright (c) 1998-2016,2017 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"), #
@@ -206,8 +206,9 @@ wide         = $(srcdir)/widechar
 win32con = $(srcdir)/win32con
 
 ################################################################################
-all \
-libs ::                $(AUTO_SRC) ../lib $(LIBRARIES)
+all libs ::    $(AUTO_SRC) ../lib $(LIBRARIES)
+
+@CHECK_BUILD@all libs ::       report_offsets$(BUILD_EXEEXT) 
 
 sources:       $(AUTO_SRC)
 
@@ -239,6 +240,11 @@ make_hash$(BUILD_EXEEXT) : \
                ../include/hashsize.h
        $(BUILD_CC) -o $@ $(BUILD_CPPFLAGS) $(BUILD_CCFLAGS) $(tinfo)/make_hash.c $(BUILD_LDFLAGS) $(BUILD_LIBS)
 
+report_offsets$(BUILD_EXEEXT) : \
+               $(srcdir)/report_offsets.c
+       $(BUILD_CC) -o $@ $(BUILD_CPPFLAGS) $(BUILD_CCFLAGS) $(srcdir)/report_offsets.c $(BUILD_LDFLAGS) $(BUILD_LIBS)
+       ./report_offsets$(BUILD_EXEEXT)
+
 ./expanded.c : $(srcdir)/curses.priv.h $(serial)/MKexpanded.sh
        $(SHELL) -e $(serial)/MKexpanded.sh "$(CPP)" $(CPPFLAGS) > $@
 
@@ -276,6 +282,7 @@ clean :: mostlyclean
        -rm -f $(AUTO_SRC)
        -rm -f make_keys$(BUILD_EXEEXT)
        -rm -f make_hash$(BUILD_EXEEXT)
+       -rm -f report_offsets$(BUILD_EXEEXT)
        -rm -rf .libs *.dSYM *.map
 
 distclean :: clean