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

Fix Linux rpc problems with new glibc

This commit is contained in:
Ulrich Wilkens 2018-05-31 22:50:44 +02:00 committed by Jon Trulson
parent 16fbb15ecc
commit 07f272122d
49 changed files with 93 additions and 97 deletions

View file

@ -1229,7 +1229,7 @@ get_gcc_incdir(FILE *inFile)
if ((gccproc = popen (cmd, "r")) != NULL) { if ((gccproc = popen (cmd, "r")) != NULL) {
if (fgets (buf, PATH_MAX - 1, gccproc) != NULL) { if (fgets (buf, PATH_MAX - 1, gccproc) != NULL) {
ptr = strstr (buf, "libgcc.a"); ptr = strstr (buf, "libgcc.a");
if (ptr) strncpy (ptr, "include", 7); if (ptr) strncpy (ptr, "include", 8);
} }
(void) pclose (gccproc); (void) pclose (gccproc);
break; break;
@ -1720,6 +1720,6 @@ Strdup(const char *cp)
{ {
char *new = Emalloc(strlen(cp) + 1); char *new = Emalloc(strlen(cp) + 1);
strncpy(new, cp, strlen(cp) + 1); memcpy(new, cp, strlen(cp) + 1);
return new; return new;
} }

View file

@ -27,7 +27,7 @@ DEFINES = DtSvcDefines \
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \ -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
-DCDE_LOGFILES_TOP=\"$(CDE_LOGFILES_TOP)/tmp\" -DCDE_LOGFILES_TOP=\"$(CDE_LOGFILES_TOP)/tmp\"
INCLUDES = -I. -I../include -I../DtUtil2 INCLUDES = -I. -I../include -I../DtUtil2 $(TIRPCINC)
SRCS = MemoryMgr.c SbEvent.c Symbolic.c bmsglob.c \ SRCS = MemoryMgr.c SbEvent.c Symbolic.c bmsglob.c \

View file

@ -18,7 +18,7 @@ DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = DtSvcDefines \ DEFINES = DtSvcDefines \
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \ -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
INCLUDES = -I. -I../include INCLUDES = -I. -I../include $(TIRPCINC)
HEADERS = \ HEADERS = \

View file

@ -22,7 +22,7 @@ DEFINES = DtSvcDefines $(XINOPT) \
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \ -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
INCLUDES = -I. -I../include INCLUDES = -I. -I../include $(TIRPCINC)
#ifdef SunArchitecture #ifdef SunArchitecture
EXTRA_INCLUDES = -I$(DTHELPSRC) EXTRA_INCLUDES = -I$(DTHELPSRC)

View file

@ -31,7 +31,7 @@ DependSubdirs($(SUBDIRS))
#endif #endif
DEFINES = DtSvcDefines $(XINOPT) DEFINES = DtSvcDefines $(XINOPT)
INCLUDES = -I. INCLUDES = -I. $(TIRPCINC)
#ifdef SharedDtSvcReqs #ifdef SharedDtSvcReqs
#ifdef SunArchitecture #ifdef SunArchitecture

View file

@ -10,7 +10,7 @@ XCOMM $TOG: Imakefile /main/4 1998/03/19 19:01:27 mgreess $
#include <Threads.tmpl> #include <Threads.tmpl>
INCLUDES = -I. INCLUDES = -I. $(TIRPCINC)
OSMAJORVERSION = OSMajorVersion OSMAJORVERSION = OSMajorVersion
OSMINORVERSION = OSMinorVersion OSMINORVERSION = OSMinorVersion

View file

@ -2,7 +2,7 @@ XCOMM $TOG: Imakefile /main/19 1998/04/09 11:46:13 mgreess $
#include <Threads.tmpl> #include <Threads.tmpl>
INCLUDES = -I. -I$(CSASRC) -I../libDtCmP -I$(DTHELPSRC) INCLUDES = -I. -I$(CSASRC) -I../libDtCmP -I$(DTHELPSRC) $(TIRPCINC)
SYS_LIBRARIES = -lm $(ICONVSYSLIB) SYS_LIBRARIES = -lm $(ICONVSYSLIB)
DTCMPLIB = ../libDtCmP/libDtCmP.a DTCMPLIB = ../libDtCmP/libDtCmP.a

View file

@ -84,6 +84,7 @@ extern time_t monthadd P((time_t, time_t));
extern time_t daylcorr P((time_t, time_t)); extern time_t daylcorr P((time_t, time_t));
extern time_t cm_getdate P((char*, struct timeb *)); extern time_t cm_getdate P((char*, struct timeb *));
int yylex();
extern void yyerror(char *s); extern void yyerror(char *s);
#endif #endif

View file

@ -28,6 +28,7 @@
%{ %{
#ifndef lint #ifndef lint
__attribute__((unused))
static char sccsid[] = "@(#)getdate.y 1.10 94/11/07 Copyr 1993 Sun Microsystems, Inc."; static char sccsid[] = "@(#)getdate.y 1.10 94/11/07 Copyr 1993 Sun Microsystems, Inc.";
#endif #endif
%} %}
@ -112,8 +113,8 @@ dyspec: DAY
{dayord = 1; dayreq = $1;} {dayord = 1; dayreq = $1;}
| DAY ',' | DAY ','
{dayord = 1; dayreq = $1;} {dayord = 1; dayreq = $1;}
| NUMBER DAY | NUMBER ' ' DAY
{dayord = $1; dayreq = $2;}; {dayord = $1; dayreq = $3;};
dtspec: NUMBER '/' NUMBER dtspec: NUMBER '/' NUMBER
{month = $1; day = $3; noyear = 1;} {month = $1; day = $3; noyear = 1;}
@ -127,17 +128,17 @@ dtspec: NUMBER '/' NUMBER
{month = $1; day = $2; noyear = 1;} {month = $1; day = $2; noyear = 1;}
| MONTH NUMBER ',' NUMBER | MONTH NUMBER ',' NUMBER
{month = $1; day = $2; year = $4;} {month = $1; day = $2; year = $4;}
| NUMBER MONTH | NUMBER ' ' MONTH
{month = $2; day = $1; noyear = 1;} {month = $3; day = $1; noyear = 1;}
| NUMBER MONTH NUMBER | NUMBER ' ' MONTH ' ' NUMBER
{month = $2; day = $1; year = $3;}; {month = $3; day = $1; year = $5;};
rspec: NUMBER UNIT rspec: NUMBER ' ' UNIT
{relsec += 60L * $1 * $2;} {relsec += 60L * $1 * $3;}
| NUMBER MUNIT | NUMBER ' ' MUNIT
{relmonth += $1 * $2;} {relmonth += $1 * $3;}
| NUMBER SUNIT | NUMBER ' ' SUNIT
{relsec += $1;} {relsec += $1;}
| UNIT | UNIT
{relsec += 60L * $1;} {relsec += 60L * $1;}
@ -406,7 +407,7 @@ static int
lookup(char *id) lookup(char *id)
{ {
#define gotit (yylval=i->value, i->type) #define gotit (yylval=i->value, i->type)
#define getid for(j=idvar, k=id; *j++ = *k++; ) #define getid for(j=idvar, k=id; (*j++ = *k++); )
char idvar[20]; char idvar[20];
register char *j, *k; register char *j, *k;
@ -463,7 +464,7 @@ lookup(char *id)
static char *lptr; static char *lptr;
yylex() int yylex()
{ {
extern int yylval; extern int yylval;
int sign; int sign;
@ -550,7 +551,7 @@ time_t cm_getdate(char *p, struct timeb *now)
hh = mm = ss = 0; hh = mm = ss = 0;
merid = 24; merid = 24;
if (err = yyparse()) return (-1); if ((err = yyparse())) return (-1);
mcheck(timeflag); mcheck(timeflag);
mcheck(zoneflag); mcheck(zoneflag);

View file

@ -20,8 +20,8 @@ XCOMM (c) Copyright 1996 Hitachi.
PROGRAM = rpc.cmsd PROGRAM = rpc.cmsd
INCLUDES = -I. -I$(CSASRC) -I$(DTHELPSRC) INCLUDES = -I. -I$(CSASRC) -I$(DTHELPSRC) $(TIRPCINC)
SYS_LIBRARIES = DtClientSysLibs SYS_LIBRARIES = DtClientSysLibs $(TIRPCLIB)
#ifdef SunArchitecture #ifdef SunArchitecture
LOCAL_LIBRARIES = $(CSALIB) $(DTSVCLIB) $(TTLIB) LOCAL_LIBRARIES = $(CSALIB) $(DTSVCLIB) $(TTLIB)
#else #else

View file

@ -15,7 +15,7 @@ XCOMM
*/ */
DEPEND_DEFINES = $(DEPENDDEFINES) DEPEND_DEFINES = $(DEPENDDEFINES)
INCLUDES = -I. INCLUDES = -I. $(TIRPCINC)
#if defined (SunArchitecture) #if defined (SunArchitecture)
DEPLIBS = $(DEPDTWIDGETLIB) $(DEPDTSVCLIB) \ DEPLIBS = $(DEPDTWIDGETLIB) $(DEPDTSVCLIB) \
$(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB) $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)

View file

@ -9,7 +9,7 @@ XCOMM $XConsortium: Imakefile /main/5 1996/09/14 15:26:52 drk $
* It should be set when necessary to the real library macro name. * It should be set when necessary to the real library macro name.
*/ */
INCLUDES = -I. INCLUDES = -I. $(TIRPCINC)
/* DEPLIBS contains the list of library depencies for a client. /* DEPLIBS contains the list of library depencies for a client.
* LOCAL_LIBRARIES contains the list of libraries on the link line. * LOCAL_LIBRARIES contains the list of libraries on the link line.

View file

@ -4,7 +4,7 @@ DEPLIBS = $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)
LOCAL_LIBRARIES = $(TTLIB) $(XTOOLLIB) $(XLIB) LOCAL_LIBRARIES = $(TTLIB) $(XTOOLLIB) $(XLIB)
DEPEND_DEFINES = $(DEPENDDEFINES) DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DMSGLOG_CLIENT_ONLY DEFINES = -DMSGLOG_CLIENT_ONLY
INCLUDES = -I. INCLUDES = -I. $(TIRPCINC)
SRCS = DtGetMessage.c Main.c MsgLog.c Version.c SRCS = DtGetMessage.c Main.c MsgLog.c Version.c
OBJS = DtGetMessage.o Main.o MsgLog.o Version.o OBJS = DtGetMessage.o Main.o MsgLog.o Version.o

View file

@ -19,7 +19,7 @@ DEFINES = -DMULTIBYTE -DSHAPE -D_ILS_MACROS -DSUN_PERF \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \ -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
-DKORNSHELL=\"$(KORNSHELL)\" $(XINOPT) -DKORNSHELL=\"$(KORNSHELL)\" $(XINOPT)
INCLUDES = -I./dtcopy INCLUDES = -I./dtcopy $(TIRPCINC)
DEPLIBS = DepDtClientLibs DEPLIBS = DepDtClientLibs
LOCAL_LIBRARIES = DtClientLibs $(XINLIB) LOCAL_LIBRARIES = DtClientLibs $(XINLIB)

View file

@ -15,7 +15,7 @@ XCOMM
DEPEND_DEFINES = $(DEPENDDEFINES) DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -D__TOOLTALK DEFINES = -D__TOOLTALK
INCLUDES = -I. INCLUDES = -I. $(TIRPCINC)
#if defined (SunArchitecture) #if defined (SunArchitecture)
DEPLIBS = $(DEPDTWIDGETLIB) $(DEPDTSVCLIB) $(DEPTTLIB) \ DEPLIBS = $(DEPDTWIDGETLIB) $(DEPDTSVCLIB) $(DEPTTLIB) \

View file

@ -81,7 +81,7 @@ FeatureSet::evaluate(FeatureSet *result_set) const
result_set->append(new Feature(next.key()->name(), result_set->append(new Feature(next.key()->name(),
value)); value));
} }
mcatch_noarg(badEvaluationException) mcatch_noarg(badEvaluationException&)
{ {
/* do nothing...we just ignore any that will not evaluate */ /* do nothing...we just ignore any that will not evaluate */
} }

View file

@ -139,7 +139,7 @@ protected:
}; };
#ifdef C_API #ifdef C_API
#define g_memory_pool (*g_memory_pool_ptr) #define g_memory_pool *g_memory_pool_ptr
extern memory_pool* g_memory_pool_ptr; extern memory_pool* g_memory_pool_ptr;
#endif #endif

View file

@ -349,12 +349,12 @@ int data_t::slot_num(int k, int rotate, int prime, int M )
void* data_t::operator new( size_t x ) void* data_t::operator new( size_t x )
{ {
//return (void*)data_t_space_pool.alloc(x); //return (void*)data_t_space_pool.alloc(x);
return (void*)g_memory_pool.alloc(x); return (void*)(g_memory_pool).alloc(x);
} }
void data_t::operator delete( void* ptr ) void data_t::operator delete( void* ptr )
{ {
//data_t_space_pool.free((char*)ptr); //data_t_space_pool.free((char*)ptr);
g_memory_pool.free((char*)ptr); (g_memory_pool).free((char*)ptr);
} }

View file

@ -136,7 +136,11 @@ void DtMmdbQuit()
} }
#if __cplusplus < 201103L
void* operator new( size_t sz ) throw(std::bad_alloc) void* operator new( size_t sz ) throw(std::bad_alloc)
#else
void* operator new( size_t sz )
#endif
{ {
void* p = (void*)malloc(sz); void* p = (void*)malloc(sz);
//printf("a::operator new called(). sz= %d, allo=%x\n", sz, p); //printf("a::operator new called(). sz= %d, allo=%x\n", sz, p);

View file

@ -160,7 +160,7 @@ user_base::checking_status_t user_base::check_mode()
user_base::checking_status_t user_base::check_lock() user_base::checking_status_t user_base::check_lock()
{ {
char lock_dir[PATHSIZ]; char lock_dir[PATHSIZ+5];
int len; int len;
snprintf(lock_dir, sizeof(lock_dir), "%s/%s", base_path, LOCK_DIR); snprintf(lock_dir, sizeof(lock_dir), "%s/%s", base_path, LOCK_DIR);

View file

@ -75,12 +75,12 @@ Boolean fbytes_t_eq(const void* x, const void* y)
void* fbytes_t::operator new( size_t x ) void* fbytes_t::operator new( size_t x )
{ {
//return (void*)heap_cell_space_pool.alloc(x); //return (void*)heap_cell_space_pool.alloc(x);
return (void*)g_memory_pool.alloc(x); return (void*)(g_memory_pool).alloc(x);
} }
void fbytes_t::operator delete( void* ptr ) void fbytes_t::operator delete( void* ptr )
{ {
//heap_cell_space_pool.free((char*)ptr); //heap_cell_space_pool.free((char*)ptr);
g_memory_pool.free((char*)ptr); (g_memory_pool).free((char*)ptr);
} }

View file

@ -12,7 +12,7 @@ XCOMM $XConsortium: Imakefile /main/5 1996/06/11 17:45:12 cde-hal $
NormalCplusplusObjectRule() NormalCplusplusObjectRule()
DEPEND_DEFINES = $(DEPENDDEFINES) DEPEND_DEFINES = $(DEPENDDEFINES)
INCLUDES = -I. INCLUDES = -I. $(TIRPCINC)
#ifdef AIXArchitecture #ifdef AIXArchitecture
LDPOSTLIB=-blibpath:/usr/dt/lib:/X11/lib:/usr/lib/threads:/usr/lib:/lib LDPOSTLIB=-blibpath:/usr/dt/lib:/X11/lib:/usr/lib/threads:/usr/lib:/lib

View file

@ -10,11 +10,13 @@ LIBNAME=Agents
NormalCplusplusObjectRule() NormalCplusplusObjectRule()
#ifdef DoLicenseManagement #ifdef DoLicenseManagement
INCLUDES=$(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) $(MMDB_INCLUDES) $(LICENSE_L_INCLUDES) INCLUDES = $(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) \
$(MMDB_INCLUDES) $(LICENSE_L_INCLUDES) $(TIRPCINC)
EXTRA_DEFINES=-DLICENSE_MANAGEMENT EXTRA_DEFINES=-DLICENSE_MANAGEMENT
#else #else
XCOMM Should remove LICENSE_L_INCLUDES from this list in this case XCOMM Should remove LICENSE_L_INCLUDES from this list in this case
INCLUDES=$(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) $(COMMON_CLASS_INCLUDES) INCLUDES = $(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) \
$(COMMON_CLASS_INCLUDES) $(TIRPCINC)
#endif #endif
#include "Classlist.mk" #include "Classlist.mk"

View file

@ -48,7 +48,8 @@ SYS_LIBRARIES=-lm -L$(XPROJECTROOT)/lib -L$(MPROJECTROOT)/lib
SYS_LIBRARIES=-lm SYS_LIBRARIES=-lm
#endif #endif
INCLUDES = $(CXXDEPENDINCLUDES) -I. $(BROWSER_INCLUDES) $(MMDB_INCLUDES) INCLUDES = $(CXXDEPENDINCLUDES) -I. $(BROWSER_INCLUDES) $(MMDB_INCLUDES) \
$(TIRPCINC)
OLIASNORMALLIBS= \ OLIASNORMALLIBS= \
Agents/libAgents.a \ Agents/libAgents.a \

View file

@ -23,7 +23,8 @@ LIBNAME=Managers
NormalCplusplusObjectRule() NormalCplusplusObjectRule()
INCLUDES=$(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) $(COMMON_CLASS_INCLUDES) INCLUDES = $(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) \
$(COMMON_CLASS_INCLUDES) $(TIRPCINC)
#include "Classlist.mk" #include "Classlist.mk"

View file

@ -345,7 +345,7 @@ NodeMgr::load(UAS_Pointer<UAS_Common> &node_ptr)
{ {
style_sheet_mgr().initOnlineStyleSheet(node_ptr); style_sheet_mgr().initOnlineStyleSheet(node_ptr);
} }
mcatch_noarg (StyleSheetSyntaxError) mcatch_noarg (StyleSheetSyntaxError&)
{ {
message_mgr().error_dialog( message_mgr().error_dialog(
(char*)UAS_String(CATGETS(Set_Messages, 39, "File a Bug"))); (char*)UAS_String(CATGETS(Set_Messages, 39, "File a Bug")));

View file

@ -209,7 +209,7 @@ PrintMgr::load(UAS_Pointer<UAS_Common> &node_ptr)
{ {
style_sheet_mgr().initPrintStyleSheet(node_ptr); style_sheet_mgr().initPrintStyleSheet(node_ptr);
} }
mcatch_noarg (StyleSheetSyntaxError) mcatch_noarg (StyleSheetSyntaxError&)
{ {
message_mgr().error_dialog( message_mgr().error_dialog(
(char*)UAS_String(CATGETS(Set_Messages, 39, (char*)UAS_String(CATGETS(Set_Messages, 39,

View file

@ -163,7 +163,7 @@ StyleSheetMgr::initOnlineStyleSheet (UAS_Pointer<UAS_Common> &doc) {
mtry { mtry {
styleparse (); styleparse ();
} }
mcatch_noarg (StyleSheetSyntaxError) { mcatch_noarg (StyleSheetSyntaxError&) {
fLastSS = 0; fLastSS = 0;
delete fCurrent; delete fCurrent;
{ // Don't remove these curlies. For destructors before rethrow { // Don't remove these curlies. For destructors before rethrow
@ -221,7 +221,7 @@ StyleSheetMgr::initPrintStyleSheet (UAS_Pointer<UAS_Common> &doc) {
mtry { mtry {
styleparse (); styleparse ();
} }
mcatch_noarg (StyleSheetSyntaxError) { mcatch_noarg (StyleSheetSyntaxError&) {
fLastSS = 0; fLastSS = 0;
delete fCurrent; delete fCurrent;
{ // Don't remove these curlies. For destructors before rethrow { // Don't remove these curlies. For destructors before rethrow

View file

@ -1,25 +1,3 @@
/*
* CDE - Common Desktop Environment
*
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
*
* These libraries and programs are free software; you can
* redistribute them and/or modify them under the terms of the GNU
* Lesser General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option)
* any later version.
*
* These libraries and programs are distributed in the hope that
* they will be useful, but WITHOUT ANY WARRANTY; without even the
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
#define Set_CatMgr 1 #define Set_CatMgr 1
#define Set_DtSR_Parser 2 #define Set_DtSR_Parser 2
#define Set_SearchMgr 3 #define Set_SearchMgr 3

View file

@ -40,7 +40,7 @@ public:
PosixError(int error_no, const char *msg) PosixError(int error_no, const char *msg)
{ f_errno = error_no; { f_errno = error_no;
*((char *) memcpy(f_msg, msg, MAXMSG+1) + MAXMSG+1) = '\0'; }; strncpy(f_msg, msg, MAXMSG+1); };
const char *msg(void) const { return f_msg; }; const char *msg(void) const { return f_msg; };
int error_no(void) const { return f_errno; }; int error_no(void) const { return f_errno; };

View file

@ -3,7 +3,8 @@ DESKTOP_VERSION_STRING = DesktopVersionString
KSH93SRC = ./ksh93 KSH93SRC = ./ksh93
DEPEND_DEFINES = $(DEPENDDEFINES) DEPEND_DEFINES = $(DEPENDDEFINES)
INCLUDES = -I. -I$(KSH93SRC)/include/ast -I$(KSH93SRC)/src/cmd/ksh93/include -I$(KSH93SRC)/src/cmd/ksh93 INCLUDES = -I. -I$(KSH93SRC)/include/ast -I$(KSH93SRC)/src/cmd/ksh93/include \
-I$(KSH93SRC)/src/cmd/ksh93 $(TIRPCINC)
/* DEPLIBS contains the list of library depencies for a client. /* DEPLIBS contains the list of library depencies for a client.
* LOCAL_LIBRARIES contains the list of libraries on the link line. * LOCAL_LIBRARIES contains the list of libraries on the link line.

View file

@ -11,7 +11,7 @@ DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
#include <Threads.tmpl> #include <Threads.tmpl>
INCLUDES = -I../include/MotifApp -I../include -I../include/utils INCLUDES = -I../include/MotifApp -I../include -I../include/utils $(TIRPCINC)
#ifndef DtMailDefines #ifndef DtMailDefines
# define DtMailDefines # define DtMailDefines

View file

@ -6,7 +6,8 @@ EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
INCLUDES = -I. -I../include -I../include/MotifApp \ INCLUDES = -I. -I../include -I../include/MotifApp \
-I../include/utils -I../include/DtMail \ -I../include/utils -I../include/DtMail \
-I../libDtMail/RFC -I$(CDELIBSRC) -I$(DTHELPSRC) $(STD_INCLUDES) -I../libDtMail/RFC -I$(CDELIBSRC) -I$(DTHELPSRC) \
$(STD_INCLUDES) $(TIRPCINC)
#ifndef DtMailDefines #ifndef DtMailDefines
# define DtMailDefines # define DtMailDefines

View file

@ -5,7 +5,7 @@ DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB) EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
INCLUDES = -I. -I../include -I../../dtcompat -I../../../. \ INCLUDES = -I. -I../include -I../../dtcompat -I../../../. \
-I$(CDELIBSRC) $(STD_INCLUDES) -I$(CDELIBSRC) $(STD_INCLUDES) $(TIRPCINC)
#ifndef DtMailDefines #ifndef DtMailDefines
# define DtMailDefines # define DtMailDefines

View file

@ -12,7 +12,8 @@ DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
#include <Threads.tmpl> #include <Threads.tmpl>
INCLUDES = -I. -I../../include -I../../include/utils -I$(CDELIBSRC) $(STD_INCLUDES) INCLUDES = -I. -I../../include -I../../include/utils -I$(CDELIBSRC) \
$(STD_INCLUDES) $(TIRPCINC)
#if HasVFork #if HasVFork
VFORK_DEFINES = -DHAS_VFORK VFORK_DEFINES = -DHAS_VFORK

View file

@ -12,7 +12,8 @@ DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
#include <Threads.tmpl> #include <Threads.tmpl>
INCLUDES = -I. -I../Common -I../../include -I../../include/utils -I$(CDELIBSRC) $(STD_INCLUDES) INCLUDES = -I. -I../Common -I../../include -I../../include/utils \
-I$(CDELIBSRC) $(STD_INCLUDES) $(TIRPCINC)
#if HasVFork #if HasVFork
VFORK_DEFINES = -DHAS_VFORK VFORK_DEFINES = -DHAS_VFORK

View file

@ -2,6 +2,7 @@ XCOMM $XConsortium: Imakefile /main/11 1996/09/14 15:16:29 drk $
DEPEND_DEFINES = $(DEPENDDEFINES) DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DDT_LITE -DWORDWRAP -UNLS16 DEFINES = -DDT_LITE -DWORDWRAP -UNLS16
INCLUDES = $(TIRPCINC)
DEPLIBS = DepDtClientLibs DEPLIBS = DepDtClientLibs
LOCAL_LIBRARIES = DtClientLibs LOCAL_LIBRARIES = DtClientLibs

View file

@ -4,7 +4,7 @@ XCOMM $TOG: Imakefile /main/15 1998/08/05 13:21:49 mgreess $
DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES) DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB) EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
INCLUDES = -I. -I../libCliSrv INCLUDES = -I. -I../libCliSrv $(TIRPCINC)
LOCAL_LIBRARIES = ../libCliSrv/libCliSrv.a $(TTLIB) $(XTOOLLIB) $(XLIB) LOCAL_LIBRARIES = ../libCliSrv/libCliSrv.a $(TTLIB) $(XTOOLLIB) $(XLIB)
DEPLIBS = ../libCliSrv/libCliSrv.a $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB) DEPLIBS = ../libCliSrv/libCliSrv.a $(DEPTTLIB) $(DEPXTOOLLIB) $(DEPXLIB)

View file

@ -10,7 +10,7 @@ XCOMM $TOG: Imakefile /main/5 1998/08/05 13:22:12 mgreess $
#define CplusplusSource YES #define CplusplusSource YES
DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES) DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
INCLUDES = -I. INCLUDES = -I. $(TIRPCINC)
#ifdef SunArchitecture #ifdef SunArchitecture
SYS_LIBRARIES = -ldl -lintl SYS_LIBRARIES = -ldl -lintl

View file

@ -2,7 +2,7 @@ XCOMM $TOG: Imakefile /main/11 1999/02/26 11:29:47 mgreess $
DEFINES = -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \ DEFINES = -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" \
-DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\"
INCLUDES = -I. -I$(DTHELPSRC) INCLUDES = -I. -I$(DTHELPSRC) $(TIRPCINC)
#ifdef HPArchitecture #ifdef HPArchitecture
EXTRA_DEFINES = -D_XOPEN_SOURCE -D__hpux_8_0 -DFUNCPROTO EXTRA_DEFINES = -D_XOPEN_SOURCE -D__hpux_8_0 -DFUNCPROTO

View file

@ -3,7 +3,7 @@ XCOMM $XConsortium: Imakefile /main/8 1996/09/14 15:25:06 drk $
DEPEND_DEFINES = $(DEPENDDEFINES) DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \ DEFINES = -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
-DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\" -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
INCLUDES = -I. -I$(DTHELPSRC)/.. INCLUDES = -I. -I$(DTHELPSRC)/.. $(TIRPCINC)
DEPLIBS = DepDtClientLibs DEPLIBS = DepDtClientLibs
LOCAL_LIBRARIES = DtClientLibs LOCAL_LIBRARIES = DtClientLibs

View file

@ -49,7 +49,8 @@ LOCAL_LIBRARIES = $(DTTERMLIB) $(USE_XHPLIB) $(XINPUTLIB) $(HELPLIB) \
$(XMLIB) $(XTOOLLIB) $(XLIB) $(UTILLIB) $(XMLIB) $(XTOOLLIB) $(XLIB) $(UTILLIB)
SYS_LIBRARIES = DtClientSysLibs SYS_LIBRARIES = DtClientSysLibs
INCLUDES = -I. -I$(DTTERMSRC)/TermPrim -I$(DTTERMSRC)/Term -I$(DTTERMSRC)/TermView INCLUDES = -I. -I$(DTTERMSRC)/TermPrim -I$(DTTERMSRC)/Term \
-I$(DTTERMSRC)/TermView $(TIRPCINC)
SRCS = \ SRCS = \
DtTermLogit.c \ DtTermLogit.c \

View file

@ -13,6 +13,7 @@ DTWMDEFINES = -DWSM -DPANELIST
DEPEND_DEFINES = $(DEPENDDEFINES) DEPEND_DEFINES = $(DEPENDDEFINES)
DEFINES = $(MWMDEFINES) $(DTWMDEFINES) -DMULTIBYTE -DMINIMAL_DT DEFINES = $(MWMDEFINES) $(DTWMDEFINES) -DMULTIBYTE -DMINIMAL_DT
INCLUDES = $(TIRPCINC)
DEPLIBS = DepDtClientLibs DEPLIBS = DepDtClientLibs
LOCAL_LIBRARIES = DtClientLibs -lDtXinerama LOCAL_LIBRARIES = DtClientLibs -lDtXinerama

View file

@ -6,6 +6,7 @@ UTILLIB = -lutil
#define CplusplusSource YES #define CplusplusSource YES
DEPEND_DEFINES = $(CXXDEPENDINCLUDES) DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
INCLUDES = $(TIRPCINC)
EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB) EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
DEPLIBS = $(DEPDTTERMLIB) DepDtClientLibs $(DEPUTILLIB) DEPLIBS = $(DEPDTTERMLIB) DepDtClientLibs $(DEPUTILLIB)