mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
programs/dtmail: add automake files
This commit is contained in:
parent
268205ab10
commit
d08d22cb5d
7 changed files with 289 additions and 0 deletions
3
cde/programs/dtmail/Makefile.am
Normal file
3
cde/programs/dtmail/Makefile.am
Normal file
|
@ -0,0 +1,3 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
SUBDIRS = libDtMail MotifApp dtmail dtmailpr
|
58
cde/programs/dtmail/MotifApp/Makefile.am
Normal file
58
cde/programs/dtmail/MotifApp/Makefile.am
Normal file
|
@ -0,0 +1,58 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libMotifApp.a
|
||||
|
||||
libMotifApp_a_CXXFLAGS = -I../include/MotifApp -I../include -I../include/utils \
|
||||
$(TIRPCINC)
|
||||
if SUN
|
||||
|
||||
if USE_SPRO_V3
|
||||
libMotifApp_a_CXXFLAGS += -noex -xO0 -USPRO_V2
|
||||
if DEBUGTREE
|
||||
libMotifApp_a_CXXFLAGS += -xsb
|
||||
endif
|
||||
endif
|
||||
|
||||
libMotifApp_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
|
||||
|
||||
if I386
|
||||
libMotifApp_a_CXXFLAGS += -DBIG_ENDIAN
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
if HPUX
|
||||
libMotifApp_a_CXXFLAGS += -DUSE_SOCKSTREAM -DBIG_ENDIAN -DDO_ANONYMOUS_MAP \
|
||||
-DNEED_MMAP_WRAPPER -DSENDMAIL_LOCKS +p \
|
||||
-DMAILGROUP_REQUIRED -DMAIL_SPOOL_PATH=\"/var/mail/%s\"
|
||||
endif
|
||||
|
||||
if AIX
|
||||
libMotifApp_a_CXXFLAGS += -DI_HAVE_NO_BOOL -DI_HAVE_SELECT_H -DBIG_ENDIAN \
|
||||
-DSTRCASECMP_NOT_DEFINED -DDO_ANONYMOUS_MAP \
|
||||
-DSENDMAIL_LOCKS -DMAILGROUP_REQUIRED \
|
||||
-DMAIL_SPOOL_PATH=\"/var/spool/mail/%s\"
|
||||
endif
|
||||
|
||||
libMotifApp_a_SOURCES = Application.C AskFirstCmd.C \
|
||||
BasicComponent.C BusyPixmap.C \
|
||||
ButtonInterface.C Cmd.C \
|
||||
CmdInterface.C CmdList.C \
|
||||
DialogManager.C Help.C \
|
||||
IconifyCmd.C InfoDialogManager.C \
|
||||
InterruptibleCmd.C Main.C \
|
||||
MainWindow.C ManageCmd.C \
|
||||
MenuBar.C MenuWindow.C \
|
||||
MotifCmds.C NoUndoCmd.C \
|
||||
PixmapCycler.C PromptDialogManager.C \
|
||||
QuestionDialogManager.C QuitCmd.C \
|
||||
ScrollingList.C SelectFileCmd.C \
|
||||
ToggleButtonInterface.C UIComponent.C \
|
||||
UndoCmd.C WarnNoUndoCmd.C \
|
||||
WorkingDialogManager.C
|
||||
|
||||
if SUN
|
||||
clean::
|
||||
$(RM) -r .sb
|
||||
$(RM) .make.state*
|
||||
endif
|
71
cde/programs/dtmail/dtmail/Makefile.am
Normal file
71
cde/programs/dtmail/dtmail/Makefile.am
Normal file
|
@ -0,0 +1,71 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
bin_PROGRAMS = dtmail
|
||||
|
||||
dtmail_CXXFLAGS = -I../include -I../include/MotifApp -I../include/utils \
|
||||
-I../include/DtMail -I../libDtMail/RFC -I$(x_includes) \
|
||||
$(TIRPCINC) -I$(srcdir)/lib -I../../dthelp -DRELEASE_NOTES \
|
||||
-DDTMAIL_TOOLTALK -DDTEDITOR
|
||||
|
||||
dtmail_LDADD = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a
|
||||
|
||||
if SUN
|
||||
dtmail_LDADD += -lw
|
||||
if SUNPRODIR
|
||||
SUNPRO_DIR = SUNPRODIR
|
||||
else
|
||||
SUNPRO_DIR = /opt/SUNWspro
|
||||
endif
|
||||
C++LIBPATH = -L$(SUNPRO_DIR)/lib
|
||||
|
||||
if USE_SPRO_V3
|
||||
SPRO_V3_OPTIONS = -noex -USPRO_V2
|
||||
if DEBUGTREE
|
||||
SPRO_V3_OPTIONS += -xsb
|
||||
endif
|
||||
else
|
||||
EXTRA_CCOPTIONS += -DSPRO_V2
|
||||
endif
|
||||
|
||||
EXTRA_C++OPTIONS = -xF +w $(SPRO_V3_OPTIONS)
|
||||
EXTRA_CCOPTIONS = -xF -xstrconst -Xa -v
|
||||
if USE_EDITRES
|
||||
EXTRA_LIBRARIES = $(XMULIB) ExtraLibraries
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
|
||||
dtmail_SOURCES = AliasListUiItem.C AlternatesListUiItem.C \
|
||||
AntiCheckBoxUiItem.C AttachArea.C \
|
||||
Attachment.C CheckBoxUiItem.C \
|
||||
CheckForMailUiItem.C ComposeCmds.C \
|
||||
CustomListUiItem.C Dialog.C \
|
||||
DialogShell.C DmxMailbox.C \
|
||||
DmxMessage.C DmxPrintJob.C \
|
||||
DmxPrintOptions.C DmxPrintOutput.C \
|
||||
DmxPrintSetup.C DmxUtils.C \
|
||||
DtEditor.C DtMailEditor.C \
|
||||
DtMailGenDialog.C DtMailWDM.C \
|
||||
Editor.C EncryptedTextFieldUiItem.C \
|
||||
FindDialog.C Fonts.C \
|
||||
Icon.C IgnoreListUiItem.C \
|
||||
Image.C InboxTextFieldUiItem.C \
|
||||
IndexedOptionMenu.C IndexedOptionMenuUiItem.C \
|
||||
ListUiItem.C MailRcSource.C \
|
||||
MailRetrievalOptions.C MailSession.C \
|
||||
MoveMenuListUiItem.C MsgHndArray.C \
|
||||
MsgScrollingList.C NoOpCmd.C \
|
||||
OptCmd.C PasswordDialogManager.C \
|
||||
PropUi.C QueryDialogManager.C \
|
||||
RoamApp.C RoamCmds.C \
|
||||
RoamInterruptibleCmd.C RoamMenuWindow.C \
|
||||
ScaleUiItem.C SendMsgDialog.C \
|
||||
Sort.C SortCmd.C \
|
||||
SpinBoxUiItem.C StringTab.c \
|
||||
TemplateListUiItem.C TextFieldUiItem.C \
|
||||
Undelete.C ViewMsgDialog.C \
|
||||
WMSaveSession.C XmStrCollector.C \
|
||||
XmTextEditor.C XtArgCollector.C \
|
||||
dtb_utils.C options_stubs.C \
|
||||
options_ui.C options_util.C
|
51
cde/programs/dtmail/dtmailpr/Makefile.am
Normal file
51
cde/programs/dtmail/dtmailpr/Makefile.am
Normal file
|
@ -0,0 +1,51 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
bin_PROGRAMS = dtmailpr
|
||||
|
||||
dtmailpr_CXXFLAGS = -I../include -I../../dtcompat -I../../../. \
|
||||
-I$(srcdir)/lib $(TIRPCINC)
|
||||
|
||||
dtmailpr_LDADD = ../libDtMail/libDtMail.a $(LIBPRINT) $(LIBHELP) $(LIBWIDGET) \
|
||||
$(LIBSVC) $(LIBTT) -lXm $(XTOOLLIB) ${X_LIBS} -lm
|
||||
|
||||
if FREEBSD
|
||||
dtmailpr_LDADD += -liconv
|
||||
endif
|
||||
|
||||
if AIX
|
||||
dtmailpr_CXXFLAGS += -DI_HAVE_NO_BOOL -DI_HAVE_SELECT_H \
|
||||
-DBIG_ENDIAN -DSTRCASECMP_NOT_DEFINED -DDO_ANONYMOUS_MAP \
|
||||
-DSENDMAIL_LOCKS -DMAILGROUP_REQUIRED \
|
||||
-DMAIL_SPOOL_PATH=\"/var/spool/mail/%s\"
|
||||
|
||||
dtmailpr_LDADD += -ldl -liconv -lgen
|
||||
endif
|
||||
|
||||
if HPUX
|
||||
dtmailpr_CXXFLAGS += -DBIG_ENDIAN -DDO_ANONYMOUS_MAP -DNEED_MMAP_WRAPPER \
|
||||
-DSENDMAIL_LOCKS -DMAILGROUP_REQUIRED \
|
||||
-DMAIL_SPOOL_PATH=\"/var/mail/%s\"
|
||||
endif
|
||||
|
||||
if SUN
|
||||
if SUNPRODIR
|
||||
SUNPRO_DIR = /opt/SUNWspro
|
||||
else
|
||||
SUNPRO_DIR = SUNPRODIR
|
||||
endif
|
||||
if I386
|
||||
dtmailpr_CXXFLAGS += -DBIG_ENDIAN
|
||||
endif
|
||||
if USE_SPRO_V3
|
||||
dtmailpr_CXXFLAGS += -noex -USPRO_V2
|
||||
if DEBUGTREE
|
||||
dtmailpr_CXXFLAGS += -xsb
|
||||
endif
|
||||
endif
|
||||
dtmailpr_CXXFLAGS += -L$(SUNPRO_DIR)/lib -xstrconst -Xc -v -DMMAP_NORESERVE \
|
||||
-DSPRO_V2 +p +w
|
||||
dtmailpr_LDADD += -Bstatic -lC -Bdynamic -lc -Bstatic -ldl -lgen -lm -lw \
|
||||
-lintl -lnsl
|
||||
endif
|
||||
|
||||
dtmailpr_SOURCES = main.C message.C mailbox.C utils.C
|
63
cde/programs/dtmail/libDtMail/Common/Makefile.am
Normal file
63
cde/programs/dtmail/libDtMail/Common/Makefile.am
Normal file
|
@ -0,0 +1,63 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libCommon.a
|
||||
|
||||
libCommon_a_CXXFLAGS = -I../../include -I../../include/utils -I$(srcdir)/lib \
|
||||
$(TIRPCINC) -DDL_NOT_DYNAMIC
|
||||
|
||||
if COMMENT
|
||||
These are here in case we want to build as a shared library
|
||||
DYNLIB_SRCS = DlDynamicLib.C
|
||||
DYNLIB_DEFINES = -DDL_DYNAMIC_LIBS
|
||||
endif
|
||||
|
||||
if SUN
|
||||
libCommon_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
|
||||
if I386
|
||||
libCommon_a_CXXFLAGS += -DBIG_ENDIAN
|
||||
endif
|
||||
endif
|
||||
|
||||
if HPUX
|
||||
libCommon_a_CXXFLAGS += -DUSE_SOCKSTREAM -DBIG_ENDIAN -DDO_ANONYMOUS_MAP \
|
||||
-DNEED_MMAP_WRAPPER -DSENDMAIL_LOCKS \
|
||||
-DMAILGROUP_REQUIRED -DMAIL_SPOOL_PATH=\"/var/mail/%s\"
|
||||
endif
|
||||
|
||||
if AIX
|
||||
libCommon_a_CXXFLAGS += -DI_HAVE_NO_BOOL -DI_HAVE_SELECT_H -DBIG_ENDIAN \
|
||||
-DSTRCASECMP_NOT_DEFINED -DDO_ANONYMOUS_MAP \
|
||||
-DSENDMAIL_LOCKS -DMAILGROUP_REQUIRED \
|
||||
-DMAIL_SPOOL_PATH=\"/var/spool/mail/%s\"
|
||||
endif
|
||||
|
||||
libCommon_a_SOURCES = APOPServer.C \
|
||||
AUTOServer.C \
|
||||
Buffer.C \
|
||||
DetermineFileLocality.C \
|
||||
DtMailBodyPart.C \
|
||||
DtMailEnvelope.C \
|
||||
DtMailError.C \
|
||||
DtMailMailBox.C \
|
||||
DtMailMessage.C \
|
||||
DtMailRc.C \
|
||||
DtMailServer.C \
|
||||
DtMailTransport.C \
|
||||
DtMailValuesBuiltin.C \
|
||||
DtMailXtProc.C \
|
||||
DtVirtArray.C \
|
||||
DynamicLib.C \
|
||||
FileShare.C \
|
||||
HashTable.C \
|
||||
IMAPServer.C \
|
||||
IO.C \
|
||||
LanguagePortability.C \
|
||||
ObjectKey.C \
|
||||
NotDynamic.C
|
||||
POP2Server.C \
|
||||
POP3Server.C \
|
||||
Process.C \
|
||||
Session.C \
|
||||
Threads.C \
|
||||
md5.C \
|
||||
str_utils.C
|
9
cde/programs/dtmail/libDtMail/Makefile.am
Normal file
9
cde/programs/dtmail/libDtMail/Makefile.am
Normal file
|
@ -0,0 +1,9 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
SUBDIRS = Common RFC
|
||||
|
||||
noinst_LIBRARIES = libDtMail.a
|
||||
|
||||
libDtMail_a_SOURCES =
|
||||
|
||||
libDtMail_a_LIBADD = Common/libCommon.a RFC/libRFC.a
|
34
cde/programs/dtmail/libDtMail/RFC/Makefile.am
Normal file
34
cde/programs/dtmail/libDtMail/RFC/Makefile.am
Normal file
|
@ -0,0 +1,34 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
noinst_LIBRARIES = libRFC.a
|
||||
|
||||
libRFC_a_CXXFLAGS = -I../Common -I../../include -I../../include/utils \
|
||||
-I$(srcdir)/lib $(TIRPCINC) -DTTLOCK_OFF
|
||||
|
||||
if HPUX
|
||||
libRFC_a_CXXFLAGS += -DUSE_SOCKSTREAM -DBIG_ENDIAN -DDO_ANONYMOUS_MAP \
|
||||
-DNEED_MMAP_WRAPPER -DSENDMAIL_LOCKS \
|
||||
-DMAILGROUP_REQUIRED -DMAIL_SPOOL_PATH=\"/var/mail/%s\"
|
||||
endif
|
||||
|
||||
if AIX
|
||||
libRFC_a_CXXFLAGS += -DI_HAVE_NO_BOOL -DI_HAVE_SELECT_H -DBIG_ENDIAN \
|
||||
-DSTRCASECMP_NOT_DEFINED -DDO_ANONYMOUS_MAP \
|
||||
-DSENDMAIL_LOCKS -DMAILGROUP_REQUIRED \
|
||||
-DMAIL_SPOOL_PATH=\"/var/spool/mail/%s\"
|
||||
endif
|
||||
|
||||
if SUN
|
||||
libRFC_a_CXXFLAGS += -DMMAP_NORESERVE -DSPRO_V2
|
||||
if I386
|
||||
libRFC_a_CXXFLAGS += -DBIG_ENDIAN
|
||||
endif
|
||||
endif
|
||||
|
||||
libRFC_a_SOURCES += AliasExpand.C MIMEBodyPart.C \
|
||||
MIMEPartial.C RFCBodyPart.C \
|
||||
RFCEnvelope.C RFCFormat.C \
|
||||
RFCMIME.C RFCMailBox.C \
|
||||
RFCMailValues.C RFCMessage.C \
|
||||
RFCTransport.C SunV3.C \
|
||||
V3BodyPart.C
|
Loading…
Reference in a new issue