update dev300-m57
[ooovba.git] / sal / qa / osl / socket / makefile.mk
blob5bcb252d187a5e621ecb2eeba7d2efe74b5d1e54
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.11 $
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=sal
35 TARGET=qa_osl_socket
37 ENABLE_EXCEPTIONS=TRUE
39 # --- Settings -----------------------------------------------------
41 .INCLUDE : settings.mk
43 CFLAGS+= $(LFS_CFLAGS)
44 CXXFLAGS+= $(LFS_CFLAGS)
46 # BEGIN ----------------------------------------------------------------
47 # auto generated Target:Socket by codegen.pl
48 SHL1OBJS= \
49 $(SLO)$/osl_Socket.obj
51 SHL1TARGET=osl_SocketOld
52 SHL1STDLIBS=\
53 $(SALLIB) \
54 $(CPPUNITLIB)
56 .IF "$(GUI)" == "WNT"
57 #SHL1STDLIBS+= $(SOLARLIBDIR)$/cppunit.lib
58 SHL1STDLIBS+= $(WS2_32LIB)
59 .ENDIF
61 .IF "$(GUI)" == "UNX"
62 #SHL1STDLIBS+=$(SOLARLIBDIR)$/libcppunit$(DLLPOSTFIX).a
63 SHL1STDLIBS+= -ldl -lnsl
64 .ENDIF
66 SHL1IMPLIB= i$(SHL1TARGET)
67 # SHL1DEF= $(MISC)$/$(SHL1TARGET).def
68 DEF1NAME=$(SHL1TARGET)
69 # DEF1EXPORTFILE= export.exp
70 SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
71 # auto generated Target:Socket
72 # END ------------------------------------------------------------------
74 # --- BEGIN --------------------------------------------------------
75 SHL2OBJS= \
76 $(SLO)$/osl_Socket_tests.obj
77 SHL2TARGET= osl_Socket_tests
78 SHL2STDLIBS=\
79 $(SALLIB) \
80 $(CPPUNITLIB)
82 SHL2IMPLIB= i$(SHL2TARGET)
83 DEF2NAME= $(SHL2TARGET)
84 SHL2VERSIONMAP = $(PRJ)$/qa$/export.map
86 # END --------------------------------------------------------------
88 # BEGIN ----------------------------------------------------------------
89 # auto generated Target:Socket by codegen.pl
90 SHL3OBJS= \
91 $(SLO)$/sockethelper.obj \
92 $(SLO)$/osl_StreamSocket.obj
94 SHL3TARGET= osl_StreamSocket
95 SHL3STDLIBS=\
96 $(SALLIB) \
97 $(CPPUNITLIB)
99 .IF "$(GUI)" == "WNT"
100 SHL3STDLIBS += $(WS2_32LIB)
101 .ENDIF
103 .IF "$(GUI)" == "UNX"
104 SHL3STDLIBS += -ldl -lnsl
105 .ENDIF
107 SHL3IMPLIB= i$(SHL3TARGET)
108 DEF3NAME= $(SHL3TARGET)
109 SHL3VERSIONMAP = $(PRJ)$/qa$/export.map
110 # auto generated Target:Socket
111 # END ------------------------------------------------------------------
113 # BEGIN ----------------------------------------------------------------
114 # auto generated Target:Socket by codegen.pl
115 SHL4OBJS= \
116 $(SLO)$/sockethelper.obj \
117 $(SLO)$/osl_DatagramSocket.obj
119 SHL4TARGET= osl_DatagramSocket
120 SHL4STDLIBS=\
121 $(SALLIB) \
122 $(CPPUNITLIB)
124 .IF "$(GUI)" == "WNT"
125 SHL4STDLIBS += $(WS2_32LIB)
126 .ENDIF
128 .IF "$(GUI)" == "UNX"
129 SHL4STDLIBS += -ldl -lnsl
130 .ENDIF
132 SHL4IMPLIB= i$(SHL4TARGET)
133 DEF4NAME= $(SHL4TARGET)
134 SHL4VERSIONMAP = $(PRJ)$/qa$/export.map
135 # auto generated Target:Socket
136 # END ------------------------------------------------------------------
138 # BEGIN ----------------------------------------------------------------
139 # auto generated Target:Socket by codegen.pl
140 SHL5OBJS= \
141 $(SLO)$/sockethelper.obj \
142 $(SLO)$/osl_SocketAddr.obj
144 SHL5TARGET= osl_SocketAddr
145 SHL5STDLIBS=\
146 $(SALLIB) \
147 $(CPPUNITLIB)
149 .IF "$(GUI)" == "WNT"
150 SHL5STDLIBS += $(WS2_32LIB)
151 .ENDIF
153 .IF "$(GUI)" == "UNX"
154 SHL5STDLIBS += -ldl -lnsl
155 .ENDIF
157 SHL5IMPLIB= i$(SHL5TARGET)
158 DEF5NAME= $(SHL5TARGET)
159 SHL5VERSIONMAP = $(PRJ)$/qa$/export.map
160 # auto generated Target:Socket
161 # END ------------------------------------------------------------------
163 # BEGIN ----------------------------------------------------------------
164 # auto generated Target:Socket by codegen.pl
165 SHL6OBJS= \
166 $(SLO)$/sockethelper.obj \
167 $(SLO)$/osl_Socket2.obj
169 SHL6TARGET= osl_Socket2
170 SHL6STDLIBS=\
171 $(SALLIB) \
172 $(CPPUNITLIB)
174 .IF "$(GUI)" == "WNT"
175 SHL6STDLIBS += $(WS2_32LIB)
176 .ENDIF
178 .IF "$(GUI)" == "UNX"
179 SHL6STDLIBS += -ldl -lnsl
180 .ENDIF
182 SHL6IMPLIB= i$(SHL6TARGET)
183 DEF6NAME= $(SHL6TARGET)
184 SHL6VERSIONMAP = $(PRJ)$/qa$/export.map
185 # auto generated Target:Socket
186 # END ------------------------------------------------------------------
188 # BEGIN ----------------------------------------------------------------
189 # auto generated Target:Socket by codegen.pl
190 SHL7OBJS= \
191 $(SLO)$/sockethelper.obj \
192 $(SLO)$/osl_ConnectorSocket.obj
194 SHL7TARGET= osl_ConnectorSocket
195 SHL7STDLIBS=\
196 $(SALLIB) \
197 $(CPPUNITLIB)
199 .IF "$(GUI)" == "WNT"
200 SHL7STDLIBS += $(WS2_32LIB)
201 .ENDIF
203 .IF "$(GUI)" == "UNX"
204 SHL7STDLIBS += -ldl -lnsl
205 .ENDIF
207 SHL7IMPLIB= i$(SHL7TARGET)
208 DEF7NAME= $(SHL7TARGET)
209 SHL7VERSIONMAP = $(PRJ)$/qa$/export.map
210 # auto generated Target:Socket
211 # END ------------------------------------------------------------------
213 # BEGIN ----------------------------------------------------------------
214 # auto generated Target:Socket by codegen.pl
215 SHL8OBJS= \
216 $(SLO)$/sockethelper.obj \
217 $(SLO)$/osl_AcceptorSocket.obj
219 SHL8TARGET= osl_AcceptorSocket
220 SHL8STDLIBS=\
221 $(SALLIB) \
222 $(CPPUNITLIB)
224 .IF "$(GUI)" == "WNT"
225 SHL8STDLIBS += $(WS2_32LIB)
226 .ENDIF
228 .IF "$(GUI)" == "UNX"
229 SHL8STDLIBS += -ldl -lnsl
230 .ENDIF
232 SHL8IMPLIB= i$(SHL8TARGET)
233 DEF8NAME= $(SHL8TARGET)
234 SHL8VERSIONMAP = $(PRJ)$/qa$/export.map
235 # auto generated Target:Socket
236 # END ------------------------------------------------------------------
238 #------------------------------- All object files -------------------------------
239 # do this here, so we get right dependencies
240 # SLOFILES=$(SHL1OBJS) $(SHL2OBJS)
242 # --- Targets ------------------------------------------------------
244 .INCLUDE : target.mk
245 .INCLUDE : _cppunit.mk