merge the formfield patch from ooo-build
[ooovba.git] / lingucomponent / source / hyphenator / altlinuxhyph / hyphen / makefile.mk
blob208bb56c668ca177e19111c0006b39590beaf39d
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.24 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ = ..$/..$/..$/..
34 PRJNAME = lingucomponent
35 TARGET = hyphen_lib
36 ENABLE_EXCEPTIONS=TRUE
37 USE_DEFFILE=TRUE
39 .IF "$(GUI)"=="OS2"
40 HNJLIB=hyphen.lib
41 .ELIF "$(GUI)"=="UNX" || "$(COM)"=="GCC"
42 HNJLIB=-lhyphen
43 .ELSE
44 HNJLIB=hyphen.lib
45 .ENDIF
47 #----- Settings ---------------------------------------------------------
49 .INCLUDE : settings.mk
51 # --- Files --------------------------------------------------------
53 .IF "$(SYSTEM_HUNSPELL)" != "YES"
54 HUNSPELL_CFLAGS += -I$(SOLARINCDIR)$/hunspell
55 .ENDIF
57 CFLAGS += -I..$/..$/..$/lingutil $(HUNSPELL_CFLAGS)
59 EXCEPTIONSFILES= \
60 $(SLO)$/hyphenimp.obj
62 SLOFILES= \
63 $(SLO)$/hreg.obj\
64 $(SLO)$/hyphenimp.obj
66 REALNAME:=hyphen
67 SHL1TARGET= $(REALNAME)$(DLLPOSTFIX)
69 SHL1STDLIBS= \
70 $(CPPULIB) \
71 $(CPPUHELPERLIB) \
72 $(I18NISOLANGLIB) \
73 $(TOOLSLIB) \
74 $(SVLLIB) \
75 $(SALLIB) \
76 $(UNOTOOLSLIB) \
77 $(LNGLIB) \
78 $(HNJLIB) \
79 $(ULINGULIB) \
80 $(HUNSPELLLIB)
82 # build DLL
83 SHL1LIBS= $(SLB)$/$(TARGET).lib $(SLB)$/libulingu.lib
84 SHL1IMPLIB= i$(REALNAME)
85 SHL1DEPN= $(SHL1LIBS)
86 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
88 SHL1VERSIONMAP= $(REALNAME).map
90 # build DEF file
91 DEF1NAME =$(SHL1TARGET)
92 DEF1EXPORTFILE= exports.dxp
94 # --- Targets ------------------------------------------------------
96 .INCLUDE : target.mk