convert all Imakefile LinuxDistribution to LinuxArchitecture.
[oweals/cde.git] / cde / programs / dtmail / dtmail / Imakefile
1 XCOMM $TOG: Imakefile /main/25 1998/02/17 15:18:16 mgreess $
2
3 #define CplusplusSource YES
4 DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
5 EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
6
7 INCLUDES = -I. -I../include -I../include/MotifApp \
8         -I../include/utils -I../include/DtMail \
9         -I../libDtMail/RFC -I$(CDELIBSRC) -I$(DTHELPSRC)
10
11 #ifndef DtMailDefines
12 # define DtMailDefines
13 #endif
14 DEFINES = -DRELEASE_NOTES -DDTMAIL_TOOLTALK -DDTEDITOR DtMailDefines
15
16 DEPLIBS = ../MotifApp/libMotifApp.a ../libDtMail/libDtMail.a DepDtClientLibs
17 LOCAL_LIBRARIES = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a DtClientLibs
18
19 #if defined(LinuxArchitecture)
20 CXXEXTRA_DEFINES = -fpermissive
21 #endif
22
23 /* Sun needs the widechar library */
24 #ifdef SunArchitecture
25 SYS_LIBRARIES = $(DYNLIBSYSLIB) $(ICONVSYSLIB) $(REGEXSYSLIB) -lw -lm
26 #else
27 SYS_LIBRARIES = $(DYNLIBSYSLIB) $(ICONVSYSLIB) $(REGEXSYSLIB) -lm
28 #endif
29
30
31 #ifdef SunArchitecture
32 # ifndef SUNPRODIR
33 SUNPRO_DIR      =       /opt/SUNWspro
34 # else
35 SUNPRO_DIR      =       SUNPRODIR
36 # endif
37
38 C++LIBPATH      =       -L$(SUNPRO_DIR)/lib
39
40 # ifdef USE_SPRO_V3
41 SPRO_V3_OPTIONS =      -noex -USPRO_V2
42 #  ifdef DEBUGTREE
43 SPRO_V3_OPTIONS +=      -xsb
44 #  endif /* DEBUGTREE */
45 # else
46 EXTRA_CCOPTIONS +=      -DSPRO_V2
47 # endif  /* USE_SPRO_V3 */
48
49 EXTRA_C++OPTIONS =      -xF +w $(SPRO_V3_OPTIONS)
50 EXTRA_CCOPTIONS =       -xF -xstrconst -Xa -v
51
52 # ifdef USE_EDITRES
53 EXTRA_LIBRARIES =       $(XMULIB) ExtraLibraries
54 # endif
55 #endif /* SunArchitecture */
56
57 SRCS =  AliasListUiItem.C               AlternatesListUiItem.C \
58         AntiCheckBoxUiItem.C            AttachArea.C \
59         Attachment.C \
60         CheckBoxUiItem.C                CheckForMailUiItem.C \
61         ComposeCmds.C                   CustomListUiItem.C \
62         Dialog.C                        DialogShell.C \
63         DmxMailbox.C                    DmxMessage.C \
64         DmxPrintJob.C                   DmxPrintOptions.C \
65         DmxPrintOutput.C                DmxPrintSetup.C \
66         DmxUtils.C                      DtEditor.C \
67         DtMailEditor.C                  DtMailGenDialog.C \
68         DtMailWDM.C                     Editor.C \
69         EncryptedTextFieldUiItem.C      FindDialog.C \
70         Fonts.C                         Icon.C \
71         IgnoreListUiItem.C              Image.C \
72         InboxTextFieldUiItem.C          IndexedOptionMenu.C \
73         IndexedOptionMenuUiItem.C       ListUiItem.C \
74         MailRcSource.C                  MailRetrievalOptions.C \
75         MailSession.C \
76         MoveMenuListUiItem.C            MsgHndArray.C \
77         MsgScrollingList.C              NoOpCmd.C \
78         OptCmd.C                        PasswordDialogManager.C \
79         PropUi.C                        QueryDialogManager.C \
80         RoamApp.C                       RoamCmds.C \
81         RoamInterruptibleCmd.C          RoamMenuWindow.C \
82         ScaleUiItem.C                   SendMsgDialog.C \
83         Sort.C                          SortCmd.C \
84         SpinBoxUiItem.C                 StringTab.c \
85         TemplateListUiItem.C            TextFieldUiItem.C \
86         Undelete.C                      ViewMsgDialog.C \
87         WMSaveSession.C                 XmStrCollector.C \
88         XmTextEditor.C                  XtArgCollector.C \
89         dtb_utils.C                     options_stubs.C \
90         options_ui.C                    options_util.C
91
92 OBJS =  AliasListUiItem.o               AlternatesListUiItem.o \
93         AntiCheckBoxUiItem.o            AttachArea.o \
94         Attachment.o \
95         CheckBoxUiItem.o                CheckForMailUiItem.o \
96         ComposeCmds.o                   CustomListUiItem.o \
97         Dialog.o                        DialogShell.o \
98         DmxMailbox.o                    DmxMessage.o \
99         DmxPrintJob.o                   DmxPrintOptions.o \
100         DmxPrintOutput.o                DmxPrintSetup.o \
101         DmxUtils.o                      DtEditor.o \
102         DtMailEditor.o                  DtMailGenDialog.o \
103         DtMailWDM.o                     Editor.o \
104         EncryptedTextFieldUiItem.o      FindDialog.o \
105         Fonts.o                         Icon.o \
106         IgnoreListUiItem.o              Image.o \
107         InboxTextFieldUiItem.o          IndexedOptionMenu.o \
108         IndexedOptionMenuUiItem.o       ListUiItem.o \
109         MailRcSource.o                  MailRetrievalOptions.o \
110         MailSession.o \
111         MoveMenuListUiItem.o            MsgHndArray.o \
112         MsgScrollingList.o              NoOpCmd.o \
113         OptCmd.o                        PasswordDialogManager.o \
114         PropUi.o                        QueryDialogManager.o \
115         RoamApp.o                       RoamCmds.o \
116         RoamInterruptibleCmd.o          RoamMenuWindow.o \
117         ScaleUiItem.o                   SendMsgDialog.o \
118         Sort.o                          SortCmd.o \
119         SpinBoxUiItem.o                 StringTab.o \
120         TemplateListUiItem.o            TextFieldUiItem.o \
121         Undelete.o                      ViewMsgDialog.o \
122         WMSaveSession.o                 XmStrCollector.o \
123         XmTextEditor.o                  XtArgCollector.o \
124         dtb_utils.o                     options_stubs.o \
125         options_ui.o                    options_util.o
126
127 # Rules
128 NormalCplusplusObjectRule()
129
130 ComplexCplusplusProgramTarget(dtmail)