Files
mcde/programs/dtterm/Makefile.am
T
lotherkandClaude Opus 5.5 7ea25c5d3e mcde: fold the nine pkgsrc patches of wm/cde into the tree
A fork carries its fixes in the source; the recipe no longer patches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 19:37:04 +00:00

50 lines
1.2 KiB
Makefile

MAINTAINERCLEANFILES = Makefile.in
bin_PROGRAMS = dtterm
dtterm_LDADD = $(LIBTERM) $(DTCLIENTLIBS) $(XTOOLLIB)
if BSD
dtterm_LDADD += -lutil
endif
if HAS_UTEMPTER_LIBRARY
dtterm_LDADD += -lutempter
endif
dtterm_CFLAGS = -I$(top_builddir)/lib/DtTerm/TermPrim \
-I$(top_builddir)/lib/DtTerm/Term \
-I$(top_builddir)/lib/DtTerm/TermView \
$(DT_INCDIR) \
-DSUN_TERMINAL_SERVER
dtterm_SOURCES = DtTermLogit.c DtTermMain.c DtTermFallBackResources.c \
sunDtTermServer.c DtTermSyntax.c DtTermLogit.h \
DtTermMain.h DtTermServer.h DtTermSyntax.h
CPP_TARGETS = dtterm.ti DtTermFallBackResources.c.src \
DtTermFallBackResources.c Dtterm.ad
BUILT_SOURCES = $(CPP_TARGETS)
CLEANFILES = $(CPP_TARGETS)
cfgdir = $(CDE_INSTALLATION_TOP)/config
dist_cfg_DATA = dtterm.ti
Dtterm.ad: Dtterm.ad.src
$(RM) $@
$(GENCPP) -P -DXCOMM=# $< > $@
DtTermFallBackResources.c.src: Dtterm.ad.src
$(RM) $@
$(GENCPP) -P -DXCOMM=# -DFALLBACK_RESOURCES $< > $@
DtTermFallBackResources.c: DtTermFallBackResources.c.src
$(RM) $@
./mkfallbk < DtTermFallBackResources.c.src > $@
dtterm.ti: terminfoChecklist
$(RM) $@
CPP="$(GENCPP)" $(SHELL) terminfoCreate < terminfoChecklist > $@