287df9501b02092630974c36732b8fc013bea5ae
[oweals/cde.git] / cde / programs / dtinfo / dtinfo / src / Managers / Imakefile
1 XCOMM $XConsortium: Imakefile /main/9 1996/08/21 15:42:26 drk $
2
3 XCOMM NodeMgr.o and PrintMgr.o need STYLE_SHEET_INCLUDES.
4 DEPEND_DEFINES = $(DEPENDDEFINES) $(STYLE_SHEET_INCLUDES)
5 CXXEXTRA_DEFINES = -DEXPAND_TEMPLATES
6
7 DEFINES=-DCDE_NEXT $(BYTE_ORDER_DEFINES)
8
9 #ifdef DoLicenseManagement
10 EXTRA_DEFINES=-DLICENSE_MANAGEMENT
11 EXTRA_INCLUDES=$(LICENSE_L_INCLUDES)
12 #endif
13
14 #if defined(UseWideChars) && defined(SunArchitecture) && (OSMajorVersion == 4)
15 WC_FLAGS=-I/VOB/olias/library/Xwchar/src
16 #endif
17     
18 LFLAGS=-8 -s
19
20 MAKEFILEDEPS=Classlist.mk
21
22 LIBNAME=Managers
23
24 NormalCplusplusObjectRule()
25
26 INCLUDES=$(CXXDEPENDINCLUDES) $(BROWSER_INCLUDES) $(COMMON_CLASS_INCLUDES)
27
28 #include "Classlist.mk"
29
30 OBJS=$(SRCS:.C=.o)
31
32 SpecialCPlusPlusObjectRule(NodeMgr.o,,$(LICENSE_F_INCLUDES) $(COMMON_CLASS_INCLUDES) $(STYLE_SHEET_INCLUDES) $(WC_FLAGS))
33 SpecialCPlusPlusObjectRule(PrintMgr.o,,$(LICENSE_F_INCLUDES) $(COMMON_CLASS_INCLUDES) $(STYLE_SHEET_INCLUDES) $(WC_FLAGS))
34
35 #if defined(UseWideChars) && defined(SunArchitecture) && (OSMajorVersion == 4)
36 WC_OBJS=\
37 HyphenMgr.o \
38 MarkMgr.o \
39 GraphicsMgr.o
40
41 SpecialCPlusPlusObjectRule($(WC_OBJS),,$(WC_FLAGS))
42 #endif
43
44 make_libfiles($(LIBNAME), $(CLASSES))
45 make_msgs($(LIBNAME), $(MSGS))
46
47 #if defined(SunArchitecture) && CplusplusCompilerMajorVersion > 3
48 SimpleLibraryT($(LIBNAME), $(OBJS), $(LIBDIR))
49 #elif defined(LinuxArchitecture) || defined(BSDArchitecture)
50 SimpleLibrary($(LIBNAME), $(OBJS), $(LIBDIR))
51 #else
52 SimpleLibrary($(LIBNAME), $(OBJS), $(LIBDIR))
53 XCOMM RealLibrary($(LIBNAME), $(OBJS), $(LIBDIR))
54 #endif
55
56 DependTarget()