merge the formfield patch from ooo-build
[ooovba.git] / linguistic / source / makefile.mk
blob0012a9acd156853f4f59c96f29cccfe7fef40131
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.26 $
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=linguistic
35 TARGET=lng
36 ENABLE_EXCEPTIONS=TRUE
38 #----- Settings ---------------------------------------------------------
40 .INCLUDE : settings.mk
42 # --- Files --------------------------------------------------------
44 SLOFILES = \
45 $(SLO)$/convdiclist.obj\
46 $(SLO)$/convdic.obj\
47 $(SLO)$/convdicxml.obj\
48 $(SLO)$/dicimp.obj\
49 $(SLO)$/dlistimp.obj\
50 $(SLO)$/hhconvdic.obj\
51 $(SLO)$/hyphdsp.obj\
52 $(SLO)$/hyphdta.obj\
53 $(SLO)$/iprcache.obj\
54 $(SLO)$/lngopt.obj\
55 $(SLO)$/lngprophelp.obj\
56 $(SLO)$/lngreg.obj\
57 $(SLO)$/lngsvcmgr.obj\
58 $(SLO)$/misc.obj\
59 $(SLO)$/misc2.obj\
60 $(SLO)$/spelldsp.obj\
61 $(SLO)$/spelldta.obj\
62 $(SLO)$/thesdsp.obj\
63 $(SLO)$/thesdta.obj\
64 $(SLO)$/gciterator.obj
66 SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
68 SHL1STDLIBS= \
69 $(CPPULIB) \
70 $(CPPUHELPERLIB) \
71 $(VOSLIB) \
72 $(TOOLSLIB) \
73 $(I18NISOLANGLIB) \
74 $(SVTOOLLIB) \
75 $(SVLLIB) \
76 $(VCLLIB) \
77 $(SFXLIB) \
78 $(SALLIB) \
79 $(UCBHELPERLIB) \
80 $(UNOTOOLSLIB) \
81 $(XMLOFFLIB) \
82 $(ICUUCLIB)
84 # build DLL
85 SHL1LIBS= $(SLB)$/$(TARGET).lib
86 SHL1DEPN= $(SLB)$/$(TARGET).lib
87 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
88 #SHL1VERSIONMAP= $(TARGET).map
89 SHL1IMPLIB= ilng
91 # build DEF file
92 DEF1NAME =$(SHL1TARGET)
93 DEF1DEPN =$(MISC)$/$(SHL1TARGET).flt
94 DEFLIB1NAME =$(TARGET)
95 DEF1DES =Linguistic main DLL
96 #DEF1EXPORTFILE= exports.dxp
99 .IF "$(GUI)"=="WNT"
100 DEF1EXPORT1 = component_writeInfo
101 DEF1EXPORT2 = component_getFactory
102 DEF1EXPORT3 = component_getImplementationEnvironment
103 .ENDIF
105 # --- Targets ------------------------------------------------------
108 .INCLUDE : target.mk
111 $(MISC)$/$(SHL1TARGET).flt: makefile.mk
112 @echo ------------------------------
113 @echo Making: $@
114 @echo lcl > $@
115 @echo component >> $@
116 @echo __CT >> $@