]>
git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - scrub/Makefile
2 # Copyright (C) 2018 Oracle. All Rights Reserved.
6 include $(TOPDIR
)/include/builddefs
8 # On linux we get fsmap from the system or define it ourselves
9 # so include this based on platform type. If this reverts to only
10 # the autoconf check w/o local definition, change to testing HAVE_GETFSMAP
11 SCRUB_PREREQS
=$(PKG_PLATFORM
)
13 ifeq ($(SCRUB_PREREQS
),linux
)
15 INSTALL_SCRUB
= install-scrub
42 LLDLIBS
+= $(LIBHANDLE
) $(LIBFROG
) $(LIBPTHREAD
)
43 LTDEPENDENCIES
+= $(LIBHANDLE
) $(LIBFROG
)
46 ifeq ($(HAVE_MALLINFO
),yes
)
47 LCFLAGS
+= -DHAVE_MALLINFO
50 ifeq ($(HAVE_SYNCFS
),yes
)
51 LCFLAGS
+= -DHAVE_SYNCFS
54 default
: depend
$(LTCOMMAND
)
58 install: default
$(INSTALL_SCRUB
)
61 $(INSTALL
) -m
755 -d
$(PKG_ROOT_SBIN_DIR
)
62 $(LTINSTALL
) -m
755 $(LTCOMMAND
) $(PKG_ROOT_SBIN_DIR
)