1 XCOMM $TOG: Imakefile /main/21 1998/08/25 12:58:41 mgreess $
3 #define CplusplusSource YES
4 DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
5 EXTRA_LOAD_FLAGS = ExtraLoadFlags $(UNSHARED_CXXLIB)
8 #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CXXDEBUGFLAGS=$(CXXDEBUGFLAGS)'
10 SUBDIRS = util libUI objects UI
12 MakeSubdirs($(SUBDIRS))
13 DependSubdirs($(SUBDIRS))
20 all:: $(DTPRINTINFO_GEN)
22 #ifdef SunArchitecture
26 INCLUDES = -I. -I./UI -I./libUI -I./util -I./libUI/MotifUI \
27 -I./objects -I./objects/PrintObj
29 DEPLIBS = ./libUI/MotifUI/libMotifUI.a ./util/libUtil.a \
30 ./UI/libDtPrintinfo.a ./objects/PrintObj/libPrintObj.a \
31 $(DEPDTHELPLIB) $(DEPDTWIDGETLIB) $(DEPDTSVCLIB) $(DEPTTLIB) \
32 $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXPLIB) $(DEPXLIB)
34 #ifdef SunArchitecture
35 LOCAL_LIBRARIES = ./UI/libDtPrintinfo.a ./util/libUtil.a \
36 ./libUI/MotifUI/libMotifUI.a ./objects/PrintObj/libPrintObj.a \
37 $(DTWIDGETLIB) $(DTSVCLIB) $(TTLIB) $(XMLIB) $(XTOOLLIB) \
40 LOCAL_LIBRARIES = ./UI/libDtPrintinfo.a ./util/libUtil.a \
41 ./libUI/MotifUI/libMotifUI.a ./objects/PrintObj/libPrintObj.a \
42 $(DTHELPLIB) $(DTWIDGETLIB) $(DTSVCLIB) $(TTLIB) $(XMLIB) \
43 $(XTOOLLIB) $(XPLIB) $(XLIB)
44 #endif /* SunArchitecture */
46 SYS_LIBRARIES = DtClientSysLibs DtClientExtraLibs
50 #ifdef SunArchitecture
55 DEFINES = -DHAS_EXCEPTIONS
58 #ifdef USLArchitecture
62 #ifdef UXPArchitecture
66 #ifdef AlphaArchitecture
70 /* special processing for message files */
71 SYM2NUM_CMD = $(SHELL) sym2num
74 OBJS = libUI/BaseUI.o objects/BaseObj.o DtPrintinfo.o
77 NormalCplusplusObjectRule()
79 ComplexCplusplusProgramTarget(dtprintinfo)
81 dtprintinfo_msg.h dtprintinfo.msg: dtprintinfo.msg.src
82 rm -f dtprintinfo_msg.h dtprintinfo.msg
83 $(SYM2NUM_CMD) dtprintinfo dtprintinfo.msg.src> dtprintinfo.msg
85 dtprintinfo_cat.h: dtprintinfo.msg.src
86 rm -f dtprintinfo_cat.h
87 ${AWK} -f msg.awk dtprintinfo.msg.src > dtprintinfo_cat.h
89 includes:: dtprintinfo_cat.h dtprintinfo_msg.h
91 depend:: dtprintinfo_cat.h dtprintinfo_msg.h
94 $(RM) *.map $(DTPRINTINFO_GEN)