Commit graph

20 commits

Author SHA1 Message Date
Georg Sauthoff 1755c69296 don't use sys_nerr with Solaris/64 Bit
since it isn't available then
2016-08-26 23:48:40 +02:00
Georg Sauthoff 3c18899ecb use 32/64 bit agnostic hint on solaris 2016-08-26 23:43:56 +02:00
Georg Sauthoff d7fa22c88f fix typos in compatibility function 2016-08-26 23:00:14 +02:00
Georg Sauthoff 391eb656fe link additional Libraries on Solaris 2016-08-26 22:59:19 +02:00
Georg Sauthoff 3c28143a75 use closefrom() where available
e.g. on Linux via libbsd - or on BSDs where the symbol exists
2016-08-26 22:25:48 +02:00
Georg Sauthoff 064e38eae9 add CPack packaging definition
See also:

- https://cmake.org/cmake/help/v3.4/module/CPack.html
- https://cmake.org/cmake/help/v3.4/module/CPackRPM.html
- https://cmake.org/cmake/help/v3.4/module/CPackDeb.html
2016-08-24 08:42:36 +02:00
Georg Sauthoff d648e92188 fix build on Solaris 10
Solaris 10 is too old for POSIX.2008, thus wcsdup() is missing
2016-08-23 21:13:46 +02:00
Georg Sauthoff 1888f89375 simplify Solaris CPP test 2016-08-23 20:26:31 +02:00
Georg Sauthoff 4ed41c209c add install target 2016-08-22 20:55:39 +02:00
Georg Sauthoff b421774ba2 Sun make does support include file generation 2016-08-22 20:00:25 +02:00
Georg Sauthoff d3527b72cf add examples, add installation notes 2016-08-21 23:34:14 +02:00
Georg Sauthoff 9180a40f1f adjust optstring for GNU getopt() 2016-08-21 23:34:14 +02:00
Georg Sauthoff 43a5295e69 fix Linux compile issues
- include stubs for Solaris specific functionality
- include some missing standard headers
- guard Solaris specific constructs with preprocessor conditionals
- fix pointer-to-int-cast undefined behavior
2016-08-21 23:34:14 +02:00
Georg Sauthoff c0dfa85aa1 add Solaris compatibility stubs 2016-08-21 23:34:14 +02:00
Georg Sauthoff 7f43353e56 add CMake build file and instructions 2016-08-21 23:34:14 +02:00
Georg Sauthoff 83e0598cad Merge branch 'illumos' 2016-08-21 23:34:14 +02:00
Georg Sauthoff 6804ba69d6 import Sun's dmake from illumos
Source:

svn export https://github.com/illumos/illumos-gate/trunk/usr/src/cmd/make/

Yes, github also has a Subversion compatible interface - which seems to
be useful when one is only interested in a set of files.

The Github Subversion server printed: Exported revision 15816.

This corresponds to:
67c3092ccd/usr/src/cmd/make
2016-08-21 23:34:14 +02:00
Georg Sauthoff c2f5d8001b Import man page
Source:

curl -OL 10d63b7db3/usr/src/man/man1/make.1
2016-08-21 23:33:49 +02:00
Georg Sauthoff cd9f4eb76c import OpenSolaris CDDL license
Source:

curl -o COPYING 'https://raw.githubusercontent.com/illumos/illumos-gate/cbf5bfd0563daa9bd1e66ff129333add3c9ca2ea/usr/src/OPENSOLARIS.LICENSE'
2016-08-21 11:10:30 +02:00
Georg Sauthoff ad2bea3b1e add README.md 2016-08-21 11:05:22 +02:00