mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtmail: Make it build. There is more work to be done here.
Specifically, we should be able to have libDtMail subdir build all of it's objects directly w/o intervening Makefile.am's and archive .a libs.
This commit is contained in:
parent
d183ade8b3
commit
77dfe92b3c
11 changed files with 16 additions and 17 deletions
|
@ -72,7 +72,7 @@
|
||||||
|
|
||||||
#include "Dmx.h"
|
#include "Dmx.h"
|
||||||
// For CHARSET
|
// For CHARSET
|
||||||
#include <LocaleXlate.h>
|
#include <Dt/LocaleXlate.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,8 @@ dtmail_CXXFLAGS = -I../include -I../include/MotifApp -I../include/utils \
|
||||||
$(TIRPCINC) -I$(srcdir)/lib -I../../dthelp -DRELEASE_NOTES \
|
$(TIRPCINC) -I$(srcdir)/lib -I../../dthelp -DRELEASE_NOTES \
|
||||||
-DDTMAIL_TOOLTALK -DDTEDITOR
|
-DDTMAIL_TOOLTALK -DDTEDITOR
|
||||||
|
|
||||||
dtmail_LDADD = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a
|
dtmail_LDADD = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a -lXm \
|
||||||
|
@DTCLIENTLIBS@ $(XTOOLLIB) $(TIRPCLIB)
|
||||||
|
|
||||||
# FIXME solaris....
|
# FIXME solaris....
|
||||||
#if SOLARIS
|
#if SOLARIS
|
||||||
|
|
|
@ -5,8 +5,8 @@ bin_PROGRAMS = dtmailpr
|
||||||
dtmailpr_CXXFLAGS = -I../include -I../../dtcompat -I../../../. \
|
dtmailpr_CXXFLAGS = -I../include -I../../dtcompat -I../../../. \
|
||||||
-I$(srcdir)/lib $(TIRPCINC)
|
-I$(srcdir)/lib $(TIRPCINC)
|
||||||
|
|
||||||
dtmailpr_LDADD = ../libDtMail/libDtMail.a $(LIBPRINT) $(LIBHELP) $(LIBWIDGET) \
|
dtmailpr_LDADD = ../libDtMail/libDtMail.a @DTCLIENTLIBS@ \
|
||||||
$(LIBSVC) $(LIBTT) -lXm $(XTOOLLIB) ${X_LIBS}
|
-lXm @LIBXIN@ -lXinerama $(XTOOLLIB) ${X_LIBS} $(TIRPCLIB)
|
||||||
|
|
||||||
if FREEBSD
|
if FREEBSD
|
||||||
dtmailpr_LDADD += -liconv
|
dtmailpr_LDADD += -liconv
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
#include "dmx.hh"
|
#include "dmx.hh"
|
||||||
// For CHARSET
|
// For CHARSET
|
||||||
#include <DtHelp/LocaleXlate.h>
|
#include <Dt/LocaleXlate.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <strings.h>
|
#include <strings.h>
|
||||||
#include "utils/str_utils.h"
|
#include "utils/str_utils.h"
|
||||||
|
|
|
@ -3,14 +3,10 @@ MAINTAINERCLEANFILES = Makefile.in
|
||||||
noinst_LIBRARIES = libCommon.a
|
noinst_LIBRARIES = libCommon.a
|
||||||
|
|
||||||
libCommon_a_CXXFLAGS = -I../../include -I../../include/utils -I$(srcdir)/lib \
|
libCommon_a_CXXFLAGS = -I../../include -I../../include/utils -I$(srcdir)/lib \
|
||||||
$(TIRPCINC) -DDL_NOT_DYNAMIC
|
$(TIRPCINC) -DDL_NOT_DYNAMIC -DUSE_SOCKSTREAM
|
||||||
|
|
||||||
if SOLARIS
|
if SOLARIS
|
||||||
libCommon_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
|
libCommon_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
|
||||||
# FIXME - i386 is NOT big endian...
|
|
||||||
#if I386
|
|
||||||
#libCommon_a_CXXFLAGS += -DBIG_ENDIAN
|
|
||||||
#endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libCommon_a_SOURCES = APOPServer.C \
|
libCommon_a_SOURCES = APOPServer.C \
|
||||||
|
@ -35,7 +31,7 @@ libCommon_a_SOURCES = APOPServer.C \
|
||||||
IO.C \
|
IO.C \
|
||||||
LanguagePortability.C \
|
LanguagePortability.C \
|
||||||
ObjectKey.C \
|
ObjectKey.C \
|
||||||
NotDynamic.C
|
NotDynamic.C \
|
||||||
POP2Server.C \
|
POP2Server.C \
|
||||||
POP3Server.C \
|
POP3Server.C \
|
||||||
Process.C \
|
Process.C \
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
//-------------------------------------
|
//-------------------------------------
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <DtHelp/LocaleXlate.h>
|
#include <Dt/LocaleXlate.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
|
@ -6,4 +6,6 @@ noinst_LIBRARIES = libDtMail.a
|
||||||
|
|
||||||
libDtMail_a_SOURCES =
|
libDtMail_a_SOURCES =
|
||||||
|
|
||||||
libDtMail_a_LIBADD = Common/libCommon.a RFC/libRFC.a
|
# Unfortunately, this does not work -
|
||||||
|
# libDtMail_a_LIBADD = Common/libCommon.a RFC/libRFC.a
|
||||||
|
libDtMail_a_LIBADD = Common/*.o RFC/*.o
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
|
|
||||||
// For CHARSET
|
// For CHARSET
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <DtHelp/LocaleXlate.h>
|
#include <Dt/LocaleXlate.h>
|
||||||
#include "str_utils.h"
|
#include "str_utils.h"
|
||||||
|
|
||||||
MIMEBodyPart::MIMEBodyPart(DtMailEnv & error,
|
MIMEBodyPart::MIMEBodyPart(DtMailEnv & error,
|
||||||
|
|
|
@ -3,7 +3,7 @@ MAINTAINERCLEANFILES = Makefile.in
|
||||||
noinst_LIBRARIES = libRFC.a
|
noinst_LIBRARIES = libRFC.a
|
||||||
|
|
||||||
libRFC_a_CXXFLAGS = -I../Common -I../../include -I../../include/utils \
|
libRFC_a_CXXFLAGS = -I../Common -I../../include -I../../include/utils \
|
||||||
-I$(srcdir)/lib $(TIRPCINC) -DTTLOCK_OFF
|
$(TIRPCINC) -DTTLOCK_OFF
|
||||||
|
|
||||||
if SOLARIS
|
if SOLARIS
|
||||||
libRFC_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
|
libRFC_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
//-------------------------------------
|
//-------------------------------------
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <DtHelp/LocaleXlate.h>
|
#include <Dt/LocaleXlate.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
|
|
||||||
// For CHARSET
|
// For CHARSET
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <DtHelp/LocaleXlate.h>
|
#include <Dt/LocaleXlate.h>
|
||||||
|
|
||||||
V3BodyPart::V3BodyPart(DtMailEnv & error,
|
V3BodyPart::V3BodyPart(DtMailEnv & error,
|
||||||
DtMail::Message * parent,
|
DtMail::Message * parent,
|
||||||
|
|
Loading…
Reference in a new issue