summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/Library_sd.mk2
-rw-r--r--sd/Library_sdui.mk2
-rw-r--r--sd/workben/testdll/makefile2
3 files changed, 3 insertions, 3 deletions
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 <target.mak>
-!IF "$(GUI)" == "WNT"
+!IF "$(OS)" == "WNT"
$(MISC)\$(SHL1TARGET).def: makefile
@echo ------------------------------