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 23PRJ=..$/..$/.. 24 25PRJNAME=writerfilter 26TARGET=test-odiapi 27ENABLE_EXCEPTIONS=TRUE 28 29# --- Settings ----------------------------------------------------- 30 31.INCLUDE : settings.mk 32 33CFLAGSCXX += $(CPPUNIT_CFLAGS) 34 35# BEGIN ---------------------------------------------------------------- 36# auto generated Target:testjob by codegen.pl 37 38.IF "$(GUI)" == "WNT" 39 #CFLAGS+=/Ob1 40.ENDIF 41 42SHL1OBJS=\ 43 $(SLO)$/testProperty.obj \ 44 $(SLO)$/FileLoggerImpl.obj\ 45 $(SLO)$/ExternalViewLogger.obj\ 46 $(SLO)$/testCore.obj 47 48SHL1TARGET=$(TARGET) 49SHL1STDLIBS=$(SALLIB) $(TOOLSLIB) $(TESTSHL2LIB) $(CPPUNITLIB) 50 51.IF "$(GUI)"=="WNT" 52SHL1STDLIBS+= $(LB)$/iodiapi.lib 53.ELIF "$(GUI)"=="UNX" && "$(GUIBASE)"!="aqua" 54SHL1STDLIBS+=$(LB)$/libodiapi.so 55.ELIF "$(GUI)"=="UNX" && "$(GUIBASE)"=="aqua" 56SHL1STDLIBS+=$(LB)$/libodiapi.dylib 57.ENDIF 58 59SHL1IMPLIB= i$(SHL1TARGET) 60 61# SHL1DEF= $(MISC)$/$(SHL1TARGET).def 62 63DEF1NAME =$(SHL1TARGET) 64 65SHL1VERSIONMAP = export.map 66 67# END ------------------------------------------------------------------ 68 69# --- Targets ------------------------------------------------------ 70 71.INCLUDE : target.mk 72.INCLUDE : _cppunit.mk 73