Patrick J Cherry
7f98f6ef9e
Add compiler flag to disable explicit msync() calls
2018-01-31 20:45:48 +00:00
Patrick J Cherry
9d2ac3f403
Remove lots of per-cpu compiler flags.
...
These flags appear to cause SIGILL when flexnbd starts on some CPUs.
2017-02-22 17:52:52 +00:00
Patrick J Cherry
cace8123f4
Link against subunit for testing.
...
This fixes the problems in Debian stretch+.
2016-10-13 16:39:20 +01:00
Patrick J Cherry
5a1bc21088
Update Makefile to specify dependencies properly for tests
2016-10-06 15:40:15 +01:00
Patrick J Cherry
091aacd16d
Updated manpages, replaces a2x with txt2man
...
This simplifies the build-deps for Debian packages a little, and brings
the docs up to date.
2016-10-06 12:55:05 +01:00
James F. Carter
7d2eda6cea
failures in make check now result in an error
2016-10-05 16:28:27 +01:00
James F. Carter
fe0125efbc
Merge branch 'master' into 24-tests-in-gitlab
2016-10-05 14:27:56 +01:00
James F. Carter
a744965c67
add missing deps on server object files when building check binaries
2016-10-05 12:51:58 +01:00
Patrick J Cherry
ea7cd64fc2
Moved tasks from Rake to Make
...
The rake file was obsolete, apart from one invocation of ruby in a
shell!
2016-10-05 12:36:06 +01:00
Patrick J Cherry
ed3995303f
Reinstate doc to all
2016-10-05 10:41:23 +01:00
Michel Pollet
d9651a038c
Makefile: don't include *.d's before 'all'
...
Include any .d file from the build directory, and do that after all the
other targets
Signed-off-by: Michel Pollet <buserror@gmail.com >
2016-10-04 15:32:56 +01:00
Michel Pollet
fcd3d33498
Simplified Makefile
...
gcc and clang can generate dep files as well as compiling in a single
pass, no need for two.
Signed-off-by: Michel Pollet <buserror@gmail.com >
2016-10-04 15:32:49 +01:00
nick
c363991cfd
Makefile: Add -lm to LLDFLAGS
2015-04-01 12:39:07 +01:00
Alex Young
d146102c2c
Cherry-pick extra toolchain Makefile options
2014-02-26 15:56:41 +00:00
Alex Young
374b4c616e
Remove unreachable code to make -Wunreachable-code on clang useful.
2014-02-24 11:23:09 +00:00
Alex Young
83e3d65be9
Update the Makefile to work with dpkg-buildpackage
2014-02-21 19:39:27 +00:00
Alex Young
4f31bd9340
Switch from a rake-based build to a make-based build.
...
This commit beefs up the Makefile to do the build, instead of the
Rakefile.
It also removes from the Rakefile the dependency on rake_utils, which
should mean it's ok to build in a schroot.
The files are reorganised to make the Makefile rules more tractable,
although the reorganisation reveals a problem with our current code
organisation.
The problem is that the proxy-specific code transitively depends on the
server code via flexnbd.h, which has a circular dependency on the server
and client structs. This should be broken in a future commit by
separating the flexnbd struct into a shared config struct and
server-specific parts, so that the server code can be moved into
src/server to more accurately show the functional dependencies.
2014-02-21 19:10:55 +00:00
nick
184a13bc9f
Add an all-debug task to the makefile
2013-02-05 13:46:55 +00:00
nick
719bd30071
Add a minimal Makefile that lets 'make' and 'make clean' do the Right Thing
2013-02-05 09:44:59 +00:00