1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtimsstart: make it build

This commit is contained in:
Jon Trulson 2019-11-21 20:06:29 -07:00
parent 97b14a9efc
commit bcc1ca537e
6 changed files with 22 additions and 15 deletions

View file

@ -453,6 +453,8 @@ programs/fontaliases/freebsd/C/Makefile
programs/dtdspmsg/Makefile
programs/dtimsstart/Makefile
])
AC_OUTPUT

View file

@ -6,26 +6,26 @@ bin_PROGRAMS = dtimsstart
dist_xsession_SCRIPTS = 0020.dtims
0020.dtims_CPPFLAGS = -P
dtimsstart_CFLAGS = -DNLS
dtimsstart_CFLAGS = -DNLS -I../../lib
dtimsstart_LDADD = $(LIBHELP) $(LIBSVC) $(LIBTT) -lXm $(XTOOLLIB) ${X_LIBS}
dtimsstart_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB)
if SOLARIS
dtimsstart_CFLAGS += -xF
endif
if AIX
dtimsstart_CFLAGS += -DANSICPP
endif
dtimsstart_SOURCES = action.c env.c file.c main.c remote.c select.c \
start.c util.c win.c ximserr.h ximsfunc.h xims.h \
ximspath.h
all: 0020.dtims
BUILT_SOURCES = 0020.dtims
CLEANFILE = $(BUILT_SOURCES)
dtimsstart_SOURCES = action.c env.c file.c \
main.c remote.c select.c \
start.c util.c
LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
-DKORNSHELL=$(KSH)
0020.dtims: 0020.dtims.src
$(RM) $@
$(GENCPP) -P -DXCOMM=# $(LOCAL_CPP_DEFINES) $< > $@
CPPSRC = 0020.dtims.src
CPPTARGET = 0020.dtims
include $(srcdir)/include/cppfile.tmpl

View file

@ -26,6 +26,8 @@
#include "xims.h"
int find_CDE_locale_name(void); /* from util.c */
typedef enum {
P_Shell, /* posix shell */
K_Shell, /* Korn shell */

View file

@ -27,6 +27,7 @@
#include <sys/wait.h>
#include <setjmp.h>
#include <unistd.h>
#include <time.h>
#if (defined(__linux__) || defined(CSRG_BASED)) && !defined(_NFILE)
#define _NFILE FOPEN_MAX

View file

@ -23,7 +23,8 @@
/* @(#)$XConsortium: util.c /main/6 1996/07/12 15:44:21 pascale $ */
#include <time.h>
#include <DtHelp/LocaleXlate.h> /* for locale equivalence between platforms */
#include <ctype.h>
#include <Dt/LocaleXlate.h> /* for locale equivalence between platforms */
#include "xims.h"
#include <sys/stat.h>

View file

@ -23,6 +23,7 @@
/* @(#)$TOG: win.c /main/9 1997/06/18 17:33:01 samborn $ */
#include <stdint.h>
#include <time.h>
#include <X11/X.h>
#include <X11/Xlib.h>