#if UseNSGMLS
NSGMLSDIR = nsgmls
#endif
-EXTRADIRS = util types localized tttypes $(NSGMLSDIR)
+EXTRADIRS = types localized tttypes $(NSGMLSDIR) util
-SUBDIRS = dthelp dtmail dsdm dtpad dtfile dtwm dtlogin \
+XCOMM some of these cannot be built on linux yet.
+XCOMM dtksh dtinfo
+#if defined(LinuxArchitecture)
+DTKSHDIR =
+DTINFODIR =
+DTCMDIR = dtcm
+DTLOGINDIR = dtlogin
+#elif defined(OpenBSDArchitecture)
+DTKSHDIR = dtksh
+DTINFODIR =
+DTCMDIR = dtcm
+DTLOGINDIR = dtlogin
+#elif defined(FreeBSDArchitecture)
+DTKSHDIR = dtksh
+DTINFODIR =
+DTCMDIR = dtcm
+DTLOGINDIR = dtlogin
+#else
+DTKSHDIR = dtksh
+DTINFODIR = dtinfo
+DTCMDIR = dtcm
+DTLOGINDIR = dtlogin
+#endif
+
+
+SUBDIRS = dthelp dsdm dtmail dtpad dtfile dtwm $(DTLOGINDIR) \
dtsession dthello dtstyle dtexec dtdbcache dticon dtterm \
dtcalc dtaction dtspcd \
- dtscreen dtksh dtcm dtsearchpath \
+ dtscreen $(DTKSHDIR) $(DTCMDIR) dtsearchpath \
dtappbuilder dtappintegrate dtprintegrate dtconfig \
dtcreate dtprintinfo fontaliases dtdspmsg ttsnoop \
dtudcfonted dtudcexch dtimsstart dtdocbook dtpdm dtsr \
- dtpdmd dtinfo $(EXTRADIRS)
+ dtpdmd $(DTINFODIR) $(EXTRADIRS)
-LINTSUBDIRS = dthelp dtmail dsdm dtpad dtfile dtlogin dtwm \
+LINTSUBDIRS = dthelp dsdm dtmail dtpad dtfile $(DTLOGINDIR) dtwm \
dtsession dthello dtstyle dtexec dtdbcache dticon dtterm \
dtcalc dtaction dtcreate \
- dtscreen dtksh dtcm dtsearchpath \
+ dtscreen $(DTKSHDIR) $(DTCMDIR) dtsearchpath \
dtappbuilder dtappintegrate dtprintegrate dtprintinfo dtdspmsg \
dtudcfonted dtudcexch dtimsstart dtdocbook dtpdm dtsr \
- dtpdmd dtinfo $(EXTRADIRS)
-
+ dtpdmd $(DTINFODIR) $(EXTRADIRS)
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))