OpenIndiana and Solaris port
[oweals/cde.git] / cde / programs / dtmail / libDtMail / Common / Imakefile
1 XCOMM $TOG: Imakefile /main/10 1998/11/09 18:30:37 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) $(DEPENDDEFINES)
12
13 #include <Threads.tmpl>
14
15 INCLUDES = -I. -I../../include -I../../include/utils -I$(CDELIBSRC) $(STD_INCLUDES)
16
17 #if HasVFork
18 VFORK_DEFINES = -DHAS_VFORK
19 #else
20 VFORK_DEFINES =
21 #endif
22
23 #if defined(DtMailDynamicLinking) && DtMailDynamicLinking
24 DYNLIB_SRCS = DlDynamicLib.C
25 DYNLIB_OBJS = DlDynamicLib.o
26 DYNLIB_DEFINES = -DDL_DYNAMIC_LIBS
27 #else
28 DYNLIB_SRCS = NotDynamic.C
29 DYNLIB_OBJS = NotDynamic.o
30 DYNLIB_DEFINES = -DDL_NOT_DYNAMIC
31 #endif
32
33 #ifndef DtMailDefines
34 # define DtMailDefines
35 #endif
36
37 #ifndef HPArchitecture
38 MAILSERVER_DEFINES = -DUSE_SOCKSTREAM
39 #endif
40
41 DEFINES = $(VFORK_DEFINES) $(DYNLIB_DEFINES) $(MAILSERVER_DEFINES) DtMailDefines
42
43 SRCS = \
44         $(DYNLIB_SRCS) \
45         APOPServer.C \
46         AUTOServer.C \
47         Buffer.C \
48         DetermineFileLocality.C \
49         DtMailBodyPart.C \
50         DtMailEnvelope.C \
51         DtMailError.C \
52         DtMailMailBox.C \
53         DtMailMessage.C \
54         DtMailRc.C \
55         DtMailServer.C \
56         DtMailTransport.C \
57         DtMailValuesBuiltin.C \
58         DtMailXtProc.C \
59         DtVirtArray.C \
60         DynamicLib.C \
61         FileShare.C \
62         HashTable.C \
63         IMAPServer.C \
64         IO.C \
65         LanguagePortability.C \
66         ObjectKey.C \
67         POP2Server.C \
68         POP3Server.C \
69         Process.C \
70         Session.C \
71         Threads.C \
72         md5.C \
73         str_utils.C
74
75 /*
76  * NOTE: All changes here must be mirrored in ../Imakefile's COMMON_OBJS
77  */
78 OBJS = \
79         $(DYNLIB_OBJS) \
80         APOPServer.o \
81         AUTOServer.o \
82         Buffer.o \
83         DetermineFileLocality.o \
84         DtMailBodyPart.o \
85         DtMailEnvelope.o \
86         DtMailError.o \
87         DtMailMailBox.o \
88         DtMailMessage.o \
89         DtMailRc.o \
90         DtMailServer.o \
91         DtMailTransport.o \
92         DtMailValuesBuiltin.o \
93         DtMailXtProc.o \
94         DtVirtArray.o \
95         DynamicLib.o \
96         FileShare.o \
97         HashTable.o \
98         IMAPServer.o \
99         IO.o \
100         LanguagePortability.o \
101         ObjectKey.o \
102         POP2Server.o \
103         POP3Server.o \
104         Process.o \
105         Session.o \
106         Threads.o \
107         md5.o \
108         str_utils.o
109
110 #include <Library.tmpl>
111
112 SubdirLibraryRule($(OBJS))
113
114 DependTarget()