X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2FMakefile.in;h=be9cb1991d0a2e3229b75bc1771fb04ad448f29d;hp=f1ae7c08fa15f9949205f353665bba805f4e1a18;hb=4496a3f032d219fc5f622e9d82b0cd749e36fa0e;hpb=def73dda3feef55f48cc205a763c06ba1ea70e78 diff --git a/ncurses/Makefile.in b/ncurses/Makefile.in index f1ae7c08..be9cb199 100644 --- a/ncurses/Makefile.in +++ b/ncurses/Makefile.in @@ -1,6 +1,6 @@ -# $Id: Makefile.in,v 1.148 2015/10/17 21:48:15 Esa.Peuha Exp $ +# $Id: Makefile.in,v 1.156 2018/03/01 17:37:19 tom Exp $ ############################################################################## -# Copyright (c) 1998-2014,2015 Free Software Foundation, Inc. # +# Copyright (c) 1998-2017,2018 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"), # @@ -83,7 +83,7 @@ LT_UNDEF = @LT_UNDEF@ INSTALL = @INSTALL@ INSTALL_LIB = @INSTALL@ @INSTALL_LIB@ -INSTALL_PROG = @INSTALL_PROGRAM@ +INSTALL_PROG = @INSTALL_PROGRAM@ @INSTALL_OPT_S@ INSTALL_DATA = @INSTALL_DATA@ AR = @AR@ @@ -101,7 +101,7 @@ CPP = @CPP@ CFLAGS = @CFLAGS@ INCDIR = $(srcdir)/../include -CPPFLAGS = -DHAVE_CONFIG_H @CPPFLAGS@ +CPPFLAGS = -DHAVE_CONFIG_H -I../ncurses @CPPFLAGS@ CCFLAGS = $(CPPFLAGS) $(CFLAGS) @@ -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,12 @@ 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)/curses.priv.h \ + $(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) > $@ @@ -266,13 +275,15 @@ tags: @MAKE_UPPER_TAGS@ $(ETAGS) *.[ch] */*.[ch] mostlyclean :: - -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace + -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac + -test -d trace || rm -f trace -rm -f $(TEST_PROGS) 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