forked from QubesOS/qubes-core-qubesdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.builder
29 lines (23 loc) · 871 Bytes
/
Makefile.builder
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
RPM_SPEC_FILES := rpm_spec/qubes-db.spec
ifeq ($(PACKAGE_SET),dom0)
RPM_SPEC_FILES += rpm_spec/qubes-db-dom0.spec
else ifeq ($(PACKAGE_SET),vm)
ifneq ($(filter $(DISTRIBUTION), debian qubuntu),)
DEBIAN_BUILD_DIRS := debian
SOURCE_COPY_IN := source-debian-quilt-copy-in
endif
RPM_SPEC_FILES += rpm_spec/qubes-db-vm.spec
ARCH_BUILD_DIRS := archlinux
endif
ifeq ($(PACKAGE_SET),vm)
WIN_SOURCE_SUBDIRS := windows
WIN_SLN_DIR := vs2017
WIN_COMPILER := msbuild
WIN_OUTPUT_LIBS = bin
WIN_OUTPUT_HEADERS = ../include
WIN_BUILD_DEPS = core-vchan-$(BACKEND_VMM) windows-utils
WIN_PREBUILD_CMD = set_version.bat && powershell -executionpolicy bypass -File set_version.ps1 < nul
endif
source-debian-quilt-copy-in:
$(shell $(ORIG_SRC)/debian-quilt $(ORIG_SRC)/series-debian-vm.conf $(CHROOT_DIR)/$(DIST_SRC)/debian/patches)
# vim: filetype=make