]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - menu/Makefile.in
ncurses 6.2 - patch 20201227
[ncurses.git] / menu / Makefile.in
index 495651c2084db0d62b115ec72c1033b19bc44313..fb13eb07c8ef4470d368a3f8273ed79844d4ee8b 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile.in,v 1.66 2020/02/02 23:34:34 tom Exp $
+# $Id: Makefile.in,v 1.70 2020/08/29 14:50:45 tom Exp $
 ##############################################################################
 # Copyright 2020 Thomas E. Dickey                                            #
 # Copyright 1998-2015,2018 Free Software Foundation, Inc.                    #
 ##############################################################################
 # Copyright 2020 Thomas E. Dickey                                            #
 # Copyright 1998-2015,2018 Free Software Foundation, Inc.                    #
@@ -90,16 +90,18 @@ ETAGS               = @ETAGS@
 
 CC             = @CC@
 CPP            = @CPP@
 
 CC             = @CC@
 CPP            = @CPP@
-CFLAGS         = @CFLAGS@
+CFLAGS         = @CFLAGS@ @EXTRA_CFLAGS@
 
 
-CPPFLAGS       = -I${top_srcdir}/ncurses -DHAVE_CONFIG_H @CPPFLAGS@
+INCDIR         = $(top_srcdir)/include
+BASE_DIR       = $(top_srcdir)/ncurses
+CPPFLAGS       = -I$(BASE_DIR) -DHAVE_CONFIG_H -DBUILDING_MENU @CPPFLAGS@
 
 CCFLAGS                = $(CPPFLAGS) $(CFLAGS)
 
 CFLAGS_LIBTOOL = $(CCFLAGS)
 
 CCFLAGS                = $(CPPFLAGS) $(CFLAGS)
 
 CFLAGS_LIBTOOL = $(CCFLAGS)
-CFLAGS_NORMAL  = $(CCFLAGS)
-CFLAGS_DEBUG   = $(CCFLAGS) @CC_G_OPT@ -DTRACE
-CFLAGS_PROFILE = $(CCFLAGS) -pg
+CFLAGS_NORMAL  = $(CCFLAGS) -DNCURSES_STATIC
+CFLAGS_DEBUG   = $(CCFLAGS) -DNCURSES_STATIC @CC_G_OPT@ -DTRACE
+CFLAGS_PROFILE = $(CCFLAGS) -DNCURSES_STATIC -pg
 CFLAGS_SHARED  = $(CCFLAGS) @CC_SHARED_OPTS@
 
 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
 CFLAGS_SHARED  = $(CCFLAGS) @CC_SHARED_OPTS@
 
 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
@@ -157,9 +159,22 @@ $(DESTDIR)$(libdir) :
        cp $(srcdir)/mf_common.h $@
 
 HEADER_DEPS = \
        cp $(srcdir)/mf_common.h $@
 
 HEADER_DEPS = \
+       ../include/curses.h \
+       ../include/ncurses_cfg.h \
+       ../include/ncurses_def.h \
+       ../include/ncurses_dll.h \
+       ../include/term.h \
+       ../include/unctrl.h \
+       $(BASE_DIR)/curses.priv.h \
+       $(BASE_DIR)/new_pair.h \
+       $(INCDIR)/nc_alloc.h \
+       $(INCDIR)/nc_panel.h \
+       $(INCDIR)/nc_string.h \
+       $(INCDIR)/nc_termios.h \
+       $(INCDIR)/nc_tparm.h \
+       $(INCDIR)/term_entry.h \
        $(srcdir)/menu.priv.h \
        $(srcdir)/menu.priv.h \
-       $(AUTO_SRC) \
-       ../include/curses.h
+       $(AUTO_SRC)
 
 tags:
        $(CTAGS) *.[ch]
 
 tags:
        $(CTAGS) *.[ch]