xref: /aoo41x/main/dtrans/util/makefile.mk (revision 685bfa88)
17871dc3eSAndrew Rist#**************************************************************
27871dc3eSAndrew Rist#
37871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
47871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
57871dc3eSAndrew Rist#  distributed with this work for additional information
67871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
77871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
87871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
97871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
107871dc3eSAndrew Rist#
117871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
127871dc3eSAndrew Rist#
137871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
147871dc3eSAndrew Rist#  software distributed under the License is distributed on an
157871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
167871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
177871dc3eSAndrew Rist#  specific language governing permissions and limitations
187871dc3eSAndrew Rist#  under the License.
197871dc3eSAndrew Rist#
207871dc3eSAndrew Rist#**************************************************************
217871dc3eSAndrew Rist
227871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..
25cdf0e10cSrcweir
26cdf0e10cSrcweirPRJNAME=dtrans
27cdf0e10cSrcweirTARGET=dtrans
28cdf0e10cSrcweirTARGET1=mcnttype
29cdf0e10cSrcweirTARGET2=ftransl
30cdf0e10cSrcweirTARGET3=sysdtrans
31cdf0e10cSrcweirTARGET4=dnd
32cdf0e10cSrcweir
33cdf0e10cSrcweir# --- Settings -----------------------------------------------------
34cdf0e10cSrcweir
35cdf0e10cSrcweir.INCLUDE :  settings.mk
36cdf0e10cSrcweir.IF "$(L10N_framework)"==""
37cdf0e10cSrcweir
38cdf0e10cSrcweir# --- mcnttype dynlib ----------------------------------------------
39cdf0e10cSrcweir
40cdf0e10cSrcweirSHL1TARGET=$(TARGET1)
41cdf0e10cSrcweir
42cdf0e10cSrcweirSHL1LIBS=$(SLB)$/mcnttype.lib
43cdf0e10cSrcweir
44cdf0e10cSrcweirSHL1STDLIBS= \
45cdf0e10cSrcweir		$(SALLIB)	\
46cdf0e10cSrcweir		$(CPPULIB) 	\
47cdf0e10cSrcweir		$(CPPUHELPERLIB)
48cdf0e10cSrcweir
49cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
50cdf0e10cSrcweirSHL1STDLIBS+= \
51cdf0e10cSrcweir		$(UWINAPILIB)
52cdf0e10cSrcweir.ENDIF
53cdf0e10cSrcweir
54cdf0e10cSrcweir
55cdf0e10cSrcweir
56cdf0e10cSrcweirSHL1IMPLIB=i$(SHL1TARGET)
57cdf0e10cSrcweir
58cdf0e10cSrcweir#--- comment -----------------
59cdf0e10cSrcweir
60cdf0e10cSrcweirSHL1DEF=		$(MISC)$/$(SHL1TARGET).def
61cdf0e10cSrcweirDEF1NAME=		$(SHL1TARGET)
62cdf0e10cSrcweirDEF1EXPORTFILE=	exports.dxp
63cdf0e10cSrcweirSHL1VERSIONMAP=$(SOLARENV)/src/component.map
64cdf0e10cSrcweir
65cdf0e10cSrcweir
66cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
67cdf0e10cSrcweir
68cdf0e10cSrcweir# --- ftransl dll ---
69cdf0e10cSrcweir
70cdf0e10cSrcweirSHL2TARGET=$(TARGET2)
71cdf0e10cSrcweir
72cdf0e10cSrcweirSHL2LIBS=$(SLB)$/ftransl.lib\
73cdf0e10cSrcweir		 $(SLB)$/dtutils.lib
74cdf0e10cSrcweir
75cdf0e10cSrcweirSHL2STDLIBS= \
76cdf0e10cSrcweir		$(SALLIB)	\
77cdf0e10cSrcweir		$(CPPULIB) 	\
78cdf0e10cSrcweir		$(CPPUHELPERLIB)\
79cdf0e10cSrcweir		$(UWINAPILIB)\
80cdf0e10cSrcweir		$(ADVAPI32LIB)\
81cdf0e10cSrcweir		$(OLE32LIB)\
82cdf0e10cSrcweir		$(GDI32LIB)
83cdf0e10cSrcweir
84cdf0e10cSrcweirSHL2IMPLIB=i$(SHL2TARGET)
85cdf0e10cSrcweir
86cdf0e10cSrcweirSHL2DEF=		$(MISC)$/$(SHL2TARGET).def
87cdf0e10cSrcweirDEF2NAME=		$(SHL2TARGET)
88cdf0e10cSrcweirDEF2EXPORTFILE=	exports.dxp
89cdf0e10cSrcweir
90cdf0e10cSrcweir
91cdf0e10cSrcweir# --- sysdtrans dll ---
92cdf0e10cSrcweir
93cdf0e10cSrcweirSHL3TARGET=$(TARGET3)
94cdf0e10cSrcweir
95cdf0e10cSrcweirSHL3LIBS=$(SLB)$/sysdtrans.lib\
96cdf0e10cSrcweir		 $(SLB)$/dtutils.lib\
97cdf0e10cSrcweir		 $(SLB)$/dtobjfact.lib\
98cdf0e10cSrcweir		 $(SLB)$/mtaolecb.lib
99cdf0e10cSrcweir
100cdf0e10cSrcweir.IF "$(COM)" == "GCC"
101cdf0e10cSrcweirSHL3OBJS=$(SLO)$/XNotifyingDataObject.obj
102cdf0e10cSrcweir.ENDIF
103cdf0e10cSrcweir
104cdf0e10cSrcweirSHL3STDLIBS= \
105cdf0e10cSrcweir		$(SALLIB)	\
106cdf0e10cSrcweir		$(CPPULIB) 	\
107cdf0e10cSrcweir		$(CPPUHELPERLIB)\
108cdf0e10cSrcweir		$(UWINAPILIB)\
109cdf0e10cSrcweir		$(ADVAPI32LIB)\
110cdf0e10cSrcweir		$(OLE32LIB)\
111cdf0e10cSrcweir		$(OLEAUT32LIB)\
112cdf0e10cSrcweir		$(GDI32LIB)\
113cdf0e10cSrcweir		$(SHELL32LIB)\
114cdf0e10cSrcweir		$(UUIDLIB)
115cdf0e10cSrcweir
116cdf0e10cSrcweirSHL3IMPLIB=i$(SHL3TARGET)
117cdf0e10cSrcweir
118cdf0e10cSrcweirSHL3DEF=		$(MISC)$/$(SHL3TARGET).def
119cdf0e10cSrcweirDEF3NAME=		$(SHL3TARGET)
120cdf0e10cSrcweirDEF3EXPORTFILE=	exports.dxp
121cdf0e10cSrcweir
122cdf0e10cSrcweir
123cdf0e10cSrcweir# --- dnd dll ---
124cdf0e10cSrcweir
125cdf0e10cSrcweirSHL4TARGET=$(TARGET4)
126cdf0e10cSrcweir
127cdf0e10cSrcweirSHL4LIBS=	\
128cdf0e10cSrcweir			$(SLB)$/dnd.lib\
129cdf0e10cSrcweir			$(SLB)$/dtobjfact.lib\
130cdf0e10cSrcweir			$(SLB)$/dtutils.lib
131cdf0e10cSrcweir
132cdf0e10cSrcweirSHL4STDLIBS= \
133cdf0e10cSrcweir		$(SALLIB)	\
134cdf0e10cSrcweir		$(CPPULIB) 	\
135cdf0e10cSrcweir		$(CPPUHELPERLIB) \
136cdf0e10cSrcweir		$(UWINAPILIB)\
137cdf0e10cSrcweir		$(ADVAPI32LIB)\
138cdf0e10cSrcweir		$(OLE32LIB)\
139cdf0e10cSrcweir		$(OLEAUT32LIB)\
140cdf0e10cSrcweir		$(GDI32LIB)\
141cdf0e10cSrcweir		$(SHELL32LIB)\
142cdf0e10cSrcweir		$(UUIDLIB)
143cdf0e10cSrcweir
144cdf0e10cSrcweirSHL4DEPN=
145cdf0e10cSrcweirSHL4IMPLIB=i$(SHL4TARGET)
146cdf0e10cSrcweir
147cdf0e10cSrcweirSHL4DEF=		$(MISC)$/$(SHL4TARGET).def
148cdf0e10cSrcweir
149cdf0e10cSrcweirDEF4NAME=		$(SHL4TARGET)
150cdf0e10cSrcweirDEF4EXPORTFILE=	exports.dxp
151cdf0e10cSrcweir
152cdf0e10cSrcweir.ENDIF			# "$(GUI)"=="WNT"
153cdf0e10cSrcweir
154cdf0e10cSrcweir.IF "$(GUI)"=="OS2"
155cdf0e10cSrcweir
156cdf0e10cSrcweir# --- sysdtrans dll ---
157cdf0e10cSrcweir
158cdf0e10cSrcweirSHL3TARGET=$(TARGET3)
159cdf0e10cSrcweir
160cdf0e10cSrcweirSHL3LIBS=$(SLB)$/sysdtrans.lib
161cdf0e10cSrcweir
162cdf0e10cSrcweirSHL3STDLIBS= \
163cdf0e10cSrcweir		$(SALLIB)	\
164cdf0e10cSrcweir		$(CPPULIB) 	\
165cdf0e10cSrcweir		$(CPPUHELPERLIB) \
166*685bfa88SYuri Dario		-lUClip
167cdf0e10cSrcweir
168cdf0e10cSrcweirSHL3IMPLIB=i$(SHL3TARGET)
169cdf0e10cSrcweir
170cdf0e10cSrcweirSHL3DEF=		$(MISC)$/$(SHL3TARGET).def
171cdf0e10cSrcweirDEF3NAME=		$(SHL3TARGET)
172cdf0e10cSrcweirDEF3EXPORTFILE=	exports.dxp
173cdf0e10cSrcweir
174cdf0e10cSrcweir.ENDIF			# "$(GUI)"=="OS2"
175cdf0e10cSrcweir.ENDIF # L10N_framework
176cdf0e10cSrcweir
177cdf0e10cSrcweir.INCLUDE :  target.mk
178cdf0e10cSrcweir
179cdf0e10cSrcweirALLTAR : \
180cdf0e10cSrcweir    $(MISC)/dnd.component \
181cdf0e10cSrcweir    $(MISC)/ftransl.component \
182cdf0e10cSrcweir    $(MISC)/mcnttype.component \
183cdf0e10cSrcweir    $(MISC)/sysdtrans.component
184cdf0e10cSrcweir
185cdf0e10cSrcweir$(MISC)/dnd.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
186cdf0e10cSrcweir        dnd.component
187cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
188cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL4TARGETN:f)' -o $@ \
189cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt dnd.component
190cdf0e10cSrcweir
191cdf0e10cSrcweir$(MISC)/ftransl.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
192cdf0e10cSrcweir        ftransl.component
193cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
194cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \
195cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt ftransl.component
196cdf0e10cSrcweir
197cdf0e10cSrcweir$(MISC)/mcnttype.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
198cdf0e10cSrcweir        mcnttype.component
199cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
200cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
201cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt mcnttype.component
202cdf0e10cSrcweir
203cdf0e10cSrcweir$(MISC)/sysdtrans.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
204cdf0e10cSrcweir        sysdtrans.component
205cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
206cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL3TARGETN:f)' -o $@ \
207cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt sysdtrans.component
208