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.mk44
1 files changed, 10 insertions, 34 deletions
diff --git a/lingucomponent/source/spellcheck/spell/makefile.mk b/lingucomponent/source/spellcheck/spell/makefile.mk
index a6cd7948d8e5..039e6d881a76 100644
--- a/lingucomponent/source/spellcheck/spell/makefile.mk
+++ b/lingucomponent/source/spellcheck/spell/makefile.mk
@@ -8,7 +8,7 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.20 $
+# $Revision: 1.21 $
#
# This file is part of OpenOffice.org.
#
@@ -36,40 +36,19 @@ TARGET = spell
ENABLE_EXCEPTIONS=TRUE
USE_DEFFILE=TRUE
-.IF "$(HUNSPELL_LIBS)"!=""
-HUNSPELLLIB=$(HUNSPELL_LIBS)
-.ENDIF
-
-.IF "$(ULINGULIB)"==""
-.IF "$(GUI)"=="UNX"
-ULINGULIB=-lulingu
-.ENDIF # unx
-.IF "$(GUI)"=="OS2"
-ULINGULIB=$(SLB)\libulingu.lib
-.ENDIF
-.IF "$(GUI)"=="WNT"
-ULINGULIB=libulingu.lib
-.ENDIF # wnt
+.IF "$(SYSTEM_HUNSPELL)" != "YES"
+HUNSPELL_CFLAGS += -I$(SOLARVER)$/$(INPATH)$/inc$/hunspell
.ENDIF
-
-
-
#----- Settings ---------------------------------------------------------
.INCLUDE : settings.mk
# --- Files --------------------------------------------------------
-.IF "$(SYSTEM_HUNSPELL)" != "YES"
-CXXFLAGS += -I..$/hunspell -I..$/..$/lingutil
-CFLAGSCXX += -I..$/hunspell -I..$/..$/lingutil
-CFLAGSCC += -I..$/hunspell -I..$/..$/lingutil
-.ELSE
-CXXFLAGS += $(HUNSPELL_CFLAGS)
-CFLAGSCXX += $(HUNSPELL_CFLAGS)
-CFLAGSCC += $(HUNSPELL_CFLAGS)
-.ENDIF
+CXXFLAGS += -I$(PRJ)$/source$/lingutil $(HUNSPELL_CFLAGS)
+CFLAGSCXX += -I$(PRJ)$/source$/lingutil $(HUNSPELL_CFLAGS)
+CFLAGSCC += -I$(PRJ)$/source$/lingutil $(HUNSPELL_CFLAGS)
EXCEPTIONSFILES= \
$(SLO)$/sprophelp.obj\
@@ -95,13 +74,10 @@ SHL1STDLIBS= \
$(SALLIB) \
$(UCBHELPERLIB) \
$(UNOTOOLSLIB) \
- $(LNGLIB)
-
-.IF "$(SYSTEM_HUNSPELL)" != "YES"
-SHL1STDLIBS+= $(ULINGULIB) $(HUNSPELLLIB)
-.ELSE
-SHL1STDLIBS+= $(HUNSPELLLIB)
-.ENDIF
+ $(LNGLIB) \
+ $(ULINGULIB) \
+ $(ICUUCLIB) \
+ $(HUNSPELLLIB)
# build DLL
SHL1LIBS= $(SLB)$/$(TARGET).lib