qubes-linux-utils/Makefile

45 lines
953 B
Makefile
Raw Permalink Normal View History

ifeq ($(shell uname -m),x86_64)
LIBDIR ?= /usr/lib64
else
LIBDIR ?= /usr/lib
endif
SCRIPTSDIR ?= /usr/lib/qubes
SYSLIBDIR ?= /lib
INCLUDEDIR ?= /usr/include
export LIBDIR SCRIPTSDIR SYSLIBDIR INCLUDEDIR
help:
echo "Use rpmbuild to compile this pacakge"
exit 0
rpms:
rpmbuild --define "_rpmdir rpm/" --define "_builddir ." -bb rpm_spec/qubes-utils.spec
all:
$(MAKE) -C qrexec-lib all
$(MAKE) -C qmemman all
$(MAKE) -C imgconverter all
install:
$(MAKE) -C udev install
$(MAKE) -C qrexec-lib install
$(MAKE) -C qmemman install
$(MAKE) -C imgconverter install
install-fedora-kernel-support:
$(MAKE) -C dracut install
$(MAKE) -C kernel-modules install
$(MAKE) -C grub install-fedora
install-debian-kernel-support:
$(MAKE) -C initramfs-tools install
$(MAKE) -C dracut install
$(MAKE) -C kernel-modules install
$(MAKE) -C grub install-debian
2013-03-20 14:31:30 +00:00
clean:
$(MAKE) -C qrexec-lib clean
2014-04-21 01:10:26 +00:00
$(MAKE) -C qmemman clean
$(MAKE) -C imgconverter clean