mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtterm: make it build
This commit is contained in:
parent
427e455321
commit
c8329a4ead
2 changed files with 24 additions and 34 deletions
|
@ -400,6 +400,8 @@ programs/dtdbcache/Makefile
|
||||||
|
|
||||||
programs/dticon/Makefile
|
programs/dticon/Makefile
|
||||||
|
|
||||||
|
programs/dtterm/Makefile
|
||||||
|
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
|
@ -1,48 +1,36 @@
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
if SOLARIS
|
|
||||||
.NO_PARALLEL:
|
|
||||||
endif
|
|
||||||
|
|
||||||
all:: dtterm.ti DtTermFallBackResources.c
|
|
||||||
|
|
||||||
SUBDIRS = util
|
|
||||||
|
|
||||||
bin_PROGRAMS = dtterm
|
bin_PROGRAMS = dtterm
|
||||||
|
|
||||||
|
dtterm_LDADD = $(LIBTERM) $(DTCLIENTLIBS) $(XTOOLLIB)
|
||||||
|
|
||||||
if BSD
|
if BSD
|
||||||
UTILLIB = -lutil
|
dtterm_LDADD += -lutil
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if SOLARIS
|
dtterm_CFLAGS = -I$(top_builddir)/lib/DtTerm/TermPrim \
|
||||||
LIBHELP =
|
-I$(top_builddir)/lib/DtTerm/Term \
|
||||||
endif
|
-I$(top_builddir)/lib/DtTerm/TermView $(TIRPCINC) \
|
||||||
|
-I$(top_builddir)/include/Dt \
|
||||||
dtterm_LDADD = $(LIBTERM) $(XINPUTLIB) $(LIBHELP) \
|
-DSUN_TERMINAL_SERVER
|
||||||
-lXm $(XTOOLLIB) ${X_LIB} $(UTILLIB) $(LIBSVC) $(LIBTT)
|
|
||||||
|
|
||||||
dtterm_CFLAGS = -I$(DTTERMSRC)/TermPrim -I$(DTTERMSRC)/Term \
|
|
||||||
-I$(DTTERMSRC)/TermView $(TIRPCINC)
|
|
||||||
|
|
||||||
if AIX
|
|
||||||
dtterm_CFLAGS += -DHAS_KNL -DHAS_KTAB
|
|
||||||
endif
|
|
||||||
|
|
||||||
if HPVUE
|
|
||||||
AM_CPPFLAGS += -DBUILD_HPVUE -DHPVUE
|
|
||||||
endif
|
|
||||||
|
|
||||||
dtterm_SOURCES = DtTermLogit.c DtTermMain.c DtTermFallBackResources.c \
|
dtterm_SOURCES = DtTermLogit.c DtTermMain.c DtTermFallBackResources.c \
|
||||||
sunDtTermServer.c DtTermSyntax.c
|
sunDtTermServer.c DtTermSyntax.c DtTermLogit.h \
|
||||||
|
DtTermMain.h DtTermServer.h DtTermSyntax.h
|
||||||
|
|
||||||
CPPSRC = Dtterm.ad.src
|
CPP_TARGETS = dtterm.ti DtTermFallBackResources.c.src \
|
||||||
CPPTARGET = Dtterm.ad
|
DtTermFallBackResources.c Dtterm.ad
|
||||||
include $(srcdir)/include/cppfile.tmpl
|
|
||||||
|
|
||||||
CPPSRC = Dtterm.ad.src
|
BUILT_SOURCES = $(CPP_TARGETS)
|
||||||
CPPTARGET = DtTermFallBackResources.c.src
|
CLEANFILES = $(CPP_TARGETS)
|
||||||
AM_CPPFLAGS = -DFALLBACK_RESOURCES
|
|
||||||
include $(srcdir)/include/cppfile.tmpl
|
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
|
DtTermFallBackResources.c: DtTermFallBackResources.c.src
|
||||||
$(RM) $@
|
$(RM) $@
|
||||||
|
@ -50,4 +38,4 @@ DtTermFallBackResources.c: DtTermFallBackResources.c.src
|
||||||
|
|
||||||
dtterm.ti: terminfoChecklist
|
dtterm.ti: terminfoChecklist
|
||||||
$(RM) $@
|
$(RM) $@
|
||||||
CPP="$(CPP) $(TIC_DEFINES)" $(SHELL) terminfoCreate < terminfoChecklist > $@
|
CPP="$(GENCPP)" $(SHELL) terminfoCreate < terminfoChecklist > $@
|
||||||
|
|
Loading…
Reference in a new issue