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