xref: /aoo41x/main/sal/qa/osl/socket/makefile.mk (revision 752c0af7)
1*7871dc3eSAndrew Rist#**************************************************************
2*7871dc3eSAndrew Rist#
3*7871dc3eSAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*7871dc3eSAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*7871dc3eSAndrew Rist#  distributed with this work for additional information
6*7871dc3eSAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*7871dc3eSAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*7871dc3eSAndrew Rist#  "License"); you may not use this file except in compliance
9*7871dc3eSAndrew Rist#  with the License.  You may obtain a copy of the License at
10*7871dc3eSAndrew Rist#
11*7871dc3eSAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*7871dc3eSAndrew Rist#
13*7871dc3eSAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*7871dc3eSAndrew Rist#  software distributed under the License is distributed on an
15*7871dc3eSAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*7871dc3eSAndrew Rist#  KIND, either express or implied.  See the License for the
17*7871dc3eSAndrew Rist#  specific language governing permissions and limitations
18*7871dc3eSAndrew Rist#  under the License.
19*7871dc3eSAndrew Rist#
20*7871dc3eSAndrew Rist#**************************************************************
21*7871dc3eSAndrew Rist
22*7871dc3eSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweirPRJ=..$/..$/..
25cdf0e10cSrcweir
26cdf0e10cSrcweirPRJNAME=sal
27cdf0e10cSrcweirTARGET=qa_osl_socket
28cdf0e10cSrcweir
29cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE
30cdf0e10cSrcweir
31cdf0e10cSrcweir# --- Settings -----------------------------------------------------
32cdf0e10cSrcweir
33cdf0e10cSrcweir.INCLUDE :  settings.mk
34cdf0e10cSrcweir
35cdf0e10cSrcweirCFLAGS+= $(LFS_CFLAGS)
36cdf0e10cSrcweirCXXFLAGS+= $(LFS_CFLAGS)
37cdf0e10cSrcweir
38cdf0e10cSrcweir# BEGIN ----------------------------------------------------------------
39cdf0e10cSrcweir# auto generated Target:Socket by codegen.pl
40cdf0e10cSrcweirSHL1OBJS=  \
41cdf0e10cSrcweir	$(SLO)$/osl_Socket.obj
42cdf0e10cSrcweir
43cdf0e10cSrcweirSHL1TARGET=osl_SocketOld
44cdf0e10cSrcweirSHL1STDLIBS= $(SALLIB) $CPPUNITLIB) $(TESTSHL2LIB)
45cdf0e10cSrcweir
46cdf0e10cSrcweir.IF "$(GUI)" == "WNT"
47cdf0e10cSrcweirSHL1STDLIBS+= $(WS2_32LIB)
48cdf0e10cSrcweir.ENDIF
49cdf0e10cSrcweir
50cdf0e10cSrcweir.IF "$(GUI)" == "UNX"
51cdf0e10cSrcweirSHL1STDLIBS+= -ldl -lnsl
52cdf0e10cSrcweir.ENDIF
53cdf0e10cSrcweir
54cdf0e10cSrcweirSHL1IMPLIB= i$(SHL1TARGET)
55cdf0e10cSrcweir# SHL1DEF=    $(MISC)$/$(SHL1TARGET).def
56cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET)
57cdf0e10cSrcweir# DEF1EXPORTFILE= export.exp
58cdf0e10cSrcweirSHL1VERSIONMAP = $(PRJ)$/qa$/export.map
59cdf0e10cSrcweir# auto generated Target:Socket
60cdf0e10cSrcweir# END ------------------------------------------------------------------
61cdf0e10cSrcweir
62cdf0e10cSrcweir# --- BEGIN --------------------------------------------------------
63cdf0e10cSrcweirSHL2OBJS=  \
64cdf0e10cSrcweir	$(SLO)$/osl_Socket_tests.obj
65cdf0e10cSrcweirSHL2TARGET= osl_Socket_tests
66cdf0e10cSrcweirSHL2STDLIBS= $(SALLIB) $CPPUNITLIB) $(TESTSHL2LIB)
67cdf0e10cSrcweir
68cdf0e10cSrcweirSHL2IMPLIB= i$(SHL2TARGET)
69cdf0e10cSrcweirDEF2NAME=    $(SHL2TARGET)
70cdf0e10cSrcweirSHL2VERSIONMAP = $(PRJ)$/qa$/export.map
71cdf0e10cSrcweir
72cdf0e10cSrcweir# END --------------------------------------------------------------
73cdf0e10cSrcweir
74cdf0e10cSrcweir# BEGIN ----------------------------------------------------------------
75cdf0e10cSrcweir# auto generated Target:Socket by codegen.pl
76cdf0e10cSrcweirSHL3OBJS=  \
77cdf0e10cSrcweir	$(SLO)$/sockethelper.obj \
78cdf0e10cSrcweir	$(SLO)$/osl_StreamSocket.obj
79cdf0e10cSrcweir
80cdf0e10cSrcweirSHL3TARGET= osl_StreamSocket
81cdf0e10cSrcweirSHL3STDLIBS= $(SALLIB) $CPPUNITLIB) $(TESTSHL2LIB)
82cdf0e10cSrcweir
83cdf0e10cSrcweir.IF "$(GUI)" == "WNT"
84cdf0e10cSrcweirSHL3STDLIBS += $(WS2_32LIB)
85cdf0e10cSrcweir.ENDIF
86cdf0e10cSrcweir
87cdf0e10cSrcweir.IF "$(GUI)" == "UNX"
88cdf0e10cSrcweirSHL3STDLIBS += -ldl -lnsl
89cdf0e10cSrcweir.ENDIF
90cdf0e10cSrcweir
91cdf0e10cSrcweirSHL3IMPLIB= i$(SHL3TARGET)
92cdf0e10cSrcweirDEF3NAME=    $(SHL3TARGET)
93cdf0e10cSrcweirSHL3VERSIONMAP = $(PRJ)$/qa$/export.map
94cdf0e10cSrcweir# auto generated Target:Socket
95cdf0e10cSrcweir# END ------------------------------------------------------------------
96cdf0e10cSrcweir
97cdf0e10cSrcweir# BEGIN ----------------------------------------------------------------
98cdf0e10cSrcweir# auto generated Target:Socket by codegen.pl
99cdf0e10cSrcweirSHL4OBJS=  \
100cdf0e10cSrcweir	$(SLO)$/sockethelper.obj \
101cdf0e10cSrcweir	$(SLO)$/osl_DatagramSocket.obj
102cdf0e10cSrcweir
103cdf0e10cSrcweirSHL4TARGET= osl_DatagramSocket
104cdf0e10cSrcweirSHL4STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
105cdf0e10cSrcweir
106cdf0e10cSrcweir.IF "$(GUI)" == "WNT"
107cdf0e10cSrcweirSHL4STDLIBS += $(WS2_32LIB)
108cdf0e10cSrcweir.ENDIF
109cdf0e10cSrcweir
110cdf0e10cSrcweir.IF "$(GUI)" == "UNX"
111cdf0e10cSrcweirSHL4STDLIBS += -ldl -lnsl
112cdf0e10cSrcweir.ENDIF
113cdf0e10cSrcweir
114cdf0e10cSrcweirSHL4IMPLIB= i$(SHL4TARGET)
115cdf0e10cSrcweirDEF4NAME=    $(SHL4TARGET)
116cdf0e10cSrcweirSHL4VERSIONMAP = $(PRJ)$/qa$/export.map
117cdf0e10cSrcweir# auto generated Target:Socket
118cdf0e10cSrcweir# END ------------------------------------------------------------------
119cdf0e10cSrcweir
120cdf0e10cSrcweir# BEGIN ----------------------------------------------------------------
121cdf0e10cSrcweir# auto generated Target:Socket by codegen.pl
122cdf0e10cSrcweirSHL5OBJS=  \
123cdf0e10cSrcweir	$(SLO)$/sockethelper.obj \
124cdf0e10cSrcweir	$(SLO)$/osl_SocketAddr.obj
125cdf0e10cSrcweir
126cdf0e10cSrcweirSHL5TARGET= osl_SocketAddr
127cdf0e10cSrcweirSHL5STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
128cdf0e10cSrcweir
129cdf0e10cSrcweir.IF "$(GUI)" == "WNT"
130cdf0e10cSrcweirSHL5STDLIBS += $(WS2_32LIB)
131cdf0e10cSrcweir.ENDIF
132cdf0e10cSrcweir
133cdf0e10cSrcweir.IF "$(GUI)" == "UNX"
134cdf0e10cSrcweirSHL5STDLIBS += -ldl -lnsl
135cdf0e10cSrcweir.ENDIF
136cdf0e10cSrcweir
137cdf0e10cSrcweirSHL5IMPLIB= i$(SHL5TARGET)
138cdf0e10cSrcweirDEF5NAME=    $(SHL5TARGET)
139cdf0e10cSrcweirSHL5VERSIONMAP = $(PRJ)$/qa$/export.map
140cdf0e10cSrcweir# auto generated Target:Socket
141cdf0e10cSrcweir# END ------------------------------------------------------------------
142cdf0e10cSrcweir
143cdf0e10cSrcweir# BEGIN ----------------------------------------------------------------
144cdf0e10cSrcweir# auto generated Target:Socket by codegen.pl
145cdf0e10cSrcweirSHL6OBJS=  \
146cdf0e10cSrcweir	$(SLO)$/sockethelper.obj \
147cdf0e10cSrcweir	$(SLO)$/osl_Socket2.obj
148cdf0e10cSrcweir
149cdf0e10cSrcweirSHL6TARGET= osl_Socket2
150cdf0e10cSrcweirSHL6STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
151cdf0e10cSrcweir
152cdf0e10cSrcweir.IF "$(GUI)" == "WNT"
153cdf0e10cSrcweirSHL6STDLIBS += $(WS2_32LIB)
154cdf0e10cSrcweir.ENDIF
155cdf0e10cSrcweir
156cdf0e10cSrcweir.IF "$(GUI)" == "UNX"
157cdf0e10cSrcweirSHL6STDLIBS += -ldl -lnsl
158cdf0e10cSrcweir.ENDIF
159cdf0e10cSrcweir
160cdf0e10cSrcweirSHL6IMPLIB= i$(SHL6TARGET)
161cdf0e10cSrcweirDEF6NAME=    $(SHL6TARGET)
162cdf0e10cSrcweirSHL6VERSIONMAP = $(PRJ)$/qa$/export.map
163cdf0e10cSrcweir# auto generated Target:Socket
164cdf0e10cSrcweir# END ------------------------------------------------------------------
165cdf0e10cSrcweir
166cdf0e10cSrcweir# BEGIN ----------------------------------------------------------------
167cdf0e10cSrcweir# auto generated Target:Socket by codegen.pl
168cdf0e10cSrcweirSHL7OBJS=  \
169cdf0e10cSrcweir	$(SLO)$/sockethelper.obj \
170cdf0e10cSrcweir	$(SLO)$/osl_ConnectorSocket.obj
171cdf0e10cSrcweir
172cdf0e10cSrcweirSHL7TARGET= osl_ConnectorSocket
173cdf0e10cSrcweirSHL7STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
174cdf0e10cSrcweir
175cdf0e10cSrcweir.IF "$(GUI)" == "WNT"
176cdf0e10cSrcweirSHL7STDLIBS += $(WS2_32LIB)
177cdf0e10cSrcweir.ENDIF
178cdf0e10cSrcweir
179cdf0e10cSrcweir.IF "$(GUI)" == "UNX"
180cdf0e10cSrcweirSHL7STDLIBS += -ldl -lnsl
181cdf0e10cSrcweir.ENDIF
182cdf0e10cSrcweir
183cdf0e10cSrcweirSHL7IMPLIB= i$(SHL7TARGET)
184cdf0e10cSrcweirDEF7NAME=    $(SHL7TARGET)
185cdf0e10cSrcweirSHL7VERSIONMAP = $(PRJ)$/qa$/export.map
186cdf0e10cSrcweir# auto generated Target:Socket
187cdf0e10cSrcweir# END ------------------------------------------------------------------
188cdf0e10cSrcweir
189cdf0e10cSrcweir# BEGIN ----------------------------------------------------------------
190cdf0e10cSrcweir# auto generated Target:Socket by codegen.pl
191cdf0e10cSrcweirSHL8OBJS=  \
192cdf0e10cSrcweir	$(SLO)$/sockethelper.obj \
193cdf0e10cSrcweir	$(SLO)$/osl_AcceptorSocket.obj
194cdf0e10cSrcweir
195cdf0e10cSrcweirSHL8TARGET= osl_AcceptorSocket
196cdf0e10cSrcweirSHL8STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB)
197cdf0e10cSrcweir
198cdf0e10cSrcweir.IF "$(GUI)" == "WNT"
199cdf0e10cSrcweirSHL8STDLIBS += $(WS2_32LIB)
200cdf0e10cSrcweir.ENDIF
201cdf0e10cSrcweir
202cdf0e10cSrcweir.IF "$(GUI)" == "UNX"
203cdf0e10cSrcweirSHL8STDLIBS += -ldl -lnsl
204cdf0e10cSrcweir.ENDIF
205cdf0e10cSrcweir
206cdf0e10cSrcweirSHL8IMPLIB= i$(SHL8TARGET)
207cdf0e10cSrcweirDEF8NAME=    $(SHL8TARGET)
208cdf0e10cSrcweirSHL8VERSIONMAP = $(PRJ)$/qa$/export.map
209cdf0e10cSrcweir# auto generated Target:Socket
210cdf0e10cSrcweir# END ------------------------------------------------------------------
211cdf0e10cSrcweir
212cdf0e10cSrcweir#------------------------------- All object files -------------------------------
213cdf0e10cSrcweir# do this here, so we get right dependencies
214cdf0e10cSrcweir# SLOFILES=$(SHL1OBJS) $(SHL2OBJS)
215cdf0e10cSrcweir
216cdf0e10cSrcweir# --- Targets ------------------------------------------------------
217cdf0e10cSrcweir
218cdf0e10cSrcweir.INCLUDE :  target.mk
219cdf0e10cSrcweir.INCLUDE : _cppunit.mk
220