Update ooo320-m1
[ooovba.git] / dtrans / util / makefile.mk
blob2e96661376198ed63ffad268a9204130e4ee72c4
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.16 $
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=dtrans
35 TARGET=dtrans
36 TARGET1=mcnttype
37 TARGET2=ftransl
38 TARGET3=sysdtrans
39 TARGET4=dnd
41 # --- Settings -----------------------------------------------------
43 .INCLUDE : settings.mk
44 .IF "$(L10N_framework)"==""
46 # --- mcnttype dynlib ----------------------------------------------
48 SHL1TARGET=$(TARGET1)
50 SHL1LIBS=$(SLB)$/mcnttype.lib
52 SHL1STDLIBS= \
53 $(SALLIB) \
54 $(CPPULIB) \
55 $(CPPUHELPERLIB)
57 .IF "$(GUI)"=="WNT"
58 SHL1STDLIBS+= \
59 $(UWINAPILIB)
60 .ENDIF
64 SHL1IMPLIB=i$(SHL1TARGET)
66 #--- comment -----------------
68 SHL1DEF= $(MISC)$/$(SHL1TARGET).def
69 DEF1NAME= $(SHL1TARGET)
70 DEF1EXPORTFILE= exports.dxp
71 SHL1VERSIONMAP=exports.map
74 .IF "$(GUI)"=="WNT"
76 # --- ftransl dll ---
78 SHL2TARGET=$(TARGET2)
80 SHL2LIBS=$(SLB)$/ftransl.lib\
81 $(SLB)$/dtutils.lib
83 SHL2STDLIBS= \
84 $(SALLIB) \
85 $(CPPULIB) \
86 $(CPPUHELPERLIB)\
87 $(UWINAPILIB)\
88 $(ADVAPI32LIB)\
89 $(OLE32LIB)\
90 $(GDI32LIB)
92 SHL2IMPLIB=i$(SHL2TARGET)
94 SHL2DEF= $(MISC)$/$(SHL2TARGET).def
95 DEF2NAME= $(SHL2TARGET)
96 DEF2EXPORTFILE= exports.dxp
99 # --- sysdtrans dll ---
101 SHL3TARGET=$(TARGET3)
103 SHL3LIBS=$(SLB)$/sysdtrans.lib\
104 $(SLB)$/dtutils.lib\
105 $(SLB)$/dtobjfact.lib\
106 $(SLB)$/mtaolecb.lib
108 .IF "$(COM)" == "GCC"
109 SHL3OBJS=$(SLO)$/XNotifyingDataObject.obj
110 .ENDIF
112 SHL3STDLIBS= \
113 $(SALLIB) \
114 $(CPPULIB) \
115 $(CPPUHELPERLIB)\
116 $(UWINAPILIB)\
117 $(ADVAPI32LIB)\
118 $(OLE32LIB)\
119 $(OLEAUT32LIB)\
120 $(GDI32LIB)\
121 $(SHELL32LIB)\
122 $(UUIDLIB)
124 SHL3IMPLIB=i$(SHL3TARGET)
126 SHL3DEF= $(MISC)$/$(SHL3TARGET).def
127 DEF3NAME= $(SHL3TARGET)
128 DEF3EXPORTFILE= exports.dxp
131 # --- dnd dll ---
133 SHL4TARGET=$(TARGET4)
135 SHL4LIBS= \
136 $(SLB)$/dnd.lib\
137 $(SLB)$/dtobjfact.lib\
138 $(SLB)$/dtutils.lib
140 SHL4STDLIBS= \
141 $(SALLIB) \
142 $(CPPULIB) \
143 $(CPPUHELPERLIB) \
144 $(UWINAPILIB)\
145 $(ADVAPI32LIB)\
146 $(OLE32LIB)\
147 $(OLEAUT32LIB)\
148 $(GDI32LIB)\
149 $(SHELL32LIB)\
150 $(UUIDLIB)
152 SHL4DEPN=
153 SHL4IMPLIB=i$(SHL4TARGET)
155 SHL4DEF= $(MISC)$/$(SHL4TARGET).def
157 DEF4NAME= $(SHL4TARGET)
158 DEF4EXPORTFILE= exports.dxp
160 .ENDIF # "$(GUI)"=="WNT"
162 .IF "$(GUI)"=="OS2"
164 # --- sysdtrans dll ---
166 SHL3TARGET=$(TARGET3)
168 SHL3LIBS=$(SLB)$/sysdtrans.lib
170 SHL3STDLIBS= \
171 $(SALLIB) \
172 $(CPPULIB) \
173 $(CPPUHELPERLIB) \
174 UClip.lib
176 SHL3IMPLIB=i$(SHL3TARGET)
178 SHL3DEF= $(MISC)$/$(SHL3TARGET).def
179 DEF3NAME= $(SHL3TARGET)
180 DEF3EXPORTFILE= exports.dxp
182 .ENDIF # "$(GUI)"=="OS2"
183 .ENDIF # L10N_framework
185 .INCLUDE : target.mk