Changeset 72246 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 17, 2018 2:08:38 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r72233 r72246 32 32 # 33 33 ifdef VBOX_WITH_HARDENING 34 PROGRAMS += VirtualBoxHardened 35 PROGRAMS.darwin += VirtualBoxVM 36 DLLS += VirtualBox 34 ifndef VBOX_GUI_WITH_SHARED_LIBRARY 35 PROGRAMS += VirtualBoxHardened 36 PROGRAMS.darwin += VirtualBoxVM 37 DLLS += VirtualBox 38 else 39 PROGRAMS += VirtualBox 40 PROGRAMS += VirtualBoxHardenedVM 41 DLLS += VirtualBoxVM 42 DLLS += VBoxGlobal 43 endif 37 44 else 38 45 PROGRAMS += VirtualBox … … 51 58 52 59 53 #54 # Hardened VirtualBox.55 #56 VirtualBoxHardened_TEMPLATE = VBOXR3HARDENEDEXE57 VirtualBoxHardened_SOURCES = src/hardenedmain.cpp58 VirtualBoxHardened_SOURCES.win = src/platform/win/VirtualBoxHardened.rc59 VirtualBoxHardened_NAME = VirtualBox60 VirtualBoxHardened_LDFLAGS.win = /SUBSYSTEM:$(if-expr "$(KBUILD_TYPE)" != "release",console,windows)61 src/platform/win/VirtualBoxHardened.rc_INCS = $(VirtualBox_0_OUTDIR)62 src/platform/win/VirtualBoxHardened.rc_DEPS = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc63 64 65 #66 # Hardened VirtualBoxVM.67 #68 60 ifndef VBOX_GUI_WITH_SHARED_LIBRARY 61 62 # 63 # Hardened VirtualBox. 64 # 65 VirtualBoxHardened_TEMPLATE = VBOXR3HARDENEDEXE 66 VirtualBoxHardened_SOURCES = src/hardenedmain.cpp 67 VirtualBoxHardened_SOURCES.win = src/platform/win/VirtualBoxHardened.rc 68 VirtualBoxHardened_NAME = VirtualBox 69 VirtualBoxHardened_LDFLAGS.win = /SUBSYSTEM:$(if-expr "$(KBUILD_TYPE)" != "release",console,windows) 70 src/platform/win/VirtualBoxHardened.rc_INCS = $(VirtualBox_0_OUTDIR) 71 src/platform/win/VirtualBoxHardened.rc_DEPS = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc 72 73 # 74 # Hardened VirtualBoxVM. 75 # 69 76 ifeq ($(KBUILD_TARGET),darwin) 70 77 VirtualBoxVM_EXTENDS = VirtualBoxHardened … … 72 79 VirtualBoxVM_DEFS = $(VirtualBoxHardened_DEFS) VBOX_RUNTIME_UI 73 80 endif 81 74 82 else 75 ifdef VBOX_WITH_HARDENING 76 VirtualBoxVM_EXTENDS = VirtualBoxHardened 77 VirtualBoxVM_NAME = VirtualBoxVM 78 VirtualBoxVM_DEFS = $(VirtualBoxHardened_DEFS) 79 endif 83 84 # 85 # Hardened VirtualBoxVM. 86 # 87 VirtualBoxHardenedVM_TEMPLATE = VBOXR3HARDENEDEXE 88 VirtualBoxHardenedVM_SOURCES = src/hardenedmain.cpp 89 VirtualBoxHardenedVM_SOURCES.win = src/platform/win/VirtualBoxHardened.rc 90 VirtualBoxHardenedVM_NAME = VirtualBoxVM 91 VirtualBoxHardenedVM_LDFLAGS.win = /SUBSYSTEM:$(if-expr "$(KBUILD_TYPE)" != "release",console,windows) 92 src/platform/win/VirtualBoxHardened.rc_INCS = $(VirtualBox_0_OUTDIR) 93 src/platform/win/VirtualBoxHardened.rc_DEPS = $(VirtualBox_0_OUTDIR)/VirtualBox-icon.rc 94 80 95 endif 81 96 … … 109 124 # VirtualBox Manager Application 110 125 # 111 VirtualBox_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE) 126 ifndef VBOX_GUI_WITH_SHARED_LIBRARY 127 VirtualBox_TEMPLATE := $(if $(VBOX_WITH_HARDENING),VBOXQTGUI,VBOXQTGUIEXE) 128 else 129 VirtualBox_TEMPLATE := VBOXQTGUIEXE 130 endif 112 131 VirtualBox_NAME = VirtualBox 113 132 # For the launch trick we need different inode numbers. … … 412 431 413 432 VirtualBox_LDFLAGS.darwin = \ 414 -framework AppKit -framework Carbon -framework IOKit \ 433 -framework AppKit -framework Carbon -framework IOKit 434 ifndef VBOX_GUI_WITH_SHARED_LIBRARY 435 VirtualBox_LDFLAGS.darwin += \ 415 436 $(if $(VBOX_WITH_HARDENING),-install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VirtualBox.dylib) 437 endif 416 438 ifdef VBOX_WITH_ICHAT_THEATER 417 439 VirtualBox_LDFLAGS.darwin += -framework InstantMessage -framework QuartzCore
Note:
See TracChangeset
for help on using the changeset viewer.