aboutsummaryrefslogtreecommitdiff
path: root/config.mk
AgeCommit message (Collapse)AuthorFilesLines
2016-03-21build: overhaul build system auto detect stuff using a configure scriptMarc André Tanner1-68/+0
The new build instructions are: $ ./configure && make && sudo make install The configure script tries to auto detect support for various libraries and compiler options. These choices can be overwritten by explicitly specifing --{en,dis}able-{lua,selinux,acl}. See ./configure --help for all supported options. The configure script generates config.mk which should allow portable (among GNU and BSD make) Makefiles. Manually editing config.mk is still supported.
2016-03-06build: remove hardening compiler flags for nowMarc André Tanner1-9/+0
They do not seem to be supported on all platforms (e.g. FreeBSD). Users who know what they are doing can still provide them via the regular $CFLAGS mechanism. Eventually these should be tested by a handwritten configure script and added to config.mk iff they are supported by the toolchain.
2016-02-28build: do not modify $CFLAGS directlyMarc André Tanner1-5/+10
These are picked-up by configure when building dependencies during make standalone.
2016-01-14build: cleanup $LIBS variableMarc André Tanner1-2/+2
2016-01-13Add -pedantic to debug CFLAGS and fix resulting warningsMarc André Tanner1-1/+1
2015-12-29Clean up build systemMarc André Tanner1-32/+19
2015-12-26vis: refactor Lua integrationMarc André Tanner1-4/+10
Lua support can now be disabled at compile time using: $ make CONFIG_LUA=0 This commit also adds an initial Lua API and provides a few default hooks. We now also require Lua >= 5.2 due to the uservalue constructs. In principle the same functionality could be implemented using function environments from Lua 5.1.
2015-11-08build: explicitly link againgst dlMarc André Tanner1-1/+1
For musl this is a nop, it contains the relevant code in libc and provides and empty libdl archive for compatibility. However certain glibc based system need it.
2015-11-08vis: try to support all lua versions >= 5.1Marc André Tanner1-1/+1
Make lpeg module table explicitly global, which should work with the different module loading semantics.
2015-11-08Overhaul build systemMarc André Tanner1-3/+6
Add separate per library {C,LD}FLAGS and use default values from pkg-config to allow for finer control. Disable pkg-config by setting PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR= Override flags completely by specifying them as arguments to make: $ make CFLAGS_CURSES="your custom flags for curses" Also introduce a new, experimental Makefile target standalone. It tries to build a self contained statically linked vis binary. All dependencies (musl, ncurses, termkey, lua, lpeg) are build from source. Lua is patched to include lpeg as a statically built module.
2015-10-27build: merge parts of the build system changes from lua branchMarc André Tanner1-10/+11
Should hopefully fix build on Mac OS X.
2015-10-08build: always take revision from current branchMarc André Tanner1-1/+1
2015-10-06Change release tarball compression to gzipMarc André Tanner1-1/+1
2015-10-06add a new Makefile target 'release' to build release tarballChristian Hesse1-1/+2
2015-10-06update version handling to work with tags or without gitChristian Hesse1-6/+13
2015-10-05vis: rework input handling using libtermkeyMarc André Tanner1-1/+1
Key bindings are now specified as symbolic key strings, this will eventually allow run time configurable key mappings. This introduces a bulid time dependency on libtermkey which can be found at: http://www.leonerd.org.uk/code/libtermkey/
2015-07-06text: overhaul save implemenationMarc André Tanner1-1/+14
Try to do an atomic save using rename(2) unless * the file is a symbolic link * the file is a hard link * file ownership can not be preserved * file group can not be preserved * POSXI ACL can not be preserved (if enabled) * SELinux security context can not be preserved (if enabled) in which case the file is overwritten in place. However a failure to do so results in data loss. Closes #47.
2015-07-05make: only call uname once in config.mkMarc André Tanner1-6/+8
2015-04-22get version from gitChristian Hesse1-1/+8
Signed-off-by: Christian Hesse <mail@eworm.de>
2015-01-19OpenBSD links against ncursesJames Turner1-0/+1
2015-01-14Add hardening flags for gcc and clangjvoisin1-0/+9
2015-01-03Fix compilation on various *nix systemsMarc André Tanner1-2/+19
Unfortunately this breaks support for BSD make.
2014-10-23Move feature test macros to config.mkMarc André Tanner1-1/+2
2014-08-24Add work in progress editor frontendMarc André Tanner1-0/+17