Files
cdesktop/cde/lib/DtTerm/TermPrim/Makefile.am
Jon Trulson 2730367844 utempter: complete the implementation
Liang Chang added utempter support to the dtterm widget in
pre-autoconf CDE.  While the code itself was merged, it was still not
"turned on" for autoconf builds.

This commit completes the implementation allowing dtterm on Linux and
the BSDs to be installed without having to be setuid root -- as long
as the libutempter headers and libraries are installed.
2021-07-04 16:45:57 -06:00

63 lines
1.4 KiB
Makefile

MAINTAINERCLEANFILES = Makefile.in
noinst_LTLIBRARIES = libTermPrim.la
AM_CPPFLAGS = @DT_INCDIR@
libTermPrim_la_SOURCES = TermPrim.c \
TermPrimAction.c \
TermPrimBuffer.c \
TermPrimBufferWc.c \
TermPrimCursor.c \
TermPrimDebug.c \
TermPrimFunction.c \
TermPrimLineDraw.c \
TermPrimParse.c \
TermPrimParseTable.c \
TermPrimParser.c \
TermPrimPendingText.c \
TermPrimRender.c \
TermPrimRenderMb.c \
TermPrimRenderFont.c \
TermPrimRenderFontSet.c \
TermPrimRenderLineDraw.c \
TermPrimRepType.c \
TermPrimScroll.c \
TermPrimSelect.c \
TermPrimSetPty.c \
TermPrimSetUtmp.c \
TermPrimSubproc.c \
TermPrimUtil.c \
TermPrimVersion.c \
TermPrimWMProtocols.c
# JET there may be some more missing here...
if AIX
libTermPrim_la_SOURCES += TermPrimGetPty-clone.c
endif
if SOLARIS
libTermPrim_la_SOURCES += TermPrimGetPty-svr4.c
AM_CPPFLAGS += -DSUN_ARCHITECTURE
endif
# Use the posix pts api, like linux
if BSD
libTermPrim_la_SOURCES += TermPrimGetPty-pts.c
# uses CSRG_BASED global define
endif
if FREEBSD
AM_CPPFLAGS += -DFREEBSD_ARCHITECTURE
endif
if OPENBSD
AM_CPPFLAGS += -DOPENBSD_ARCHITECTURE
endif
if LINUX
libTermPrim_la_SOURCES += TermPrimGetPty-pts.c
AM_CPPFLAGS += -DLINUX_ARCHITECTURE
endif