1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2011 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 = .. 29PRJNAME = binaryurp 30TARGET = qa 31 32ENABLE_EXCEPTIONS = TRUE 33 34.INCLUDE: settings.mk 35 36.IF "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2" 37 38@all: 39.IF "$(GUI)" == "OS2" 40 @echo "Skipping, cppunit broken." 41.ELIF "$(WITH_CPPUNIT)" != "YES" 42 @echo "cppunit disabled. nothing do do." 43.END 44 45.ELSE 46 47CFLAGSCXX += $(CPPUNIT_CFLAGS) 48 49DLLPRE = 50 51.IF "$(GUI)" != "OS2" 52SLOFILES = $(SLO)/test-cache.obj $(SLO)/test-unmarshal.obj 53.ENDIF 54 55SHL1IMPLIB = i$(SHL1TARGET) 56SHL1OBJS = $(SLO)/test-cache.obj 57SHL1RPATH = NONE 58SHL1STDLIBS = $(CPPUNITLIB) $(SALLIB) 59.IF "$(GUI)" != "OS2" 60SHL1TARGET = test-cache 61.ELSE 62SHL1TARGET = test-c 63.ENDIF 64SHL1VERSIONMAP = version.map 65DEF1NAME = $(SHL1TARGET) 66 67SHL2IMPLIB = i$(SHL2TARGET) 68SHL2OBJS = \ 69 $(SLO)/test-unmarshal.obj \ 70 $(SLO)/binaryany.obj \ 71 $(SLO)/bridge.obj \ 72 $(SLO)/bridgefactory.obj \ 73 $(SLO)/currentcontext.obj \ 74 $(SLO)/incomingrequest.obj \ 75 $(SLO)/lessoperators.obj \ 76 $(SLO)/marshal.obj \ 77 $(SLO)/outgoingrequests.obj \ 78 $(SLO)/proxy.obj \ 79 $(SLO)/reader.obj \ 80 $(SLO)/unmarshal.obj \ 81 $(SLO)/writer.obj 82SHL2RPATH = NONE 83SHL2STDLIBS = \ 84 $(CPPUHELPERLIB) \ 85 $(CPPULIB) \ 86 $(CPPUNITLIB) \ 87 $(SALHELPERLIB) \ 88 $(SALLIB) 89.IF "$(GUI)" != "OS2" 90SHL2TARGET = test-unmarshal 91.ELSE 92SHL2TARGET = test-u 93.ENDIF 94SHL2VERSIONMAP = version.map 95DEF2NAME = $(SHL2TARGET) 96 97.ENDIF # "$(GUI)" == "OS2" 98 99.INCLUDE: target.mk 100.INCLUDE: _cppunit.mk 101 102