mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
programs/dtterm: add automake files
This commit is contained in:
parent
3737ce6f96
commit
3e21e982f3
2 changed files with 60 additions and 0 deletions
53
cde/programs/dtterm/Makefile.am
Normal file
53
cde/programs/dtterm/Makefile.am
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
if SUN
|
||||||
|
.NO_PARALLEL:
|
||||||
|
endif
|
||||||
|
|
||||||
|
all:: dtterm.ti DtTermFallBackResources.c
|
||||||
|
|
||||||
|
SUBDIRS = util
|
||||||
|
|
||||||
|
bin_PROGRAMS = dtterm
|
||||||
|
|
||||||
|
if BSD
|
||||||
|
UTILLIB = -lutil
|
||||||
|
endif
|
||||||
|
|
||||||
|
if SUN
|
||||||
|
LIBHELP =
|
||||||
|
endif
|
||||||
|
|
||||||
|
dtterm_LDADD = $(LIBTERM) $(XINPUTLIB) $(LIBHELP) \
|
||||||
|
-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 \
|
||||||
|
sunDtTermServer.c DtTermSyntax.c
|
||||||
|
|
||||||
|
CPPSRC = Dtterm.ad.src
|
||||||
|
CPPTARGET = Dtterm.ad
|
||||||
|
include $(srcdir)/include/cppfile.tmpl
|
||||||
|
|
||||||
|
CPPSRC = Dtterm.ad.src
|
||||||
|
CPPTARGET = DtTermFallBackResources.c.src
|
||||||
|
AM_CPPFLAGS = -DFALLBACK_RESOURCES
|
||||||
|
include $(srcdir)/include/cppfile.tmpl
|
||||||
|
|
||||||
|
DtTermFallBackResources.c: DtTermFallBackResources.c.src
|
||||||
|
$(RM) $@
|
||||||
|
./mkfallbk < DtTermFallBackResources.c.src > $@
|
||||||
|
|
||||||
|
dtterm.ti: terminfoChecklist
|
||||||
|
$(RM) $@
|
||||||
|
CPP="$(CPP) $(TIC_DEFINES)" $(SHELL) terminfoCreate < terminfoChecklist > $@
|
7
cde/programs/dtterm/util/Makefile.am
Normal file
7
cde/programs/dtterm/util/Makefile.am
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
|
noinst_PROGRAMS = logger
|
||||||
|
|
||||||
|
logger_LDADD = -lm
|
||||||
|
|
||||||
|
logger_SOURCES = logger.c
|
Loading…
Add table
Add a link
Reference in a new issue