34 Commits

Author SHA1 Message Date
Tor Arne Vestbø
bef02269ce Update hfsfuse to version 0.153-0c63f43 2021-07-07 01:02:01 +02:00
Tor Arne Vestbø
05edfd72df Don't hide output when building hfsfuse 2021-07-07 00:47:16 +02:00
Tor Arne Vestbø
1e1c31622d Update references to OSXFUSE to refer to macFUSE 2021-07-06 23:25:47 +02:00
Tor Arne Vestbø
0c72dd7e42 Use standard variable names for install rules
As per
https://www.gnu.org/software/make/manual/html_node/Directory-Variables.html

The INSTALL_PREFIX variable name has been deprecated in favour of
DESTDIR, so having both of them in the rule didn't make sense.

We now default to /usr/local as the install prefix, as recommended by
the GNU Make manual.
2021-07-06 22:21:36 +02:00
porst17
55f71e014c Add install and uninstall rules to Makefile 2021-07-01 00:44:57 +02:00
Tor Arne Vestbø
f34eb1dac3 Allow running single test by name 2021-06-27 23:54:24 +02:00
Tor Arne Vestbø
365d3a35cd Use hfsfuse to test correctness of sparsebundlefs 2021-06-27 23:32:55 +02:00
Tor Arne Vestbø
24400ff67b Use .tst extension for tests suites 2021-06-27 22:07:56 +02:00
Tor Arne Vestbø
75cfaff6c3 Create test bundle with no partition map
Allows us to mount it directly without fiddling with offsets.
2021-06-27 19:55:01 +02:00
Tor Arne Vestbø
c04732613c Run tests with build directory in PATH 2021-06-27 19:55:01 +02:00
Tor Arne Vestbø
ae6a7df365 Use standard variable name for linker flags 2021-06-27 19:55:01 +02:00
Tor Arne Vestbø
6b39c2bdd5 Pass architecture flags though single variable 2021-06-27 19:55:01 +02:00
Tor Arne Vestbø
a10d93a02e Support running docker-builds from out-of-tree (shadow) builds 2021-06-27 19:55:01 +02:00
Tor Arne Vestbø
b70e8fb4be Move sources into their own subdirectory 2021-06-27 19:55:01 +02:00
Tor Arne Vestbø
14dba80c03 Properly set architecture flags for both compiler and linker 2021-06-27 19:52:07 +02:00
Tor Arne Vestbø
3e7b6acbf6 Enable -Wextra for additional compilation warnings 2021-06-27 15:44:12 +02:00
Tor Arne Vestbø
b8993dc56f Verify that pkg-config is available
Fixes #32
2021-06-26 16:41:40 +02:00
Tor Arne Vestbø
501f1ca5f1 Fix Makefile indentation 2018-09-11 23:59:18 +02:00
Tor Arne Vestbø
b78b40a880 Always restore terminal to sane defaults after docker-compose 2018-09-10 10:36:25 +02:00
Tor Arne Vestbø
d7a1f72062 Add test harness and initial mount test
Tests are run using 'make check', and can be combined with the
existing Makefile targets, e.g. 'make check all' to run checks
on all available platforms.

Pass DEBUG=1 for additional test output.
2018-09-08 22:24:46 +02:00
Tor Arne Vestbø
1d65325a8b Add basic infrastructure for doing 32 and 64-bit GCC builds on macOS
Using make to do the platform selection is admittedly abusing the
hammer beyond any sort of sanity, but was a fun exercise ;)
2018-09-08 22:15:03 +02:00
Tor Arne Vestbø
63da17bdea Indent Makefile conditionals with spaces instead of tabs
Makes it less likely that make will confuse the indent for a command.
2018-08-04 19:22:41 +02:00
Tor Arne Vestbø
fe4d1c6067 Teach Makefile how to shadow-build
Allows running make -f /path/to/Makefile to keep the build
artifacts out of the source directory.
2018-08-03 01:23:45 +02:00
Tor Arne Vestbø
d500e0c37b Enable -pedantic and fix use of %p with non-void* pointers 2018-05-04 00:43:50 +02:00
Tor Arne Vestbø
53ca0a682b Explicitly enable C++11 mode 2018-05-04 00:43:50 +02:00
Tor Arne Vestbø
3d0e187f14 Allow overriding CFLAGS from the command line when running 'make' 2016-09-27 23:33:20 +02:00
Paolo G. Giarrusso
81b080cbd2 Enable debugging
Since the binary is so small, debugging info take insignificant space,
and they are rather convenient to have in case something goes wrong.
2015-03-26 10:44:00 +01:00
Tor Arne Vestbø
e3bc65fa6d Try to detect if we have GCC 4.2 or higher for enabling -march=native 2013-02-07 22:25:18 +01:00
Tor Arne Vestbø
a6aef18169 Fix unresolved symbols due to linker command line arguments ordering
The source file has to come first, so that the linker will know which
symbols to include from the fuse library (instead of throwing them
away).
2012-10-14 01:45:24 +02:00
Tor Arne Vestbø
672fd94c08 Use rpath on linux for FUSE
We should perhaps check if PKG_CONFIG_PATH has been set, which would
indicate that the FUSE libraries are in a non-default location, but
for now this is okey.
2012-09-28 14:53:48 +02:00
Tor Arne Vestbø
cc7891445e Fix build on Synology NAS (DSM 4.1) 2012-09-28 14:27:26 +02:00
Tor Arne Vestbø
a4ce2745a3 Always use FUSE version 26, not just on Mac OS 2012-09-28 14:10:35 +02:00
Tor Arne Vestbø
1b7932591a Optimize with -O2, not -O3 2012-09-28 14:09:28 +02:00
Tor Arne Vestbø
09f2c0e39a Initial commit 2012-09-28 13:16:17 +02:00