2013-03-20 05:27:32 +00:00
|
|
|
ifeq ($(shell uname -m),x86_64)
|
|
|
|
LIBDIR = /usr/lib64
|
|
|
|
else
|
|
|
|
LIBDIR = /usr/lib
|
|
|
|
endif
|
|
|
|
INCLUDEDIR = /usr/include
|
|
|
|
|
|
|
|
export LIBDIR INCLUDEDIR
|
|
|
|
|
|
|
|
help:
|
|
|
|
echo "Use rpmbuild to compile this pacakge"
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
|
|
rpms:
|
|
|
|
rpmbuild --define "_rpmdir rpm/" --define "_builddir ." -bb rpm_spec/qubes-utils.spec
|
2014-07-17 00:27:33 +00:00
|
|
|
all:
|
2013-03-20 05:27:32 +00:00
|
|
|
$(MAKE) -C qrexec-lib all
|
2014-01-05 04:32:57 +00:00
|
|
|
$(MAKE) -C qmemman all
|
2014-01-10 13:49:36 +00:00
|
|
|
$(MAKE) -C core all
|
2013-03-20 05:27:32 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
$(MAKE) -C udev install
|
|
|
|
$(MAKE) -C qrexec-lib install
|
2014-01-05 04:32:57 +00:00
|
|
|
$(MAKE) -C qmemman install
|
2014-01-10 13:49:36 +00:00
|
|
|
$(MAKE) -C core install
|
2013-03-20 05:27:32 +00:00
|
|
|
|
2014-07-17 00:27:33 +00:00
|
|
|
install-kernel-support:
|
|
|
|
$(MAKE) -C dracut install
|
|
|
|
$(MAKE) -C kernel-modules install
|
|
|
|
|
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
|
2014-01-10 13:49:36 +00:00
|
|
|
$(MAKE) -C core clean
|