Files
mcde/programs/dtchat/Makefile.am
T
lotherk 9492ee4ffe dtchat: install the program, headless mode and manual, and list them in the PLIST (T10.6)
bin_PROGRAMS now installs dtchat and dtchat-headless; man_MANS installs dtchat.1 (the roff source was renamed from dtchat.man because automake treats .man as section m). The PLIST gains the lines for bin/dtchat, bin/dtchat-headless, app-defaults/C/Dtchat, the three Dtchat icons, appconfig/types/C/dtchat.dt, appmanager/C/Internet/Dtchat, the C and de_DE.UTF-8 dtchat.cat and dt/man/man1/dtchat.1. Verification (make mcde-host MCDE_DIRS=install, mcde-plist-check, pkg_add/pkg_delete) is pending: a foreign release chain holds the lock (pid 141722).
2026-11-17 07:11:29 +00:00

46 lines
1.6 KiB
Makefile

MAINTAINERCLEANFILES = Makefile.in
bin_PROGRAMS = dtchat dtchat-headless
noinst_PROGRAMS = dtchat-demo dtchat-irc
man_MANS = dtchat.1
dtchat_CPPFLAGS = -I$(top_srcdir)/include \
-I$(top_srcdir)/lib/libDtChat -I$(top_builddir)/lib/libDtChat \
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\"
# The model and the JSON schema helpers live in libDtChat/libDtChatIpc;
# DtInitialize/DTCLIENTLIBS come with T2.7.
dtchat_LDADD = $(top_builddir)/lib/libDtChat/libDtChat.la \
$(top_builddir)/lib/libDtChat/libDtChatIpc.la $(XTOOLLIB)
dtchat_SOURCES = main.c ui_main.c ui_accounts.c ui_request.c ui_peer.c \
ui_file.c localui.c demo.c ui_main.h ui_accounts.h ui_request.h \
ui_peer.h ui_file.h localui.h demo.h
dtchat_demo_SOURCES = demo_adapter.c
dtchat_demo_CPPFLAGS = -I$(top_srcdir)/include \
-I$(top_srcdir)/lib/libDtChat -I$(top_builddir)/lib/libDtChat
dtchat_demo_LDADD = $(top_builddir)/lib/libDtChat/libDtChatIpc.la
dtchat_irc_SOURCES = irc_adapter.c
dtchat_irc_CPPFLAGS = -I$(top_srcdir)/include \
-I$(top_srcdir)/lib/libDtChat -I$(top_builddir)/lib/libDtChat \
$(TLS_CPPFLAGS)
dtchat_irc_LDADD = $(top_builddir)/lib/libDtChat/libDtChat.la \
$(top_builddir)/lib/libDtChat/libDtChatIpc.la $(LIBTLS)
dtchat_headless_SOURCES = headless.c
dtchat_headless_CPPFLAGS = -I$(top_srcdir)/include \
-I$(top_srcdir)/lib/libDtChat -I$(top_builddir)/lib/libDtChat
dtchat_headless_LDADD = $(top_builddir)/lib/libDtChat/libDtChat.la \
$(top_builddir)/lib/libDtChat/libDtChatIpc.la $(LIBTLS) $(CRYPTOLIB)
appdefaultsdir = $(CDE_INSTALLATION_TOP)/app-defaults/C
dist_appdefaults_DATA = Dtchat
if SOLARIS
dtchat_LDADD += -lintl
endif