bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ncurses: Makefile dependencies?


From: Ralf S. Engelschall
Subject: ncurses: Makefile dependencies?
Date: Sat, 21 Oct 2006 10:14:46 +0200
User-agent: Mutt/1.5.13 OpenPKG/CURRENT (2006-08-11)

In the OpenPKG "ncurses" package some time ago we had to add a bunch
of additional dependencies to the Makefiles in order to allow NCurses
to build without trouble on all of our supported Unix platforms. As
we are carrying this patch for a longer time, I no longer know which
particular platforms caused the problems and whether the additional
dependencies are _still really needed_. So, just don't take this over
as is but please review it in detail and use this as a hint for your
own checking of the internal NCurses dependencies. Well, OTOH these
additional dependencies wouldn't _hurt_ even if a newer investigation
shows that they are no longer really needed...

Index: ncurses/Makefile.in
--- ncurses/Makefile.in.orig    Wed Dec 22 13:02:27 2004
+++ ncurses/Makefile.in Wed Dec 22 13:02:30 2004
@@ -273,7 +273,8 @@
        @ECHO_LINK@ $(CC) -o $@ $(CFLAGS_DEFAULT) -DHASHDEBUG 
$(serial)/hashmap.c $(TEST_LDFLAGS)

 lib_mvcur$x : $(serial)/lib_mvcur.c $(TEST_DEPS) \
-               ../@DFT_OBJ_SUBDIR@/dump_entry$o
+               ../@DFT_OBJ_SUBDIR@/dump_entry$o \
+               ../@DFT_OBJ_SUBDIR@/comp_parse$o
        @ECHO_LINK@ $(CC) -o $@ $(CFLAGS_DEFAULT) -DNCURSES_TEST 
-I$(serial)/../../progs $(serial)/lib_mvcur.c ../@DFT_OBJ_SUBDIR@/dump_entry$o 
$(TEST_LDFLAGS)

 link_test$x : link_test.c $(TEST_DEPS) \
Index: progs/Makefile.in
--- progs/Makefile.in.orig      Sat Nov  1 23:45:57 2003
+++ progs/Makefile.in   Wed Dec 22 13:04:07 2004
@@ -192,7 +192,8 @@

 DEPS_TIC = \
        $(MODEL)/tic$o \
-       $(MODEL)/dump_entry$o
+       $(MODEL)/dump_entry$o \
+       $(MODEL)/comp_parse$o

 tic$x: $(DEPS_TIC) $(DEPS_CURSES) transform.h
        @ECHO_LINK@ $(LINK) $(DEPS_TIC) $(LDFLAGS_DEFAULT) -o $@
@@ -211,14 +212,16 @@
        @ECHO_LINK@ $(LINK) $(DEPS_CLEAR) $(LDFLAGS_DEFAULT) -o $@

 DEPS_TPUT = \
-       $(MODEL)/tput$o
+       $(MODEL)/tput$o \
+       $(MODEL)/lib_tparm$o

 tput$x: $(DEPS_TPUT) $(DEPS_CURSES) transform.h
        @ECHO_LINK@ $(LINK) $(DEPS_TPUT) $(LDFLAGS_DEFAULT) -o $@

 DEPS_INFOCMP = \
        $(MODEL)/infocmp$o \
-       $(MODEL)/dump_entry$o
+       $(MODEL)/dump_entry$o \
+       $(MODEL)/comp_parse$o

 infocmp$x: $(DEPS_INFOCMP) $(DEPS_CURSES)
        @ECHO_LINK@ $(LINK) $(DEPS_INFOCMP) $(LDFLAGS_DEFAULT) -o $@
Index: test/programs
--- test/programs.orig  2006-06-18 09:10:51 +0200
+++ test/programs       2006-06-18 09:13:14 +0200
@@ -36,7 +36,7 @@
 cardfile       $(LDFLAGS_DEFAULT)      $(LOCAL_LIBS)   cardfile
 color_set      $(LDFLAGS_CURSES)       $(LOCAL_LIBS)   color_set
 demo_altkeys   $(LDFLAGS_CURSES)       $(LOCAL_LIBS)   demo_altkeys
-demo_defkey    $(LDFLAGS_CURSES)       $(LOCAL_LIBS)   demo_defkey
+demo_defkey    $(LDFLAGS_CURSES)       $(LOCAL_LIBS)   demo_defkey key_defined
 demo_forms     $(LDFLAGS_DEFAULT)      $(LOCAL_LIBS)   demo_forms edit_field
 demo_keyok     $(LDFLAGS_CURSES)       $(LOCAL_LIBS)   demo_keyok
 demo_menus     $(LDFLAGS_DEFAULT)      $(LOCAL_LIBS)   demo_menus

                                       Ralf S. Engelschall
                                       address@hidden
                                       www.engelschall.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]