Skip to content

Commit

Permalink
Overhaul wvstreams build system from Makefiles to redo.
Browse files Browse the repository at this point in the history
This fixes a bunch of dependency problems, allows better parallelism,
and lets us remove a lot of obsolete cruft.
  • Loading branch information
apenwarr committed Oct 6, 2018
1 parent 18a7db9 commit 2a6b25f
Show file tree
Hide file tree
Showing 64 changed files with 760 additions and 1,027 deletions.
9 changes: 4 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
*.cache
include/wvautoconf.h.in
/_wvautoconf.h.in
*.[oa]
*.so
*.libs
*~
.*.d
/config.log
/config.mk
/config.status
*.so.*
lib*.so.*
/reconfigure
/configure.real
/lib
Expand All @@ -18,5 +17,5 @@ include/wvautoconf.h.in
/wvfdstream.t.tmp
/CC
/CXX
-MP
lib*.list
/lib*.list
/sources.list
14 changes: 0 additions & 14 deletions Makefile

This file was deleted.

331 changes: 0 additions & 331 deletions Makefile.in

This file was deleted.

4 changes: 4 additions & 0 deletions _config.od.do
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
exec >&2
redo-ifchange $OUT/config.mk &&
sed -e 's/=\(.*\)/="\1"/' <$OUT/config.mk >$3
redo-stamp <$3
19 changes: 19 additions & 0 deletions all.do
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
redo-ifchange config.od
. ./config.od

dbus=
[ "$with_dbus" = "no" ] || dbus="$OUT/libwvdbus.so"
[ "$with_qt" = "no" ] || qt="$OUT/libwvqt.so"

redo-ifchange \
$OUT/libuniconf.so \
$OUT/libwvstreams.so \
$OUT/libwvutils.so \
$OUT/libwvbase.so \
$OUT/libwvtest.so \
$dbus $qt \
$OUT/libwvstatic.so \
$OUT/libwvstatic.a \
$OUT/uni \
$OUT/uniconfd

Loading

0 comments on commit 2a6b25f

Please sign in to comment.