From c29098917a1118d4b435df2b5f542adc8505e123 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 12 Dec 2012 01:07:09 +0200 Subject: Get rid of (most uses of) GUI GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley Tested-by: Peter Foley --- sd/Library_sd.mk | 2 +- sd/Library_sdui.mk | 2 +- sd/workben/testdll/makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sd') diff --git a/sd/Library_sd.mk b/sd/Library_sd.mk index b0946eb0c1d4..19adf059c66d 100644 --- a/sd/Library_sd.mk +++ b/sd/Library_sd.mk @@ -542,7 +542,7 @@ endif endif -ifeq ($(strip $(GUI)),WNT) +ifeq ($(OS),WNT) $(eval $(call gb_Library_add_cxxobjects,sd,\ sd/source/ui/app/optsitem \ sd/source/ui/func/futext \ diff --git a/sd/Library_sdui.mk b/sd/Library_sdui.mk index 2304d493feb9..e80316f2c82e 100644 --- a/sd/Library_sdui.mk +++ b/sd/Library_sdui.mk @@ -107,6 +107,6 @@ $(eval $(call gb_Library_add_exception_objects,sdui,\ )) # $(WORKDIR)/inc/sd/sddll0.hxx : - # echo "#define" DLL_NAME \"$(if $(filter UNX,$(GUI)),lib)sd$(DLLPOSTFIX)$(DLLPOST)\" > $@ + # echo "#define" DLL_NAME \"$(if $(filter-out WNT,$(OS)),lib)sd$(DLLPOSTFIX)$(DLLPOST)\" > $@ # vim: set noet sw=4 ts=4: diff --git a/sd/workben/testdll/makefile b/sd/workben/testdll/makefile index a508b4193c7d..59498665336f 100644 --- a/sd/workben/testdll/makefile +++ b/sd/workben/testdll/makefile @@ -62,7 +62,7 @@ SHL1OBJS= $(SLO)\test.obj # --- Targets ------------------------------------------------------ !INCLUDE -!IF "$(GUI)" == "WNT" +!IF "$(OS)" == "WNT" $(MISC)\$(SHL1TARGET).def: makefile @echo ------------------------------ -- cgit