1 XCOMM $TOG: Imakefile /main/15 1998/08/05 13:24:40 mgreess $
3 #define CplusplusSource YES
4 DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
5 EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
7 INCLUDES = -I. -I../include -I../../dtcompat -I../../../. -I$(CDELIBSRC)
10 # define DtMailDefines
12 DEFINES = DtMailDefines
14 DEPLIBS = ../libDtMail/libDtMail.a DepDtClientLibs
15 LOCAL_LIBRARIES = ../libDtMail/libDtMail.a DtClientLibs
16 SYS_LIBRARIES = $(DYNLIBSYSLIB) $(ICONVSYSLIB) $(REGEXSYSLIB) -lm
18 #ifdef SunArchitecture
20 SUNPRO_DIR = /opt/SUNWspro
22 SUNPRO_DIR = SUNPRODIR
25 C++LIBPATH = -L$(SUNPRO_DIR)/lib
27 EXTRA_CCOPTIONS = -xstrconst -Xc -v
29 SPRO_V3_OPTIONS = -noex -USPRO_V2
31 SPRO_V3_OPTIONS += -xsb
32 # endif /* DEBUGTREE */
34 EXTRA_CCOPTIONS += -DSPRO_V2
35 # endif /* USE_SPRO_V3 */
37 EXTRA_C++OPTIONS = +p +w $(SPRO_V3_OPTIONS)
38 MT_LIBS = -i $(C++_LIB) -lm -lw -lc
40 SYS_LIBRARIES = -lintl -lnsl $(MT_LIBS) -lC
41 #endif /* SunArchitecture */
43 SRCS = main.C message.C mailbox.C utils.C
44 OBJS = main.o message.o mailbox.o utils.o
46 NormalCplusplusObjectRule()
48 ComplexCplusplusProgramTarget(dtmailpr)