/* MTOOLKITSRC should be removed */
MTOOLKITSRC = $(TOOLKITSRC)
#if ImportMotif || UseInstalledMotif
- MINCLUDESRC = $(MTOP)/include
MDOCSRC = $(MTOP)/doc
MLOCSRC = $(MTOP)/localized
#else
- MINCLUDESRC = $(MTOP)/exports/include
MLOCSRC = $(MTOP)/exports/localized
+#endif
+#if defined(TopMotifInclude)
+ MINCLUDESRC = TopMotifInclude
+#elif ImportMotif || UseInstalledMotif
+ MINCLUDESRC = $(MTOP)/include
+#else
+ MINCLUDESRC = $(MTOP)/exports/include
#endif
MLIBSRC = $(MTOP)/lib
MCLIENTSRC = $(MTOP)/clients
UILFLAGS = UilFlags
GENCATFLAGS = GencatFlags
GENCAT = GencatCmd $(GENCATFLAGS)
- MKCATTOOL = $(MLOCSRC)/util/mkcatdefs
+ MKCATTOOL = $(TOP)/programs/localized/util/mkcatdefs
RM_CMD = $(RM) FilesToClean ExtraFilesToClean TestExtraFilesToClean
# else
DEPLIBS = $(LOCAL_LIBRARIES)
# endif
- DEPLIBS1 = $(DEPLIBS)
- DEPLIBS2 = $(DEPLIBS)
- DEPLIBS3 = $(DEPLIBS)
+ DEPLIBS1 = $(DEPLIBS)
+ DEPLIBS2 = $(DEPLIBS)
+ DEPLIBS3 = $(DEPLIBS)
#endif /* NeedDefaultDepLibs */
+
+/* check for existence of Dtinfo Motif Documents */
+#if defined(LinuxArchitecture)
+ MOTIF_DOC = $(shell if test -f $(MDOCSRC)/C/guides/bookcase.bc; then echo -D_MOTIFDOC_; fi)
+#elif defined(BSDArchitecture)
+ MOTIF_DOC != if test -f $(MDOCSRC)/C/guides/bookcase.bc; then echo -D_MOTIFDOC_; else echo; fi
+#else
+ MOTIF_DOC = -D_MOTIFDOC_
+#endif