Avoid potential negative array index access to cached text.
[LibreOffice.git] / linguistic / workben / makefile.mk
blob5b94668170d3e51fded16d6d71bde17a3de95ce2
2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 PRJ = ..
21 PRJNAME = linguistic
22 TARGET = lex
23 ENABLE_EXCEPTIONS=TRUE
24 USE_DEFFILE=TRUE
26 #----- Settings ---------------------------------------------------------
28 .INCLUDE : settings.mk
30 # --- Files --------------------------------------------------------
32 UNOTYPES=\
33 com.sun.star.linguistic2.DictionaryEvent\
34 com.sun.star.linguistic2.DictionaryEventFlags\
35 com.sun.star.linguistic2.DictionaryListEvent\
36 com.sun.star.linguistic2.DictionaryListEventFlags\
37 com.sun.star.linguistic2.DictionaryType\
38 com.sun.star.linguistic2.LinguServiceEventFlags\
39 com.sun.star.linguistic2.SpellFailure\
40 com.sun.star.linguistic2.XDictionary\
41 com.sun.star.linguistic2.XDictionary1\
42 com.sun.star.linguistic2.XDictionaryEntry\
43 com.sun.star.linguistic2.XDictionaryEventListener\
44 com.sun.star.linguistic2.XDictionaryList\
45 com.sun.star.linguistic2.XDictionaryListEventListener\
46 com.sun.star.linguistic2.XHyphenatedWord\
47 com.sun.star.linguistic2.XHyphenator\
48 com.sun.star.linguistic2.XLinguServiceEventBroadcaster\
49 com.sun.star.linguistic2.XLinguServiceEventListener\
50 com.sun.star.linguistic2.XLinguServiceManager\
51 com.sun.star.linguistic2.XMeaning\
52 com.sun.star.linguistic2.XPossibleHyphens\
53 com.sun.star.linguistic2.XSearchableDictionaryList\
54 com.sun.star.linguistic2.XSpellAlternatives\
55 com.sun.star.linguistic2.XSpellChecker\
56 com.sun.star.linguistic2.XSupportedLocales\
57 com.sun.star.linguistic2.XThesaurus
60 SLOFILES= \
61 $(SLO)$/sprophelp.obj\
62 $(SLO)$/sreg.obj\
63 $(SLO)$/sspellimp.obj
66 SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
68 SHL1STDLIBS= \
69 $(COMPHELPERLIB) \
70 $(CPPULIB) \
71 $(CPPUHELPERLIB) \
72 $(TOOLSLIB) \
73 $(SVTOOLLIB) \
74 $(SVLLIB) \
75 $(VCLLIB) \
76 $(SFXLIB) \
77 $(SALLIB) \
78 $(UCBHELPERLIB) \
79 $(UNOTOOLSLIB) \
80 $(LNGLIB)
82 # build DLL
83 SHL1LIBS= $(SLB)$/$(TARGET).lib
84 SHL1IMPLIB= i$(TARGET)
85 SHL1DEPN= $(SHL1LIBS)
86 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
87 .IF "$(OS)"!="MACOSX"
88 SHL1VERSIONMAP=$(SOLARENV)/src/component.map
89 .ENDIF
91 # build DEF file
92 DEF1NAME =$(SHL1TARGET)
93 DEF1EXPORTFILE= exports.dxp
95 # --- Targets ------------------------------------------------------
97 .INCLUDE : target.mk