xref: /aoo41x/main/dtrans/util/makefile.mk (revision cdf0e10c)
1*cdf0e10cSrcweir#*************************************************************************
2*cdf0e10cSrcweir#
3*cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir#
5*cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir#
7*cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir#
9*cdf0e10cSrcweir# This file is part of OpenOffice.org.
10*cdf0e10cSrcweir#
11*cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir# only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir#
15*cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir#
21*cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir# version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir# <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir# for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir#
26*cdf0e10cSrcweir#*************************************************************************
27*cdf0e10cSrcweir
28*cdf0e10cSrcweirPRJ=..
29*cdf0e10cSrcweir
30*cdf0e10cSrcweirPRJNAME=dtrans
31*cdf0e10cSrcweirTARGET=dtrans
32*cdf0e10cSrcweirTARGET1=mcnttype
33*cdf0e10cSrcweirTARGET2=ftransl
34*cdf0e10cSrcweirTARGET3=sysdtrans
35*cdf0e10cSrcweirTARGET4=dnd
36*cdf0e10cSrcweir
37*cdf0e10cSrcweir# --- Settings -----------------------------------------------------
38*cdf0e10cSrcweir
39*cdf0e10cSrcweir.INCLUDE :  settings.mk
40*cdf0e10cSrcweir.IF "$(L10N_framework)"==""
41*cdf0e10cSrcweir
42*cdf0e10cSrcweir# --- mcnttype dynlib ----------------------------------------------
43*cdf0e10cSrcweir
44*cdf0e10cSrcweirSHL1TARGET=$(TARGET1)
45*cdf0e10cSrcweir
46*cdf0e10cSrcweirSHL1LIBS=$(SLB)$/mcnttype.lib
47*cdf0e10cSrcweir
48*cdf0e10cSrcweirSHL1STDLIBS= \
49*cdf0e10cSrcweir		$(SALLIB)	\
50*cdf0e10cSrcweir		$(CPPULIB) 	\
51*cdf0e10cSrcweir		$(CPPUHELPERLIB)
52*cdf0e10cSrcweir
53*cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
54*cdf0e10cSrcweirSHL1STDLIBS+= \
55*cdf0e10cSrcweir		$(UWINAPILIB)
56*cdf0e10cSrcweir.ENDIF
57*cdf0e10cSrcweir
58*cdf0e10cSrcweir
59*cdf0e10cSrcweir
60*cdf0e10cSrcweirSHL1IMPLIB=i$(SHL1TARGET)
61*cdf0e10cSrcweir
62*cdf0e10cSrcweir#--- comment -----------------
63*cdf0e10cSrcweir
64*cdf0e10cSrcweirSHL1DEF=		$(MISC)$/$(SHL1TARGET).def
65*cdf0e10cSrcweirDEF1NAME=		$(SHL1TARGET)
66*cdf0e10cSrcweirDEF1EXPORTFILE=	exports.dxp
67*cdf0e10cSrcweirSHL1VERSIONMAP=$(SOLARENV)/src/component.map
68*cdf0e10cSrcweir
69*cdf0e10cSrcweir
70*cdf0e10cSrcweir.IF "$(GUI)"=="WNT"
71*cdf0e10cSrcweir
72*cdf0e10cSrcweir# --- ftransl dll ---
73*cdf0e10cSrcweir
74*cdf0e10cSrcweirSHL2TARGET=$(TARGET2)
75*cdf0e10cSrcweir
76*cdf0e10cSrcweirSHL2LIBS=$(SLB)$/ftransl.lib\
77*cdf0e10cSrcweir		 $(SLB)$/dtutils.lib
78*cdf0e10cSrcweir
79*cdf0e10cSrcweirSHL2STDLIBS= \
80*cdf0e10cSrcweir		$(SALLIB)	\
81*cdf0e10cSrcweir		$(CPPULIB) 	\
82*cdf0e10cSrcweir		$(CPPUHELPERLIB)\
83*cdf0e10cSrcweir		$(UWINAPILIB)\
84*cdf0e10cSrcweir		$(ADVAPI32LIB)\
85*cdf0e10cSrcweir		$(OLE32LIB)\
86*cdf0e10cSrcweir		$(GDI32LIB)
87*cdf0e10cSrcweir
88*cdf0e10cSrcweirSHL2IMPLIB=i$(SHL2TARGET)
89*cdf0e10cSrcweir
90*cdf0e10cSrcweirSHL2DEF=		$(MISC)$/$(SHL2TARGET).def
91*cdf0e10cSrcweirDEF2NAME=		$(SHL2TARGET)
92*cdf0e10cSrcweirDEF2EXPORTFILE=	exports.dxp
93*cdf0e10cSrcweir
94*cdf0e10cSrcweir
95*cdf0e10cSrcweir# --- sysdtrans dll ---
96*cdf0e10cSrcweir
97*cdf0e10cSrcweirSHL3TARGET=$(TARGET3)
98*cdf0e10cSrcweir
99*cdf0e10cSrcweirSHL3LIBS=$(SLB)$/sysdtrans.lib\
100*cdf0e10cSrcweir		 $(SLB)$/dtutils.lib\
101*cdf0e10cSrcweir		 $(SLB)$/dtobjfact.lib\
102*cdf0e10cSrcweir		 $(SLB)$/mtaolecb.lib
103*cdf0e10cSrcweir
104*cdf0e10cSrcweir.IF "$(COM)" == "GCC"
105*cdf0e10cSrcweirSHL3OBJS=$(SLO)$/XNotifyingDataObject.obj
106*cdf0e10cSrcweir.ENDIF
107*cdf0e10cSrcweir
108*cdf0e10cSrcweirSHL3STDLIBS= \
109*cdf0e10cSrcweir		$(SALLIB)	\
110*cdf0e10cSrcweir		$(CPPULIB) 	\
111*cdf0e10cSrcweir		$(CPPUHELPERLIB)\
112*cdf0e10cSrcweir		$(UWINAPILIB)\
113*cdf0e10cSrcweir		$(ADVAPI32LIB)\
114*cdf0e10cSrcweir		$(OLE32LIB)\
115*cdf0e10cSrcweir		$(OLEAUT32LIB)\
116*cdf0e10cSrcweir		$(GDI32LIB)\
117*cdf0e10cSrcweir		$(SHELL32LIB)\
118*cdf0e10cSrcweir		$(UUIDLIB)
119*cdf0e10cSrcweir
120*cdf0e10cSrcweirSHL3IMPLIB=i$(SHL3TARGET)
121*cdf0e10cSrcweir
122*cdf0e10cSrcweirSHL3DEF=		$(MISC)$/$(SHL3TARGET).def
123*cdf0e10cSrcweirDEF3NAME=		$(SHL3TARGET)
124*cdf0e10cSrcweirDEF3EXPORTFILE=	exports.dxp
125*cdf0e10cSrcweir
126*cdf0e10cSrcweir
127*cdf0e10cSrcweir# --- dnd dll ---
128*cdf0e10cSrcweir
129*cdf0e10cSrcweirSHL4TARGET=$(TARGET4)
130*cdf0e10cSrcweir
131*cdf0e10cSrcweirSHL4LIBS=	\
132*cdf0e10cSrcweir			$(SLB)$/dnd.lib\
133*cdf0e10cSrcweir			$(SLB)$/dtobjfact.lib\
134*cdf0e10cSrcweir			$(SLB)$/dtutils.lib
135*cdf0e10cSrcweir
136*cdf0e10cSrcweirSHL4STDLIBS= \
137*cdf0e10cSrcweir		$(SALLIB)	\
138*cdf0e10cSrcweir		$(CPPULIB) 	\
139*cdf0e10cSrcweir		$(CPPUHELPERLIB) \
140*cdf0e10cSrcweir		$(UWINAPILIB)\
141*cdf0e10cSrcweir		$(ADVAPI32LIB)\
142*cdf0e10cSrcweir		$(OLE32LIB)\
143*cdf0e10cSrcweir		$(OLEAUT32LIB)\
144*cdf0e10cSrcweir		$(GDI32LIB)\
145*cdf0e10cSrcweir		$(SHELL32LIB)\
146*cdf0e10cSrcweir		$(UUIDLIB)
147*cdf0e10cSrcweir
148*cdf0e10cSrcweirSHL4DEPN=
149*cdf0e10cSrcweirSHL4IMPLIB=i$(SHL4TARGET)
150*cdf0e10cSrcweir
151*cdf0e10cSrcweirSHL4DEF=		$(MISC)$/$(SHL4TARGET).def
152*cdf0e10cSrcweir
153*cdf0e10cSrcweirDEF4NAME=		$(SHL4TARGET)
154*cdf0e10cSrcweirDEF4EXPORTFILE=	exports.dxp
155*cdf0e10cSrcweir
156*cdf0e10cSrcweir.ENDIF			# "$(GUI)"=="WNT"
157*cdf0e10cSrcweir
158*cdf0e10cSrcweir.IF "$(GUI)"=="OS2"
159*cdf0e10cSrcweir
160*cdf0e10cSrcweir# --- sysdtrans dll ---
161*cdf0e10cSrcweir
162*cdf0e10cSrcweirSHL3TARGET=$(TARGET3)
163*cdf0e10cSrcweir
164*cdf0e10cSrcweirSHL3LIBS=$(SLB)$/sysdtrans.lib
165*cdf0e10cSrcweir
166*cdf0e10cSrcweirSHL3STDLIBS= \
167*cdf0e10cSrcweir		$(SALLIB)	\
168*cdf0e10cSrcweir		$(CPPULIB) 	\
169*cdf0e10cSrcweir		$(CPPUHELPERLIB) \
170*cdf0e10cSrcweir		UClip.lib
171*cdf0e10cSrcweir
172*cdf0e10cSrcweirSHL3IMPLIB=i$(SHL3TARGET)
173*cdf0e10cSrcweir
174*cdf0e10cSrcweirSHL3DEF=		$(MISC)$/$(SHL3TARGET).def
175*cdf0e10cSrcweirDEF3NAME=		$(SHL3TARGET)
176*cdf0e10cSrcweirDEF3EXPORTFILE=	exports.dxp
177*cdf0e10cSrcweir
178*cdf0e10cSrcweir.ENDIF			# "$(GUI)"=="OS2"
179*cdf0e10cSrcweir.ENDIF # L10N_framework
180*cdf0e10cSrcweir
181*cdf0e10cSrcweir.INCLUDE :  target.mk
182*cdf0e10cSrcweir
183*cdf0e10cSrcweirALLTAR : \
184*cdf0e10cSrcweir    $(MISC)/dnd.component \
185*cdf0e10cSrcweir    $(MISC)/ftransl.component \
186*cdf0e10cSrcweir    $(MISC)/mcnttype.component \
187*cdf0e10cSrcweir    $(MISC)/sysdtrans.component
188*cdf0e10cSrcweir
189*cdf0e10cSrcweir$(MISC)/dnd.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
190*cdf0e10cSrcweir        dnd.component
191*cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
192*cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL4TARGETN:f)' -o $@ \
193*cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt dnd.component
194*cdf0e10cSrcweir
195*cdf0e10cSrcweir$(MISC)/ftransl.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
196*cdf0e10cSrcweir        ftransl.component
197*cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
198*cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \
199*cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt ftransl.component
200*cdf0e10cSrcweir
201*cdf0e10cSrcweir$(MISC)/mcnttype.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
202*cdf0e10cSrcweir        mcnttype.component
203*cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
204*cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
205*cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt mcnttype.component
206*cdf0e10cSrcweir
207*cdf0e10cSrcweir$(MISC)/sysdtrans.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
208*cdf0e10cSrcweir        sysdtrans.component
209*cdf0e10cSrcweir    $(XSLTPROC) --nonet --stringparam uri \
210*cdf0e10cSrcweir        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL3TARGETN:f)' -o $@ \
211*cdf0e10cSrcweir        $(SOLARENV)/bin/createcomponent.xslt sysdtrans.component
212