1 XCOMM $TOG: Imakefile /main/15 1998/08/05 13:24:40 mgreess $
3 #define CplusplusSource YES
4 DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
5 EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
7 INCLUDES = -I. -I../include -I../../dtcompat -I../../../. \
8 -I$(CDELIBSRC) $(STD_INCLUDES)
11 # define DtMailDefines
13 DEFINES = DtMailDefines
15 DEPLIBS = ../libDtMail/libDtMail.a DepDtClientLibs
16 LOCAL_LIBRARIES = ../libDtMail/libDtMail.a DtClientLibs
17 SYS_LIBRARIES = $(DYNLIBSYSLIB) $(ICONVSYSLIB) $(REGEXSYSLIB) -lm
19 #ifdef SunArchitecture
21 SUNPRO_DIR = /opt/SUNWspro
23 SUNPRO_DIR = SUNPRODIR
26 C++LIBPATH = -L$(SUNPRO_DIR)/lib
28 EXTRA_CCOPTIONS = -xstrconst -Xc -v
30 SPRO_V3_OPTIONS = -noex -USPRO_V2
32 SPRO_V3_OPTIONS += -xsb
33 # endif /* DEBUGTREE */
35 EXTRA_CCOPTIONS += -DSPRO_V2
36 # endif /* USE_SPRO_V3 */
38 EXTRA_C++OPTIONS = +p +w $(SPRO_V3_OPTIONS)
39 MT_LIBS = $(C++_LIB) -lm -lw -lc
41 SYS_LIBRARIES = -lintl -lnsl $(MT_LIBS)
42 #endif /* SunArchitecture */
44 SRCS = main.C message.C mailbox.C utils.C
45 OBJS = main.o message.o mailbox.o utils.o
47 NormalCplusplusObjectRule()
49 ComplexCplusplusProgramTarget(dtmailpr)