aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
AgeCommit message (Collapse)AuthorFilesLines
2017-05-31build: remove make standalone leftoversMarc André Tanner1-33/+4
2017-05-31build: remove standaloneChristian Hesse1-127/+0
2017-05-31build: remove shell based self contained executableChristian Hesse1-6/+0
2017-04-11build: update libtermeky to version 0.20Marc André Tanner1-2/+2
Fix #537
2017-03-31Use a minimal POSIX shar implementation for self extracting executableMarc André Tanner1-2/+1
This only requires POSIX shell utilies for extraction. The resulting archive is bigger (it is not gzip compressed) and startup will be slower due to many spawned processes.
2017-03-16build: include dvtm terminfo entries in standalone buildsMarc André Tanner1-8/+10
2017-03-07standalone: use stronger hashing algorithm for source verificationChristian Hesse1-16/+16
2017-02-01standalone: use git snapshots for attr and aclChristian Hesse1-17/+14
Releases for attr and acl are pretty old and their build systems are really borked. The code in git head looks a lot better, so use that.
2017-01-31standalone: update lua to version 5.3.4Christian Hesse1-2/+2
2017-01-31standalone: update lpeg to version 1.0.1Christian Hesse1-2/+2
2017-01-31build: properly strip elf executablesChristian Hesse1-2/+3
We had several elf executables that were not stripped properly. Move the filenames to a dedicated variable and use that to not miss anything.
2017-01-20standalone: work around borked dependencies in attrChristian Hesse1-1/+2
We already did this change for acl (commit cc551cb0). In attr it shows slightly different symptoms and happens for parallel builds only. The fix is the same.
2017-01-19build: more standalone build multilib cleanupMarc André Tanner1-1/+1
2017-01-19build: try to fix standalone build for multilib systemsMarc André Tanner1-2/+2
2017-01-19standalone: work around borked dependencies in aclChristian Hesse1-1/+2
For any reason acl decides do build getfacl and setfacl on `make [...] install-lib install-dev`, which may fail. Make sure to not fail by installing from libacl and include subdirectories.
2017-01-19build: slightly cleanup make standaloneMarc André Tanner1-10/+8
2017-01-18standalone: build with POSIX ACL supportChristian Hesse1-1/+72
2017-01-16make: define EXECUTABLES and install in a loopChristian Hesse1-1/+2
Define EXECUTABLES and install in a loop. Also fix uninstalling man pages.
2017-01-16single: include tools vis-{clipboard,complete,menu,open}Christian Hesse1-1/+1
These are called from vis only. So include them in the archive and set PATH to make vis find them.
2017-01-11single: allow to build self-extracting executableChristian Hesse1-0/+5
This allows to create a self extracting executable. The standalone binary and lua files are extracted to /tmp/.vis-XXXXXX, vis is started with the given command line arguments, finally temporary files are removed. Signed-off-by: Christian Hesse <mail@eworm.de>
2017-01-04standalone: update to musl version 1.1.16Christian Hesse1-2/+2
This release fixes a serious under-allocation bug in regexec due to integer overflow (CVE-2016-8859) and related issues. http://www.openwall.com/lists/musl/2017/01/03/1
2016-12-28build: use latest Lua 5.3.x for make local and standalone buildsMarc André Tanner1-4/+4
2016-12-27build: update libtermkey to version 0.19Marc André Tanner1-2/+2
Close #445
2016-12-27build: configure ncurses with --disable-leaksMarc André Tanner1-1/+1
Makes analysis with valgrind easier.
2016-12-16build: update unused make standalone/local Lua reference to 5.3.3Marc André Tanner1-2/+2
2016-12-13build: fix Cygwin buildMarc André Tanner1-1/+2
The simple method lpeg uses to create a shared library does not seem to work in Cygwin.
2016-12-13build: add configure options for built-in lpeg supportMarc André Tanner1-14/+11
2016-07-15build: properly set LDFLAGS for standalone build dependenciesMarc André Tanner1-2/+2
Might fix #248
2016-07-11standalone: update to musl version 1.1.15Christian Hesse1-2/+2
2016-06-28remove duplicate argumentJames Campos1-1/+1
2016-04-26build: try to produce a statically linked position independent executableMarc André Tanner1-0/+2
In theory this should be as simple as: $ cc -fPIE -pie --static helloworld.c But unfortunately by default this will always add a PT_INTERP referencing the dynamic loader/linker. On latest binutils >=2.26 this can be worked around by supplying --no-dynamic-linker. Also tweak the musl-gcc wrapper to use rcrt1.o as startup file.
2016-04-26build: skip -pie for static buildChristian Hesse1-2/+2
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-04-25build: explicitly pass $CFLAGS to make invocationMarc André Tanner1-2/+2
2016-04-24build: run configure before building dependenciesChristian Hesse1-0/+2
We need some basic configuration before building dependencies. For example useful CFLAGS have to be in place to prevent linker errors. The configure script is run again later with some extra parameters.
2016-04-23build: add checksum for lua-lpeg patchChristian Hesse1-0/+2
2016-04-22build: change lpeg into lua integrationMarc André Tanner1-14/+7
Instead of compiling lpeg separately and then copying the object files into the lua source directory, copy the lpeg source files into the lua build tree and build it together.
2016-04-22build: clean up make local/standalone implementationMarc André Tanner1-14/+6
Run configure script for all targets instead of fiddling with Makefile variables directly.
2016-03-24build: use order only dependencies for build folderMarc André Tanner1-10/+11
This prevents unecessary rebuilds when doing consecutive make standalone builds.
2016-03-24build: expose make dependency-local targetMarc André Tanner1-4/+9
Remove more stuff when switching between make local and make standalone.
2016-03-24handle patch as usual sourceChristian Hesse1-4/+8
2016-03-24make sure build directory existsChristian Hesse1-6/+9
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-03-23build: fix make local, improve make standaloneMarc André Tanner1-5/+27
The local target should use the system curses library not a custom build one. Also the two targets are now compatible with each other, meaning that the relevant libraries are correctly rebuilt from scratch against the correct libc.
2016-03-23build: rename package specific targets used for make local/standaloneMarc André Tanner1-27/+27
All targets start with the package name which allows to easily rebuild a package by removing everything matching the shell pattern dependency/build/$package*
2016-03-23do not link lua against ncursesChristian Hesse1-1/+1
2016-03-23fix dependencies for standalone buildChristian Hesse1-1/+1
2016-03-21vis: also lookup Lua support files relative to the binary locationMarc André Tanner1-2/+1
This simplifies deployment of vis on remote systems without root access. The idea is to extract a statically linked binary together with the lexer syntax files into some directory, adjust $PATH to include it and have everything just work. For now this uses /proc/self/exe and thus only works on Linux based systems.
2016-03-21build: overhaul build system auto detect stuff using a configure scriptMarc André Tanner1-0/+165
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.