Allow building on FreeBSD

- build shared libraries with major number only (libtt.so.2)
- don't build dtlogin and dtinfo

FreeBSD support for the installer:
- work around awk issue
- create post_install FreeBSD scripts
- install only cmsd on /etc/inetd.conf
  skip dtspc and ttdbserver for now

Note to users: please check
if you are affected by awk bug
in udbParseLib.awk if you can.
This commit is contained in:
Marcin Cieslak
2012-09-06 13:45:11 +02:00
committed by Jon Trulson
parent a38242a9d0
commit 421b5061a6
13 changed files with 1099 additions and 12 deletions

View File

@@ -12,28 +12,39 @@ XCOMM dtksh dtinfo
#if defined(LinuxArchitecture)
DTKSHDIR =
DTINFODIR =
#elif defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
DTCMDIR = dtcm
DTLOGINDIR = dtlogin
#elif defined(OpenBSDArchitecture)
DTKSHDIR = dtksh
DTINFODIR =
DTCMDIR = dtcm
DTLOGINDIR = dtlogin
#elif defined(FreeBSDArchitecture)
DTKSHDIR = dtksh
DTINFODIR =
DTCMDIR = dtcm
DTLOGINDIR = dtlogin/config
#else
DTKSHDIR = dtksh
DTINFODIR = dtinfo
DTCMDIR = dtcm
DTLOGINDIR = dtlogin
#endif
SUBDIRS = dthelp dsdm dtmail dtpad dtfile dtwm dtlogin \
SUBDIRS = dthelp dsdm dtmail dtpad dtfile dtwm $(DTLOGINDIR) \
dtsession dthello dtstyle dtexec dtdbcache dticon dtterm \
dtcalc dtaction dtspcd \
dtscreen $(DTKSHDIR) dtcm dtsearchpath \
dtscreen $(DTKSHDIR) $(DTCMDIR) dtsearchpath \
dtappbuilder dtappintegrate dtprintegrate dtconfig \
dtcreate dtprintinfo fontaliases dtdspmsg ttsnoop \
dtudcfonted dtudcexch dtimsstart dtdocbook dtpdm dtsr \
dtpdmd $(DTINFODIR) $(EXTRADIRS)
LINTSUBDIRS = dthelp dsdm dtmail dtpad dtfile dtlogin dtwm \
LINTSUBDIRS = dthelp dsdm dtmail dtpad dtfile $(DTLOGINDIR) dtwm \
dtsession dthello dtstyle dtexec dtdbcache dticon dtterm \
dtcalc dtaction dtcreate \
dtscreen $(DTKSHDIR) dtcm dtsearchpath \
dtscreen $(DTKSHDIR) $(DTCMDIR) dtsearchpath \
dtappbuilder dtappintegrate dtprintegrate dtprintinfo dtdspmsg \
dtudcfonted dtudcexch dtimsstart dtdocbook dtpdm dtsr \
dtpdmd $(DTINFODIR) $(EXTRADIRS)