-fpermissive to allow GCC to compile old C++
[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 /* Sun needs the widechar library */
20 #ifdef SunArchitecture
21 SYS_LIBRARIES = $(DYNLIBSYSLIB) $(ICONVSYSLIB) $(REGEXSYSLIB) -lw -lm
22 #else
23 SYS_LIBRARIES = $(DYNLIBSYSLIB) $(ICONVSYSLIB) $(REGEXSYSLIB) -lm
24 #endif
25
26
27 #ifdef SunArchitecture
28 # ifndef SUNPRODIR
29 SUNPRO_DIR      =       /opt/SUNWspro
30 # else
31 SUNPRO_DIR      =       SUNPRODIR
32 # endif
33
34 C++LIBPATH      =       -L$(SUNPRO_DIR)/lib
35
36 # ifdef USE_SPRO_V3
37 SPRO_V3_OPTIONS =      -noex -USPRO_V2
38 #  ifdef DEBUGTREE
39 SPRO_V3_OPTIONS +=      -xsb
40 #  endif /* DEBUGTREE */
41 # else
42 EXTRA_CCOPTIONS +=      -DSPRO_V2
43 # endif  /* USE_SPRO_V3 */
44
45 EXTRA_C++OPTIONS =      -xF +w $(SPRO_V3_OPTIONS)
46 EXTRA_CCOPTIONS =       -xF -xstrconst -Xa -v
47
48 # ifdef USE_EDITRES
49 EXTRA_LIBRARIES =       $(XMULIB) ExtraLibraries
50 # endif
51 #endif /* SunArchitecture */
52
53 SRCS =  AliasListUiItem.C               AlternatesListUiItem.C \
54         AntiCheckBoxUiItem.C            AttachArea.C \
55         Attachment.C \
56         CheckBoxUiItem.C                CheckForMailUiItem.C \
57         ComposeCmds.C                   CustomListUiItem.C \
58         Dialog.C                        DialogShell.C \
59         DmxMailbox.C                    DmxMessage.C \
60         DmxPrintJob.C                   DmxPrintOptions.C \
61         DmxPrintOutput.C                DmxPrintSetup.C \
62         DmxUtils.C                      DtEditor.C \
63         DtMailEditor.C                  DtMailGenDialog.C \
64         DtMailWDM.C                     Editor.C \
65         EncryptedTextFieldUiItem.C      FindDialog.C \
66         Fonts.C                         Icon.C \
67         IgnoreListUiItem.C              Image.C \
68         InboxTextFieldUiItem.C          IndexedOptionMenu.C \
69         IndexedOptionMenuUiItem.C       ListUiItem.C \
70         MailRcSource.C                  MailRetrievalOptions.C \
71         MailSession.C \
72         MoveMenuListUiItem.C            MsgHndArray.C \
73         MsgScrollingList.C              NoOpCmd.C \
74         OptCmd.C                        PasswordDialogManager.C \
75         PropUi.C                        QueryDialogManager.C \
76         RoamApp.C                       RoamCmds.C \
77         RoamInterruptibleCmd.C          RoamMenuWindow.C \
78         ScaleUiItem.C                   SendMsgDialog.C \
79         Sort.C                          SortCmd.C \
80         SpinBoxUiItem.C                 StringTab.c \
81         TemplateListUiItem.C            TextFieldUiItem.C \
82         Undelete.C                      ViewMsgDialog.C \
83         WMSaveSession.C                 XmStrCollector.C \
84         XmTextEditor.C                  XtArgCollector.C \
85         dtb_utils.C                     options_stubs.C \
86         options_ui.C                    options_util.C
87
88 OBJS =  AliasListUiItem.o               AlternatesListUiItem.o \
89         AntiCheckBoxUiItem.o            AttachArea.o \
90         Attachment.o \
91         CheckBoxUiItem.o                CheckForMailUiItem.o \
92         ComposeCmds.o                   CustomListUiItem.o \
93         Dialog.o                        DialogShell.o \
94         DmxMailbox.o                    DmxMessage.o \
95         DmxPrintJob.o                   DmxPrintOptions.o \
96         DmxPrintOutput.o                DmxPrintSetup.o \
97         DmxUtils.o                      DtEditor.o \
98         DtMailEditor.o                  DtMailGenDialog.o \
99         DtMailWDM.o                     Editor.o \
100         EncryptedTextFieldUiItem.o      FindDialog.o \
101         Fonts.o                         Icon.o \
102         IgnoreListUiItem.o              Image.o \
103         InboxTextFieldUiItem.o          IndexedOptionMenu.o \
104         IndexedOptionMenuUiItem.o       ListUiItem.o \
105         MailRcSource.o                  MailRetrievalOptions.o \
106         MailSession.o \
107         MoveMenuListUiItem.o            MsgHndArray.o \
108         MsgScrollingList.o              NoOpCmd.o \
109         OptCmd.o                        PasswordDialogManager.o \
110         PropUi.o                        QueryDialogManager.o \
111         RoamApp.o                       RoamCmds.o \
112         RoamInterruptibleCmd.o          RoamMenuWindow.o \
113         ScaleUiItem.o                   SendMsgDialog.o \
114         Sort.o                          SortCmd.o \
115         SpinBoxUiItem.o                 StringTab.o \
116         TemplateListUiItem.o            TextFieldUiItem.o \
117         Undelete.o                      ViewMsgDialog.o \
118         WMSaveSession.o                 XmStrCollector.o \
119         XmTextEditor.o                  XtArgCollector.o \
120         dtb_utils.o                     options_stubs.o \
121         options_ui.o                    options_util.o
122
123 # Rules
124 NormalCplusplusObjectRule()
125
126 ComplexCplusplusProgramTarget(dtmail)