include $(top_srcdir)/Makefile.defines.in
-INCLUDES = \
+INCLUDES += \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core/ \
-I$(top_srcdir)/src/fe-common/core/ \
@PERL_LINK_LIBS@ \
@PERL_FE_LINK_LIBS@
-LIBS = $(SILC_COMMON_LIBS)
silc_LDADD = \
@COMMON_LIBS@ \
- -L$(silc_top_srcdir)/lib -lsilcclient \
@PERL_LINK_LIBS@ \
@PERL_FE_LINK_LIBS@ \
+ $(SILC_COMMON_LDFLAGS) \
+ -lsilcclient \
+ $(SILC_COMMON_LIBS) \
@PERL_LINK_FLAGS@ \
@PROG_LIBS@ \
@TEXTUI_LIBS@
curses_sources = \
term-curses.c
+cuix_sources = \
+ cuix-api.c \
+ cuix-lib.c \
+ cuix.c
+
if NEED_TPARM
use_tparm_sources = $(tparm_sources)
endif
use_term_sources = $(terminfo_sources)
endif
+if USE_CUIX
+use_term_sources += $(cuix_sources)
+silc_LDADD += -lform -lpanel -lmenu
+INCLUDES += -I$(top_srcdir)/src/irc/core
+endif
+
silc_SOURCES = \
gui-entry.c \
gui-expandos.c \
textbuffer-commands.c \
textbuffer-reformat.c \
textbuffer-view.c \
- utf8.c \
silc.c \
module-formats.c
textbuffer.h \
textbuffer-view.h \
textbuffer-reformat.h \
- utf8.h \
module.h \
module-formats.h