-fpermissive to allow old C++ to compile on gcc
[oweals/cde.git] / cde / programs / dtmail / libDtMail / RFC / Imakefile
1 XCOMM $TOG: Imakefile /main/8 1998/08/05 13:25:32 mgreess $
2 #define DoNormalLib     YES
3 #define DoSharedLib     NO
4 #define DoDebugLib      NO
5 #define DoProfileLib    NO
6 #define LibName         DtMail
7 #define LibHeaders      NO
8 #define LibCreate       NO
9
10 #define CplusplusSource YES
11 DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
12
13 #include <Threads.tmpl>
14
15 INCLUDES = -I. -I../Common -I../../include -I../../include/utils -I$(CDELIBSRC)
16
17 #if defined(LinuxDistribution)
18 CXXEXTRA_DEFINES = -fpermissive
19 #endif
20
21 #if HasVFork
22 VFORK_DEFINES = -DHAS_VFORK
23 #else
24 VFORK_DEFINES =
25 #endif
26
27 #ifndef DtMailDefines
28 # define DtMailDefines
29 #endif
30 DEFINES = -DTTLOCK_OFF $(VFORK_DEFINES) DtMailDefines
31
32 SRCS = \
33         AliasExpand.C           MIMEBodyPart.C \
34         MIMEPartial.C           RFCBodyPart.C \
35         RFCEnvelope.C           RFCFormat.C \
36         RFCMIME.C               RFCMailBox.C \
37         RFCMailValues.C         RFCMessage.C \
38         RFCTransport.C          SunV3.C \
39         V3BodyPart.C
40
41 /*
42  * NOTE: All changes here must be mirrored in ../Imakefile's RFC_OBJS
43  */
44 OBJS = \
45         AliasExpand.o           MIMEBodyPart.o \
46         MIMEPartial.o           RFCBodyPart.o \
47         RFCEnvelope.o           RFCFormat.o \
48         RFCMailBox.o            RFCMailValues.o \
49         RFCMessage.o            RFCMIME.o \
50         RFCTransport.o          SunV3.o \
51         V3BodyPart.o
52
53 #include <Library.tmpl>
54
55 SubdirLibraryRule($(OBJS))
56
57 DependTarget()