mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
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:
parent
a38242a9d0
commit
421b5061a6
13 changed files with 1099 additions and 12 deletions
|
|
@ -154,6 +154,9 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
|
|||
#define StandardIncludes -I/usr/local/include
|
||||
#define BuildLibPathVar LD_LIBRARY_PATH
|
||||
|
||||
#define DefaultUserPath /bin:/usr/bin:/usr/local/bin:$(BINDIR)
|
||||
#define DefaultSystemPath /sbin:/usr/sbin:/bin:/usr/bin:$(BINDIR)
|
||||
|
||||
#define TroffCmd groff -Tps
|
||||
#define SetTtyGroup YES
|
||||
#define HasNdbm YES
|
||||
|
|
@ -167,8 +170,6 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
|
|||
#define HasPlugin YES
|
||||
#define VendorHasX11R6_3libXext YES /* XC or XFree86 3.3.1 */
|
||||
|
||||
#include <bsdLib.rules>
|
||||
#define CDESharedRev 2
|
||||
|
||||
#ifdef i386Architecture
|
||||
#include <xfree86.cf>
|
||||
#endif
|
||||
#include <bsdLib.rules>
|
||||
|
|
|
|||
|
|
@ -49,13 +49,13 @@ AllTarget(Concat(lib,libname.so.rev)) @@\
|
|||
@@\
|
||||
Concat(lib,libname.so.rev): solist $(EXTRALIBRARYDEPS) @@\
|
||||
$(RM) $@~ @@\
|
||||
(cd down; $(LD) -o up/$@~ $(SHLIBLDFLAGS) solist $(REQUIREDLIBS)) @@\
|
||||
(cd down; $(LD) -o up/$@~ -soname $@ $(SHLIBLDFLAGS) solist $(REQUIREDLIBS)) @@\
|
||||
$(RM) $@ @@\
|
||||
$(MV) $@~ $@ @@\
|
||||
$(RM) Concat(lib,libname.so) @@\
|
||||
$(LN) $@ Concat(lib,libname.so) @@\
|
||||
LinkBuildLibrary($@) @@\
|
||||
LinkBuildLibrary(Concat(lib,libname.so)) @@\
|
||||
(cd $(BUILDLIBDIR) && $(LN) $@ Concat(lib,libname.so)) @@\
|
||||
@@\
|
||||
clean:: @@\
|
||||
$(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue