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 23 24PRJ=..$/..$/.. 25PRJINC=$(PRJ)$/source 26PRJNAME=dbaccess 27TARGET=dbaxml 28 29ENABLE_EXCEPTIONS=TRUE 30 31# --- Settings ---------------------------------- 32 33.INCLUDE : settings.mk 34.INCLUDE : $(PRJ)$/util$/makefile.pmk 35 36# --- Files ------------------------------------- 37 38SLOFILES= $(SLO)$/xmlfilter.obj \ 39 $(SLO)$/dbloader2.obj \ 40 $(SLO)$/xmlDatabase.obj \ 41 $(SLO)$/xmlDataSource.obj \ 42 $(SLO)$/xmlTableFilterPattern.obj \ 43 $(SLO)$/xmlTableFilterList.obj \ 44 $(SLO)$/xmlDataSourceInfo.obj \ 45 $(SLO)$/xmlDataSourceSetting.obj \ 46 $(SLO)$/xmlDataSourceSettings.obj \ 47 $(SLO)$/xmlDocuments.obj \ 48 $(SLO)$/xmlComponent.obj \ 49 $(SLO)$/xmlHierarchyCollection.obj \ 50 $(SLO)$/xmlLogin.obj \ 51 $(SLO)$/xmlExport.obj \ 52 $(SLO)$/xmlQuery.obj \ 53 $(SLO)$/xmlTable.obj \ 54 $(SLO)$/xmlColumn.obj \ 55 $(SLO)$/xmlStyleImport.obj \ 56 $(SLO)$/xmlHelper.obj \ 57 $(SLO)$/xmlAutoStyle.obj \ 58 $(SLO)$/xmlConnectionData.obj \ 59 $(SLO)$/xmlDatabaseDescription.obj \ 60 $(SLO)$/xmlFileBasedDatabase.obj \ 61 $(SLO)$/xmlServerDatabase.obj \ 62 $(SLO)$/xmlConnectionResource.obj \ 63 $(SLO)$/xmlservices.obj 64 65# --- Library ----------------------------------- 66LIB1TARGET=$(SLB)$/dba_flt.lib 67LIB1FILES=\ 68 $(SLB)$/fltshared.lib \ 69 $(SLB)$/$(TARGET).lib 70 71SHL1TARGET=$(TARGET)$(DLLPOSTFIX) 72 73SHL1STDLIBS=\ 74 $(XMLOFFLIB) \ 75 $(VCLLIB) \ 76 $(TOOLSLIB) \ 77 $(TKLIB) \ 78 $(COMPHELPERLIB) \ 79 $(CPPUHELPERLIB) \ 80 $(CPPULIB) \ 81 $(SFXLIB) \ 82 $(SVLLIB) \ 83 $(DBTOOLSLIB) \ 84 $(UNOTOOLSLIB) \ 85 $(SO2LIB) \ 86 $(SALLIB) 87 88.IF "$(GUI)"!="WNT" || "$(COM)"=="GCC" || "$(GUI)"=="OS2" 89SHL1STDLIBS+= \ 90 -ldba$(DLLPOSTFIX) 91.ELSE 92SHL1STDLIBS+= \ 93 idba.lib 94.ENDIF 95 96 97SHL1DEPN= 98SHL1LIBS=$(LIB1TARGET) 99SHL1IMPLIB= i$(SHL1TARGET) 100# SHL1LIBS= $(SLB)$/$(TARGET).lib 101SHL1VERSIONMAP=$(SOLARENV)/src/component.map 102SHL1DEF= $(MISC)$/$(SHL1TARGET).def 103 104DEF1NAME=$(SHL1TARGET) 105 106# --- Targets ---------------------------------- 107 108.INCLUDE : target.mk 109 110ALLTAR : $(MISC)/dbaxml.component 111 112$(MISC)/dbaxml.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 113 dbaxml.component 114 $(XSLTPROC) --nonet --stringparam uri \ 115 '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 116 $(SOLARENV)/bin/createcomponent.xslt dbaxml.component 117