Merge branch 'linux1'
[oweals/cde.git] / cde / programs / dtmail / dtmailpr / Imakefile
1 XCOMM $TOG: Imakefile /main/15 1998/08/05 13:24:40 mgreess $
2
3 #define CplusplusSource YES
4 DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
5 EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
6
7 INCLUDES = -I. -I../include -I../../dtcompat -I../../../. -I$(CDELIBSRC)
8
9 #ifndef DtMailDefines
10 # define DtMailDefines
11 #endif
12 DEFINES = DtMailDefines
13
14 DEPLIBS = ../libDtMail/libDtMail.a DepDtClientLibs
15 LOCAL_LIBRARIES = ../libDtMail/libDtMail.a DtClientLibs
16 SYS_LIBRARIES = $(DYNLIBSYSLIB) $(ICONVSYSLIB) $(REGEXSYSLIB) -lm
17
18 #ifdef SunArchitecture
19 # ifndef SUNPRODIR
20 SUNPRO_DIR      =       /opt/SUNWspro
21 # else
22 SUNPRO_DIR      =       SUNPRODIR
23 # endif
24
25 C++LIBPATH      =       -L$(SUNPRO_DIR)/lib
26
27 EXTRA_CCOPTIONS =       -xstrconst -Xc -v
28 # ifdef USE_SPRO_V3
29 SPRO_V3_OPTIONS =      -noex -USPRO_V2
30 #  ifdef DEBUGTREE
31 SPRO_V3_OPTIONS +=      -xsb
32 #  endif /* DEBUGTREE */
33 # else
34 EXTRA_CCOPTIONS +=      -DSPRO_V2
35 # endif  /* USE_SPRO_V3 */
36
37 EXTRA_C++OPTIONS =      +p +w $(SPRO_V3_OPTIONS)
38 MT_LIBS         =       -i $(C++_LIB)  -lm -lw -lc
39
40 SYS_LIBRARIES   =       -lintl -lnsl $(MT_LIBS) -lC
41 #endif /* SunArchitecture */
42
43 SRCS = main.C message.C mailbox.C utils.C
44 OBJS = main.o message.o mailbox.o utils.o
45
46 NormalCplusplusObjectRule()
47
48 ComplexCplusplusProgramTarget(dtmailpr)