aboutsummaryrefslogtreecommitdiff
path: root/bin/gensquashfs/Makemodule.am
blob: 03f4f4cb29b14998534e2ef343b7f0facbbd54bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
gensquashfs_SOURCES = bin/gensquashfs/mkfs.c bin/gensquashfs/mkfs.h
gensquashfs_SOURCES += bin/gensquashfs/options.c bin/gensquashfs/selinux.c
gensquashfs_SOURCES += bin/gensquashfs/dirscan_xattr.c
gensquashfs_LDADD = libcommon.a libsquashfs.la libfstree.a libio.a
gensquashfs_LDADD += libcompat.a $(LZO_LIBS) $(PTHREAD_LIBS)
gensquashfs_CPPFLAGS = $(AM_CPPFLAGS)
gensquashfs_CFLAGS = $(AM_CFLAGS) $(PTHREAD_CFLAGS)

if WITH_SELINUX
gensquashfs_CPPFLAGS += -DWITH_SELINUX
gensquashfs_CFLAGS += $(LIBSELINUX_CFLAGS)
gensquashfs_LDADD += $(LIBSELINUX_LIBS)
endif

dist_man1_MANS += bin/gensquashfs/gensquashfs.1
bin_PROGRAMS += gensquashfs