]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/Makefile.in
ncurses 6.0 - patch 20180106
[ncurses.git] / ncurses / Makefile.in
index 40380ea04d4b53ce7d8c8a2a92e4586c412d18bf..9bb8bb8780eaa8e5e87beb2cb46cd308be2e1d7e 100644 (file)
@@ -1,6 +1,6 @@
-# $Id: Makefile.in,v 1.151 2016/05/21 21:28:51 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"), #
@@ -196,6 +196,8 @@ TEST_PROGS = \
        hashmap$x \
        lib_mvcur$x
 
+LOCAL_LIBDIR   = @top_builddir@/lib
+
 base    = $(srcdir)/base
 serial  = $(srcdir)/tty
 tinfo   = $(srcdir)/tinfo
@@ -204,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)
 
@@ -237,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) > $@
 
@@ -274,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