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=sal 31*cdf0e10cSrcweirTARGET=qa_osl_socket 32*cdf0e10cSrcweir 33*cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE 34*cdf0e10cSrcweir 35*cdf0e10cSrcweir# --- Settings ----------------------------------------------------- 36*cdf0e10cSrcweir 37*cdf0e10cSrcweir.INCLUDE : settings.mk 38*cdf0e10cSrcweir 39*cdf0e10cSrcweirCFLAGS+= $(LFS_CFLAGS) 40*cdf0e10cSrcweirCXXFLAGS+= $(LFS_CFLAGS) 41*cdf0e10cSrcweir 42*cdf0e10cSrcweir# BEGIN ---------------------------------------------------------------- 43*cdf0e10cSrcweir# auto generated Target:Socket by codegen.pl 44*cdf0e10cSrcweirSHL1OBJS= \ 45*cdf0e10cSrcweir $(SLO)$/osl_Socket.obj 46*cdf0e10cSrcweir 47*cdf0e10cSrcweirSHL1TARGET=osl_SocketOld 48*cdf0e10cSrcweirSHL1STDLIBS= $(SALLIB) $CPPUNITLIB) $(TESTSHL2LIB) 49*cdf0e10cSrcweir 50*cdf0e10cSrcweir.IF "$(GUI)" == "WNT" 51*cdf0e10cSrcweirSHL1STDLIBS+= $(WS2_32LIB) 52*cdf0e10cSrcweir.ENDIF 53*cdf0e10cSrcweir 54*cdf0e10cSrcweir.IF "$(GUI)" == "UNX" 55*cdf0e10cSrcweirSHL1STDLIBS+= -ldl -lnsl 56*cdf0e10cSrcweir.ENDIF 57*cdf0e10cSrcweir 58*cdf0e10cSrcweirSHL1IMPLIB= i$(SHL1TARGET) 59*cdf0e10cSrcweir# SHL1DEF= $(MISC)$/$(SHL1TARGET).def 60*cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET) 61*cdf0e10cSrcweir# DEF1EXPORTFILE= export.exp 62*cdf0e10cSrcweirSHL1VERSIONMAP = $(PRJ)$/qa$/export.map 63*cdf0e10cSrcweir# auto generated Target:Socket 64*cdf0e10cSrcweir# END ------------------------------------------------------------------ 65*cdf0e10cSrcweir 66*cdf0e10cSrcweir# --- BEGIN -------------------------------------------------------- 67*cdf0e10cSrcweirSHL2OBJS= \ 68*cdf0e10cSrcweir $(SLO)$/osl_Socket_tests.obj 69*cdf0e10cSrcweirSHL2TARGET= osl_Socket_tests 70*cdf0e10cSrcweirSHL2STDLIBS= $(SALLIB) $CPPUNITLIB) $(TESTSHL2LIB) 71*cdf0e10cSrcweir 72*cdf0e10cSrcweirSHL2IMPLIB= i$(SHL2TARGET) 73*cdf0e10cSrcweirDEF2NAME= $(SHL2TARGET) 74*cdf0e10cSrcweirSHL2VERSIONMAP = $(PRJ)$/qa$/export.map 75*cdf0e10cSrcweir 76*cdf0e10cSrcweir# END -------------------------------------------------------------- 77*cdf0e10cSrcweir 78*cdf0e10cSrcweir# BEGIN ---------------------------------------------------------------- 79*cdf0e10cSrcweir# auto generated Target:Socket by codegen.pl 80*cdf0e10cSrcweirSHL3OBJS= \ 81*cdf0e10cSrcweir $(SLO)$/sockethelper.obj \ 82*cdf0e10cSrcweir $(SLO)$/osl_StreamSocket.obj 83*cdf0e10cSrcweir 84*cdf0e10cSrcweirSHL3TARGET= osl_StreamSocket 85*cdf0e10cSrcweirSHL3STDLIBS= $(SALLIB) $CPPUNITLIB) $(TESTSHL2LIB) 86*cdf0e10cSrcweir 87*cdf0e10cSrcweir.IF "$(GUI)" == "WNT" 88*cdf0e10cSrcweirSHL3STDLIBS += $(WS2_32LIB) 89*cdf0e10cSrcweir.ENDIF 90*cdf0e10cSrcweir 91*cdf0e10cSrcweir.IF "$(GUI)" == "UNX" 92*cdf0e10cSrcweirSHL3STDLIBS += -ldl -lnsl 93*cdf0e10cSrcweir.ENDIF 94*cdf0e10cSrcweir 95*cdf0e10cSrcweirSHL3IMPLIB= i$(SHL3TARGET) 96*cdf0e10cSrcweirDEF3NAME= $(SHL3TARGET) 97*cdf0e10cSrcweirSHL3VERSIONMAP = $(PRJ)$/qa$/export.map 98*cdf0e10cSrcweir# auto generated Target:Socket 99*cdf0e10cSrcweir# END ------------------------------------------------------------------ 100*cdf0e10cSrcweir 101*cdf0e10cSrcweir# BEGIN ---------------------------------------------------------------- 102*cdf0e10cSrcweir# auto generated Target:Socket by codegen.pl 103*cdf0e10cSrcweirSHL4OBJS= \ 104*cdf0e10cSrcweir $(SLO)$/sockethelper.obj \ 105*cdf0e10cSrcweir $(SLO)$/osl_DatagramSocket.obj 106*cdf0e10cSrcweir 107*cdf0e10cSrcweirSHL4TARGET= osl_DatagramSocket 108*cdf0e10cSrcweirSHL4STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB) 109*cdf0e10cSrcweir 110*cdf0e10cSrcweir.IF "$(GUI)" == "WNT" 111*cdf0e10cSrcweirSHL4STDLIBS += $(WS2_32LIB) 112*cdf0e10cSrcweir.ENDIF 113*cdf0e10cSrcweir 114*cdf0e10cSrcweir.IF "$(GUI)" == "UNX" 115*cdf0e10cSrcweirSHL4STDLIBS += -ldl -lnsl 116*cdf0e10cSrcweir.ENDIF 117*cdf0e10cSrcweir 118*cdf0e10cSrcweirSHL4IMPLIB= i$(SHL4TARGET) 119*cdf0e10cSrcweirDEF4NAME= $(SHL4TARGET) 120*cdf0e10cSrcweirSHL4VERSIONMAP = $(PRJ)$/qa$/export.map 121*cdf0e10cSrcweir# auto generated Target:Socket 122*cdf0e10cSrcweir# END ------------------------------------------------------------------ 123*cdf0e10cSrcweir 124*cdf0e10cSrcweir# BEGIN ---------------------------------------------------------------- 125*cdf0e10cSrcweir# auto generated Target:Socket by codegen.pl 126*cdf0e10cSrcweirSHL5OBJS= \ 127*cdf0e10cSrcweir $(SLO)$/sockethelper.obj \ 128*cdf0e10cSrcweir $(SLO)$/osl_SocketAddr.obj 129*cdf0e10cSrcweir 130*cdf0e10cSrcweirSHL5TARGET= osl_SocketAddr 131*cdf0e10cSrcweirSHL5STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB) 132*cdf0e10cSrcweir 133*cdf0e10cSrcweir.IF "$(GUI)" == "WNT" 134*cdf0e10cSrcweirSHL5STDLIBS += $(WS2_32LIB) 135*cdf0e10cSrcweir.ENDIF 136*cdf0e10cSrcweir 137*cdf0e10cSrcweir.IF "$(GUI)" == "UNX" 138*cdf0e10cSrcweirSHL5STDLIBS += -ldl -lnsl 139*cdf0e10cSrcweir.ENDIF 140*cdf0e10cSrcweir 141*cdf0e10cSrcweirSHL5IMPLIB= i$(SHL5TARGET) 142*cdf0e10cSrcweirDEF5NAME= $(SHL5TARGET) 143*cdf0e10cSrcweirSHL5VERSIONMAP = $(PRJ)$/qa$/export.map 144*cdf0e10cSrcweir# auto generated Target:Socket 145*cdf0e10cSrcweir# END ------------------------------------------------------------------ 146*cdf0e10cSrcweir 147*cdf0e10cSrcweir# BEGIN ---------------------------------------------------------------- 148*cdf0e10cSrcweir# auto generated Target:Socket by codegen.pl 149*cdf0e10cSrcweirSHL6OBJS= \ 150*cdf0e10cSrcweir $(SLO)$/sockethelper.obj \ 151*cdf0e10cSrcweir $(SLO)$/osl_Socket2.obj 152*cdf0e10cSrcweir 153*cdf0e10cSrcweirSHL6TARGET= osl_Socket2 154*cdf0e10cSrcweirSHL6STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB) 155*cdf0e10cSrcweir 156*cdf0e10cSrcweir.IF "$(GUI)" == "WNT" 157*cdf0e10cSrcweirSHL6STDLIBS += $(WS2_32LIB) 158*cdf0e10cSrcweir.ENDIF 159*cdf0e10cSrcweir 160*cdf0e10cSrcweir.IF "$(GUI)" == "UNX" 161*cdf0e10cSrcweirSHL6STDLIBS += -ldl -lnsl 162*cdf0e10cSrcweir.ENDIF 163*cdf0e10cSrcweir 164*cdf0e10cSrcweirSHL6IMPLIB= i$(SHL6TARGET) 165*cdf0e10cSrcweirDEF6NAME= $(SHL6TARGET) 166*cdf0e10cSrcweirSHL6VERSIONMAP = $(PRJ)$/qa$/export.map 167*cdf0e10cSrcweir# auto generated Target:Socket 168*cdf0e10cSrcweir# END ------------------------------------------------------------------ 169*cdf0e10cSrcweir 170*cdf0e10cSrcweir# BEGIN ---------------------------------------------------------------- 171*cdf0e10cSrcweir# auto generated Target:Socket by codegen.pl 172*cdf0e10cSrcweirSHL7OBJS= \ 173*cdf0e10cSrcweir $(SLO)$/sockethelper.obj \ 174*cdf0e10cSrcweir $(SLO)$/osl_ConnectorSocket.obj 175*cdf0e10cSrcweir 176*cdf0e10cSrcweirSHL7TARGET= osl_ConnectorSocket 177*cdf0e10cSrcweirSHL7STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB) 178*cdf0e10cSrcweir 179*cdf0e10cSrcweir.IF "$(GUI)" == "WNT" 180*cdf0e10cSrcweirSHL7STDLIBS += $(WS2_32LIB) 181*cdf0e10cSrcweir.ENDIF 182*cdf0e10cSrcweir 183*cdf0e10cSrcweir.IF "$(GUI)" == "UNX" 184*cdf0e10cSrcweirSHL7STDLIBS += -ldl -lnsl 185*cdf0e10cSrcweir.ENDIF 186*cdf0e10cSrcweir 187*cdf0e10cSrcweirSHL7IMPLIB= i$(SHL7TARGET) 188*cdf0e10cSrcweirDEF7NAME= $(SHL7TARGET) 189*cdf0e10cSrcweirSHL7VERSIONMAP = $(PRJ)$/qa$/export.map 190*cdf0e10cSrcweir# auto generated Target:Socket 191*cdf0e10cSrcweir# END ------------------------------------------------------------------ 192*cdf0e10cSrcweir 193*cdf0e10cSrcweir# BEGIN ---------------------------------------------------------------- 194*cdf0e10cSrcweir# auto generated Target:Socket by codegen.pl 195*cdf0e10cSrcweirSHL8OBJS= \ 196*cdf0e10cSrcweir $(SLO)$/sockethelper.obj \ 197*cdf0e10cSrcweir $(SLO)$/osl_AcceptorSocket.obj 198*cdf0e10cSrcweir 199*cdf0e10cSrcweirSHL8TARGET= osl_AcceptorSocket 200*cdf0e10cSrcweirSHL8STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB) 201*cdf0e10cSrcweir 202*cdf0e10cSrcweir.IF "$(GUI)" == "WNT" 203*cdf0e10cSrcweirSHL8STDLIBS += $(WS2_32LIB) 204*cdf0e10cSrcweir.ENDIF 205*cdf0e10cSrcweir 206*cdf0e10cSrcweir.IF "$(GUI)" == "UNX" 207*cdf0e10cSrcweirSHL8STDLIBS += -ldl -lnsl 208*cdf0e10cSrcweir.ENDIF 209*cdf0e10cSrcweir 210*cdf0e10cSrcweirSHL8IMPLIB= i$(SHL8TARGET) 211*cdf0e10cSrcweirDEF8NAME= $(SHL8TARGET) 212*cdf0e10cSrcweirSHL8VERSIONMAP = $(PRJ)$/qa$/export.map 213*cdf0e10cSrcweir# auto generated Target:Socket 214*cdf0e10cSrcweir# END ------------------------------------------------------------------ 215*cdf0e10cSrcweir 216*cdf0e10cSrcweir#------------------------------- All object files ------------------------------- 217*cdf0e10cSrcweir# do this here, so we get right dependencies 218*cdf0e10cSrcweir# SLOFILES=$(SHL1OBJS) $(SHL2OBJS) 219*cdf0e10cSrcweir 220*cdf0e10cSrcweir# --- Targets ------------------------------------------------------ 221*cdf0e10cSrcweir 222*cdf0e10cSrcweir.INCLUDE : target.mk 223*cdf0e10cSrcweir.INCLUDE : _cppunit.mk 224