Kai Krakow
4cfd5b43da
Makefile: generalize .so target
...
We can generalize the .so target by moving its depends into rules
without build instructions.
Signed-off-by: Kai Krakow <kai@kaishome.de>
2018-01-18 22:53:00 +01:00
Kai Krakow
4789445d7b
Makefile: .o already depends on its .h file
...
We can remove the explicit depend on the .h file because that is covered
by depends.mk. Let's instead depend on makeflags which makes more sense.
Signed-off-by: Kai Krakow <kai@kaishome.de>
2018-01-18 22:53:00 +01:00
Kai Krakow
c8787fecd2
Makefile: depends.mk is not an optional include
...
We really need depends.mk in the following Makefile reorganization.
Signed-off-by: Kai Krakow <kai@kaishome.de>
2018-01-18 22:53:00 +01:00
Zygo Blaxell
8849e57bf0
crucible: add Task class
...
We need a mechanism for distributing work across processor cores and
disks.
Task implements a simple FIFO/LIFO queue model for executing closures.
Some locking primitives are included (mutex and barrier).
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
2018-01-17 22:51:59 -05:00
Zygo Blaxell
3da755713a
Makefiles: don't append to depends.mk.new
...
Fixes errors such as:
depends.mk:765: *** multiple target patterns. Stop.
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
2018-01-17 22:30:07 -05:00
Zygo Blaxell
8a68b5f20b
crucible: add cleanup class
...
Store a function (or closure) in an instance and invoke the function
from the destructor.
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
2018-01-15 11:07:48 -05:00
Kai Krakow
634a1d0bf6
Installation: -fPIC should not be used unconditionally
...
According to Gentoo packaging guide, -fPIC should only be used on shared
libraries, and not added unconditionally to every linker call.
Signed-off-by: Kai Krakow <kai@kaishome.de>
2018-01-11 02:30:12 +01:00
Kai Krakow
3a24cd3010
Installation: Fix soname QA warning in Gentoo
...
Gentoo warns about libs missing a proper soname during QA phase. Let's
fix this.
Signed-off-by: Kai Krakow <kai@kaishome.de>
2018-01-11 02:30:12 +01:00
Kai Krakow
3391593cb9
Installation: Keep version tag in a variable
...
To prepare soname handling, we need to keep the version tag in a
variable.
Signed-off-by: Kai Krakow <kai@kaishome.de>
2018-01-11 02:02:36 +01:00
Paul Jones
123d4e83c5
Remove reference to *.c files in Makefile
...
On Gentoo it errors out because there is no *.c
Signed-off-by: Paul Jones <paul@pauljones.id.au>
2017-01-22 16:49:50 +11:00
Zygo Blaxell
38fffa8e27
lib: add a version string
...
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
2017-01-18 22:17:02 -05:00
Zygo Blaxell
cf04fb17de
crucible: remove unused execpipe
...
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
2017-01-08 23:45:05 -05:00
Zygo Blaxell
4a9f26d12e
crucible: remove ArgList and drop the unimplemented interpreter classes
...
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
2017-01-08 23:45:05 -05:00
Zygo Blaxell
f5f4d69ba3
lib: In 2016, Ubuntu still insists on topologically sorted libraries while linking
...
This fixes builds on Ubuntu Server 16.04.
Fixes: https://github.com/Zygo/bees/issues/8
2016-12-11 19:53:32 -05:00
Zygo Blaxell
cca0ee26a8
bees: remove local cruft, throw at github
2016-11-17 12:12:13 -05:00