HAVE_PTHREAD := @HAVE_PTHREAD@
HAVE_OSS := @HAVE_OSS@
HAVE_ALSA := @HAVE_ALSA@
+HAVE_CURSES := @HAVE_CURSES@
executables := @executables@
recv_objs := @recv_objs@
filter_objs := @filter_objs@
-gui_objs := @gui_objs@
audioc_objs := @audioc_objs@
write_objs := @write_objs@
afh_objs := @afh_objs@
mixer_objs += alsa_mix.o
endif
endif
+ifeq ($(HAVE_CURSES),yes)
+ gui_objs := $(addsuffix .o, exec signal string stat ringbuffer fd \
+ gui gui_theme lsu time sched version)
+endif
# sort removes duplicate words, which is all we need here
all_objs := $(sort $(recv_objs) $(filter_objs) $(client_objs) $(gui_objs) \
if test $HAVE_CURSES = yes; then
build_gui="yes"
executables="$executables gui"
- gui_objs="
- exec
- signal
- string
- stat
- ringbuffer
- fd
- gui
- gui_theme
- lsu
- time
- sched
- version
- "
- AC_SUBST(gui_objs, add_dot_o($gui_objs))
-else
- build_gui="no"
- AC_MSG_WARN([no curses lib, cannot build para_gui])
fi
######################################################################## filter
filter_objs="