Even more spelling fixed
[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) $(DEPENDDEFINES)
5 EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
6
7 INCLUDES = -I. -I../include -I../../dtcompat -I../../../. \
8            -I$(CDELIBSRC) $(STD_INCLUDES)
9
10 #ifndef DtMailDefines
11 # define DtMailDefines
12 #endif
13 DEFINES = DtMailDefines
14
15 DEPLIBS = ../libDtMail/libDtMail.a DepDtClientLibs
16 LOCAL_LIBRARIES = ../libDtMail/libDtMail.a DtClientLibs
17 SYS_LIBRARIES = $(DYNLIBSYSLIB) $(ICONVSYSLIB) $(REGEXSYSLIB) -lm
18
19 #ifdef SunArchitecture
20 # ifndef SUNPRODIR
21 SUNPRO_DIR      =       /opt/SUNWspro
22 # else
23 SUNPRO_DIR      =       SUNPRODIR
24 # endif
25
26 C++LIBPATH      =       -L$(SUNPRO_DIR)/lib
27
28 EXTRA_CCOPTIONS =       -xstrconst -Xc -v
29 # ifdef USE_SPRO_V3
30 SPRO_V3_OPTIONS =      -noex -USPRO_V2
31 #  ifdef DEBUGTREE
32 SPRO_V3_OPTIONS +=      -xsb
33 #  endif /* DEBUGTREE */
34 # else
35 EXTRA_CCOPTIONS +=      -DSPRO_V2
36 # endif  /* USE_SPRO_V3 */
37
38 EXTRA_C++OPTIONS =      +p +w $(SPRO_V3_OPTIONS)
39 MT_LIBS         =       $(C++_LIB)  -lm -lw -lc
40
41 SYS_LIBRARIES   =       -lintl -lnsl $(MT_LIBS)
42 #endif /* SunArchitecture */
43
44 SRCS = main.C message.C mailbox.C utils.C
45 OBJS = main.o message.o mailbox.o utils.o
46
47 NormalCplusplusObjectRule()
48
49 ComplexCplusplusProgramTarget(dtmailpr)