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:
parent
97b14a9efc
commit
bcc1ca537e
6 changed files with 22 additions and 15 deletions
|
@ -453,6 +453,8 @@ programs/fontaliases/freebsd/C/Makefile
|
||||||
|
|
||||||
programs/dtdspmsg/Makefile
|
programs/dtdspmsg/Makefile
|
||||||
|
|
||||||
|
programs/dtimsstart/Makefile
|
||||||
|
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
|
@ -6,26 +6,26 @@ bin_PROGRAMS = dtimsstart
|
||||||
|
|
||||||
dist_xsession_SCRIPTS = 0020.dtims
|
dist_xsession_SCRIPTS = 0020.dtims
|
||||||
|
|
||||||
0020.dtims_CPPFLAGS = -P
|
dtimsstart_CFLAGS = -DNLS
|
||||||
|
|
||||||
dtimsstart_CFLAGS = -DNLS -I../../lib
|
dtimsstart_LDADD = $(DTCLIENTLIBS) $(XTOOLLIB)
|
||||||
|
|
||||||
dtimsstart_LDADD = $(LIBHELP) $(LIBSVC) $(LIBTT) -lXm $(XTOOLLIB) ${X_LIBS}
|
|
||||||
|
|
||||||
if SOLARIS
|
if SOLARIS
|
||||||
dtimsstart_CFLAGS += -xF
|
dtimsstart_CFLAGS += -xF
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if AIX
|
dtimsstart_SOURCES = action.c env.c file.c main.c remote.c select.c \
|
||||||
dtimsstart_CFLAGS += -DANSICPP
|
start.c util.c win.c ximserr.h ximsfunc.h xims.h \
|
||||||
endif
|
ximspath.h
|
||||||
|
|
||||||
all: 0020.dtims
|
BUILT_SOURCES = 0020.dtims
|
||||||
|
CLEANFILE = $(BUILT_SOURCES)
|
||||||
|
|
||||||
dtimsstart_SOURCES = action.c env.c file.c \
|
LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
|
||||||
main.c remote.c select.c \
|
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
|
||||||
start.c util.c
|
-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
|
|
||||||
|
|
|
@ -26,6 +26,8 @@
|
||||||
#include "xims.h"
|
#include "xims.h"
|
||||||
|
|
||||||
|
|
||||||
|
int find_CDE_locale_name(void); /* from util.c */
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
P_Shell, /* posix shell */
|
P_Shell, /* posix shell */
|
||||||
K_Shell, /* Korn shell */
|
K_Shell, /* Korn shell */
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
#if (defined(__linux__) || defined(CSRG_BASED)) && !defined(_NFILE)
|
#if (defined(__linux__) || defined(CSRG_BASED)) && !defined(_NFILE)
|
||||||
#define _NFILE FOPEN_MAX
|
#define _NFILE FOPEN_MAX
|
||||||
|
|
|
@ -23,7 +23,8 @@
|
||||||
/* @(#)$XConsortium: util.c /main/6 1996/07/12 15:44:21 pascale $ */
|
/* @(#)$XConsortium: util.c /main/6 1996/07/12 15:44:21 pascale $ */
|
||||||
|
|
||||||
#include <time.h>
|
#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 "xims.h"
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
/* @(#)$TOG: win.c /main/9 1997/06/18 17:33:01 samborn $ */
|
/* @(#)$TOG: win.c /main/9 1997/06/18 17:33:01 samborn $ */
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
#include <X11/X.h>
|
#include <X11/X.h>
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue