1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27 28PRJ=..$/..$/.. 29 30PRJNAME=sal 31TARGET=qa_osl_socket 32 33ENABLE_EXCEPTIONS=TRUE 34 35# --- Settings ----------------------------------------------------- 36 37.INCLUDE : settings.mk 38 39CFLAGS+= $(LFS_CFLAGS) 40CXXFLAGS+= $(LFS_CFLAGS) 41 42# BEGIN ---------------------------------------------------------------- 43# auto generated Target:Socket by codegen.pl 44SHL1OBJS= \ 45 $(SLO)$/osl_Socket.obj 46 47SHL1TARGET=osl_SocketOld 48SHL1STDLIBS= $(SALLIB) $CPPUNITLIB) $(TESTSHL2LIB) 49 50.IF "$(GUI)" == "WNT" 51SHL1STDLIBS+= $(WS2_32LIB) 52.ENDIF 53 54.IF "$(GUI)" == "UNX" 55SHL1STDLIBS+= -ldl -lnsl 56.ENDIF 57 58SHL1IMPLIB= i$(SHL1TARGET) 59# SHL1DEF= $(MISC)$/$(SHL1TARGET).def 60DEF1NAME=$(SHL1TARGET) 61# DEF1EXPORTFILE= export.exp 62SHL1VERSIONMAP = $(PRJ)$/qa$/export.map 63# auto generated Target:Socket 64# END ------------------------------------------------------------------ 65 66# --- BEGIN -------------------------------------------------------- 67SHL2OBJS= \ 68 $(SLO)$/osl_Socket_tests.obj 69SHL2TARGET= osl_Socket_tests 70SHL2STDLIBS= $(SALLIB) $CPPUNITLIB) $(TESTSHL2LIB) 71 72SHL2IMPLIB= i$(SHL2TARGET) 73DEF2NAME= $(SHL2TARGET) 74SHL2VERSIONMAP = $(PRJ)$/qa$/export.map 75 76# END -------------------------------------------------------------- 77 78# BEGIN ---------------------------------------------------------------- 79# auto generated Target:Socket by codegen.pl 80SHL3OBJS= \ 81 $(SLO)$/sockethelper.obj \ 82 $(SLO)$/osl_StreamSocket.obj 83 84SHL3TARGET= osl_StreamSocket 85SHL3STDLIBS= $(SALLIB) $CPPUNITLIB) $(TESTSHL2LIB) 86 87.IF "$(GUI)" == "WNT" 88SHL3STDLIBS += $(WS2_32LIB) 89.ENDIF 90 91.IF "$(GUI)" == "UNX" 92SHL3STDLIBS += -ldl -lnsl 93.ENDIF 94 95SHL3IMPLIB= i$(SHL3TARGET) 96DEF3NAME= $(SHL3TARGET) 97SHL3VERSIONMAP = $(PRJ)$/qa$/export.map 98# auto generated Target:Socket 99# END ------------------------------------------------------------------ 100 101# BEGIN ---------------------------------------------------------------- 102# auto generated Target:Socket by codegen.pl 103SHL4OBJS= \ 104 $(SLO)$/sockethelper.obj \ 105 $(SLO)$/osl_DatagramSocket.obj 106 107SHL4TARGET= osl_DatagramSocket 108SHL4STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB) 109 110.IF "$(GUI)" == "WNT" 111SHL4STDLIBS += $(WS2_32LIB) 112.ENDIF 113 114.IF "$(GUI)" == "UNX" 115SHL4STDLIBS += -ldl -lnsl 116.ENDIF 117 118SHL4IMPLIB= i$(SHL4TARGET) 119DEF4NAME= $(SHL4TARGET) 120SHL4VERSIONMAP = $(PRJ)$/qa$/export.map 121# auto generated Target:Socket 122# END ------------------------------------------------------------------ 123 124# BEGIN ---------------------------------------------------------------- 125# auto generated Target:Socket by codegen.pl 126SHL5OBJS= \ 127 $(SLO)$/sockethelper.obj \ 128 $(SLO)$/osl_SocketAddr.obj 129 130SHL5TARGET= osl_SocketAddr 131SHL5STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB) 132 133.IF "$(GUI)" == "WNT" 134SHL5STDLIBS += $(WS2_32LIB) 135.ENDIF 136 137.IF "$(GUI)" == "UNX" 138SHL5STDLIBS += -ldl -lnsl 139.ENDIF 140 141SHL5IMPLIB= i$(SHL5TARGET) 142DEF5NAME= $(SHL5TARGET) 143SHL5VERSIONMAP = $(PRJ)$/qa$/export.map 144# auto generated Target:Socket 145# END ------------------------------------------------------------------ 146 147# BEGIN ---------------------------------------------------------------- 148# auto generated Target:Socket by codegen.pl 149SHL6OBJS= \ 150 $(SLO)$/sockethelper.obj \ 151 $(SLO)$/osl_Socket2.obj 152 153SHL6TARGET= osl_Socket2 154SHL6STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB) 155 156.IF "$(GUI)" == "WNT" 157SHL6STDLIBS += $(WS2_32LIB) 158.ENDIF 159 160.IF "$(GUI)" == "UNX" 161SHL6STDLIBS += -ldl -lnsl 162.ENDIF 163 164SHL6IMPLIB= i$(SHL6TARGET) 165DEF6NAME= $(SHL6TARGET) 166SHL6VERSIONMAP = $(PRJ)$/qa$/export.map 167# auto generated Target:Socket 168# END ------------------------------------------------------------------ 169 170# BEGIN ---------------------------------------------------------------- 171# auto generated Target:Socket by codegen.pl 172SHL7OBJS= \ 173 $(SLO)$/sockethelper.obj \ 174 $(SLO)$/osl_ConnectorSocket.obj 175 176SHL7TARGET= osl_ConnectorSocket 177SHL7STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB) 178 179.IF "$(GUI)" == "WNT" 180SHL7STDLIBS += $(WS2_32LIB) 181.ENDIF 182 183.IF "$(GUI)" == "UNX" 184SHL7STDLIBS += -ldl -lnsl 185.ENDIF 186 187SHL7IMPLIB= i$(SHL7TARGET) 188DEF7NAME= $(SHL7TARGET) 189SHL7VERSIONMAP = $(PRJ)$/qa$/export.map 190# auto generated Target:Socket 191# END ------------------------------------------------------------------ 192 193# BEGIN ---------------------------------------------------------------- 194# auto generated Target:Socket by codegen.pl 195SHL8OBJS= \ 196 $(SLO)$/sockethelper.obj \ 197 $(SLO)$/osl_AcceptorSocket.obj 198 199SHL8TARGET= osl_AcceptorSocket 200SHL8STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB) 201 202.IF "$(GUI)" == "WNT" 203SHL8STDLIBS += $(WS2_32LIB) 204.ENDIF 205 206.IF "$(GUI)" == "UNX" 207SHL8STDLIBS += -ldl -lnsl 208.ENDIF 209 210SHL8IMPLIB= i$(SHL8TARGET) 211DEF8NAME= $(SHL8TARGET) 212SHL8VERSIONMAP = $(PRJ)$/qa$/export.map 213# auto generated Target:Socket 214# END ------------------------------------------------------------------ 215 216#------------------------------- All object files ------------------------------- 217# do this here, so we get right dependencies 218# SLOFILES=$(SHL1OBJS) $(SHL2OBJS) 219 220# --- Targets ------------------------------------------------------ 221 222.INCLUDE : target.mk 223.INCLUDE : _cppunit.mk 224