From 427a0611cd7cfd05c4ef53ea43bf42509fe26589 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Tue, 19 Nov 2019 19:59:20 -0700 Subject: [PATCH] dtscreen: make it build --- cde/configure.ac | 2 ++ cde/programs/dtscreen/Makefile.am | 24 +++++++++++++----------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/cde/configure.ac b/cde/configure.ac index e9512b90..428b8281 100644 --- a/cde/configure.ac +++ b/cde/configure.ac @@ -408,6 +408,8 @@ programs/dtaction/Makefile programs/dtspcd/Makefile +programs/dtscreen/Makefile + ]) AC_OUTPUT diff --git a/cde/programs/dtscreen/Makefile.am b/cde/programs/dtscreen/Makefile.am index d06a1fb5..083bbfa2 100644 --- a/cde/programs/dtscreen/Makefile.am +++ b/cde/programs/dtscreen/Makefile.am @@ -1,20 +1,22 @@ -defaultdir = ${prefix}/app_defaults/C +MAITAINERCLEANFILES = Makefile.in bin_PROGRAMS = dtscreen -dist_default_DATA = Dtscreen - -dtscreen_LDADD = -lm $(SVCLIB) $(LIBTT) $(XTOOLLIB) ${X_LIBS} +dtscreen_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB) if SOLARIS dtscreen_LDADD += -ldl -lgen endif -dtscreen_SOURCES = blank.c dtscreen.c flame.c hopalong.c \ - hsbramp.c image.c life.c pyro.c \ - qix.c resource.c rotor.c swarm.c \ - usleep.c worm.c +dtscreen_SOURCES = blank.c dtscreen.c flame.c hopalong.c hsbramp.c \ + image.c life.c pyro.c qix.c resource.c rotor.c \ + swarm.c usleep.c worm.c dtscreen.h + +CPP_TARGETS = Dtscreen +BUILT_SOURCES = $(CPP_TARGETS) +CLEANFILES = $(CPP_TARGETS) + +Dtscreen: Dtscreen.src + $(RM) $@ + $(GENCPP) -P -DXCOMM=# $< > $@ -CPPTARGET = Dtscreen -CPPSRC = Dtscreen.src -include $(srcdir)/include/cppfile.tmpl -- 2.25.1