From 7c77e0faff3ecd45bc2a98e21671bd717b9d1df3 Mon Sep 17 00:00:00 2001 From: Garux Date: Thu, 8 Feb 2018 03:47:32 +0300 Subject: [PATCH] add INSTALL_DLLS build option --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 644d5e37..db29693f 100644 --- a/Makefile +++ b/Makefile @@ -86,6 +86,7 @@ CPPFLAGS_JPEG ?= LIBS_JPEG ?= -ljpeg DEPEND_ON_MAKEFILE ?= yes DOWNLOAD_GAMEPACKS ?= yes +INSTALL_DLLS ?= yes # set to no to disable gamepack, set to all to even download undistributable gamepacks # Support CHECK_DEPENDENCIES with DOWNLOAD_GAMEPACKS semantics @@ -1112,7 +1113,9 @@ install-data: binaries .PHONY: install-dll ifeq ($(OS),Win32) install-dll: binaries +ifeq ($(INSTALL_DLLS),yes) MKDIR="$(MKDIR)" CP="$(CP)" CAT="$(CAT)" GTKDIR="$(GTKDIR)" WHICHDLL="$(WHICHDLL)" INSTALLDIR="$(INSTALLDIR)" $(SH) $(DLLINSTALL) +endif else install-dll: binaries @$(ECHO) No DLL inclusion implemented for this target.