xref: /trunk/main/sal/qa/osl/socket/makefile.mk (revision 7871dc3e)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJ=..$/..$/..
25
26PRJNAME=sal
27TARGET=qa_osl_socket
28
29ENABLE_EXCEPTIONS=TRUE
30
31# --- Settings -----------------------------------------------------
32
33.INCLUDE :  settings.mk
34
35CFLAGS+= $(LFS_CFLAGS)
36CXXFLAGS+= $(LFS_CFLAGS)
37
38# BEGIN ----------------------------------------------------------------
39# auto generated Target:Socket by codegen.pl
40SHL1OBJS=  \
41	$(SLO)$/osl_Socket.obj
42
43SHL1TARGET=osl_SocketOld
44SHL1STDLIBS= $(SALLIB) $CPPUNITLIB) $(TESTSHL2LIB)
45
46.IF "$(GUI)" == "WNT"
47SHL1STDLIBS+= $(WS2_32LIB)
48.ENDIF
49
50.IF "$(GUI)" == "UNX"
51SHL1STDLIBS+= -ldl -lnsl
52.ENDIF
53
54SHL1IMPLIB= i$(SHL1TARGET)
55# SHL1DEF=    $(MISC)$/$(SHL1TARGET).def
56DEF1NAME=$(SHL1TARGET)
57# DEF1EXPORTFILE= export.exp
58SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
59# auto generated Target:Socket
60# END ------------------------------------------------------------------
61
62# --- BEGIN --------------------------------------------------------
63SHL2OBJS=  \
64	$(SLO)$/osl_Socket_tests.obj
65SHL2TARGET= osl_Socket_tests
66SHL2STDLIBS= $(SALLIB) $CPPUNITLIB) $(TESTSHL2LIB)
67
68SHL2IMPLIB= i$(SHL2TARGET)
69DEF2NAME=    $(SHL2TARGET)
70SHL2VERSIONMAP = $(PRJ)$/qa$/export.map
71
72# END --------------------------------------------------------------
73
74# BEGIN ----------------------------------------------------------------
75# auto generated Target:Socket by codegen.pl
76SHL3OBJS=  \
77	$(SLO)$/sockethelper.obj \
78	$(SLO)$/osl_StreamSocket.obj
79
80SHL3TARGET= osl_StreamSocket
81SHL3STDLIBS= $(SALLIB) $CPPUNITLIB) $(TESTSHL2LIB)
82
83.IF "$(GUI)" == "WNT"
84SHL3STDLIBS += $(WS2_32LIB)
85.ENDIF
86
87.IF "$(GUI)" == "UNX"
88SHL3STDLIBS += -ldl -lnsl
89.ENDIF
90
91SHL3IMPLIB= i$(SHL3TARGET)
92DEF3NAME=    $(SHL3TARGET)
93SHL3VERSIONMAP = $(PRJ)$/qa$/export.map
94# auto generated Target:Socket
95# END ------------------------------------------------------------------
96
97# BEGIN ----------------------------------------------------------------
98# auto generated Target:Socket by codegen.pl
99SHL4OBJS=  \
100	$(SLO)$/sockethelper.obj \
101	$(SLO)$/osl_DatagramSocket.obj
102
103SHL4TARGET= osl_DatagramSocket
104SHL4STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
105
106.IF "$(GUI)" == "WNT"
107SHL4STDLIBS += $(WS2_32LIB)
108.ENDIF
109
110.IF "$(GUI)" == "UNX"
111SHL4STDLIBS += -ldl -lnsl
112.ENDIF
113
114SHL4IMPLIB= i$(SHL4TARGET)
115DEF4NAME=    $(SHL4TARGET)
116SHL4VERSIONMAP = $(PRJ)$/qa$/export.map
117# auto generated Target:Socket
118# END ------------------------------------------------------------------
119
120# BEGIN ----------------------------------------------------------------
121# auto generated Target:Socket by codegen.pl
122SHL5OBJS=  \
123	$(SLO)$/sockethelper.obj \
124	$(SLO)$/osl_SocketAddr.obj
125
126SHL5TARGET= osl_SocketAddr
127SHL5STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
128
129.IF "$(GUI)" == "WNT"
130SHL5STDLIBS += $(WS2_32LIB)
131.ENDIF
132
133.IF "$(GUI)" == "UNX"
134SHL5STDLIBS += -ldl -lnsl
135.ENDIF
136
137SHL5IMPLIB= i$(SHL5TARGET)
138DEF5NAME=    $(SHL5TARGET)
139SHL5VERSIONMAP = $(PRJ)$/qa$/export.map
140# auto generated Target:Socket
141# END ------------------------------------------------------------------
142
143# BEGIN ----------------------------------------------------------------
144# auto generated Target:Socket by codegen.pl
145SHL6OBJS=  \
146	$(SLO)$/sockethelper.obj \
147	$(SLO)$/osl_Socket2.obj
148
149SHL6TARGET= osl_Socket2
150SHL6STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
151
152.IF "$(GUI)" == "WNT"
153SHL6STDLIBS += $(WS2_32LIB)
154.ENDIF
155
156.IF "$(GUI)" == "UNX"
157SHL6STDLIBS += -ldl -lnsl
158.ENDIF
159
160SHL6IMPLIB= i$(SHL6TARGET)
161DEF6NAME=    $(SHL6TARGET)
162SHL6VERSIONMAP = $(PRJ)$/qa$/export.map
163# auto generated Target:Socket
164# END ------------------------------------------------------------------
165
166# BEGIN ----------------------------------------------------------------
167# auto generated Target:Socket by codegen.pl
168SHL7OBJS=  \
169	$(SLO)$/sockethelper.obj \
170	$(SLO)$/osl_ConnectorSocket.obj
171
172SHL7TARGET= osl_ConnectorSocket
173SHL7STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
174
175.IF "$(GUI)" == "WNT"
176SHL7STDLIBS += $(WS2_32LIB)
177.ENDIF
178
179.IF "$(GUI)" == "UNX"
180SHL7STDLIBS += -ldl -lnsl
181.ENDIF
182
183SHL7IMPLIB= i$(SHL7TARGET)
184DEF7NAME=    $(SHL7TARGET)
185SHL7VERSIONMAP = $(PRJ)$/qa$/export.map
186# auto generated Target:Socket
187# END ------------------------------------------------------------------
188
189# BEGIN ----------------------------------------------------------------
190# auto generated Target:Socket by codegen.pl
191SHL8OBJS=  \
192	$(SLO)$/sockethelper.obj \
193	$(SLO)$/osl_AcceptorSocket.obj
194
195SHL8TARGET= osl_AcceptorSocket
196SHL8STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
197
198.IF "$(GUI)" == "WNT"
199SHL8STDLIBS += $(WS2_32LIB)
200.ENDIF
201
202.IF "$(GUI)" == "UNX"
203SHL8STDLIBS += -ldl -lnsl
204.ENDIF
205
206SHL8IMPLIB= i$(SHL8TARGET)
207DEF8NAME=    $(SHL8TARGET)
208SHL8VERSIONMAP = $(PRJ)$/qa$/export.map
209# auto generated Target:Socket
210# END ------------------------------------------------------------------
211
212#------------------------------- All object files -------------------------------
213# do this here, so we get right dependencies
214# SLOFILES=$(SHL1OBJS) $(SHL2OBJS)
215
216# --- Targets ------------------------------------------------------
217
218.INCLUDE :  target.mk
219.INCLUDE : _cppunit.mk
220