This is part of an attempt to make libmount buildable on non-linux.
The parts that need architecture specific porting is under
the context*.c files and the rest of libmount is useful/used
by for example fsck.
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
include/list.h \
\
libmount/src/cache.c \
- libmount/src/context.c \
- libmount/src/context_loopdev.c \
- libmount/src/context_mount.c \
- libmount/src/context_umount.c \
libmount/src/fs.c \
libmount/src/init.c \
libmount/src/iter.c \
libmount/src/version.c \
$(nodist_mountinc_HEADERS)
+if LINUX
+libmount_la_SOURCES += \
+ libmount/src/context.c \
+ libmount/src/context_loopdev.c \
+ libmount/src/context_mount.c \
+ libmount/src/context_umount.c
+endif
+
nodist_libmount_la_SOURCES = libmount/src/mountP.h
libmount_la_LIBADD = libcommon.la libblkid.la $(SELINUX_LIBS)