summaryrefslogtreecommitdiff
path: root/lingucomponent/source/spellcheck/spell/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/spellcheck/spell/makefile.mk')
-rw-r--r--lingucomponent/source/spellcheck/spell/makefile.mk14
1 files changed, 11 insertions, 3 deletions
diff --git a/lingucomponent/source/spellcheck/spell/makefile.mk b/lingucomponent/source/spellcheck/spell/makefile.mk
index 30d2300f9de9..a5e8c1e5c980 100644
--- a/lingucomponent/source/spellcheck/spell/makefile.mk
+++ b/lingucomponent/source/spellcheck/spell/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.1 $
+# $Revision: 1.2 $
#
-# last change: $Author: khendricks $ $Date: 2001-09-08 15:55:44 $
+# last change: $Author: khendricks $ $Date: 2001-09-11 11:30:16 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -67,6 +67,14 @@ TARGET = spell
ENABLE_EXCEPTIONS=TRUE
USE_DEFFILE=TRUE
+.IF "$(MYSPELLLIB)"==""
+.IF "$(GUI)"=="UNX"
+MYSPELLLIB=-lmyspell
+.ENDIF # unx
+.IF "$(GUI)"=="WNT"
+MYSPELLLIB=myspell.lib
+.ENDIF # wnt
+.ENDIF
#----- Settings ---------------------------------------------------------
.INCLUDE : settings.mk
@@ -136,7 +144,7 @@ SHL1STDLIBS= \
$(UCBHELPERLIB) \
$(UNOTOOLSLIB) \
$(LNGLIB) \
- -lmyspell
+ $(MYSPELLLIB)
# build DLL