1*3c5114b8SDamjan Jovanovic#**************************************************************
2*3c5114b8SDamjan Jovanovic#
3*3c5114b8SDamjan Jovanovic#  Licensed to the Apache Software Foundation (ASF) under one
4*3c5114b8SDamjan Jovanovic#  or more contributor license agreements.  See the NOTICE file
5*3c5114b8SDamjan Jovanovic#  distributed with this work for additional information
6*3c5114b8SDamjan Jovanovic#  regarding copyright ownership.  The ASF licenses this file
7*3c5114b8SDamjan Jovanovic#  to you under the Apache License, Version 2.0 (the
8*3c5114b8SDamjan Jovanovic#  "License"); you may not use this file except in compliance
9*3c5114b8SDamjan Jovanovic#  with the License.  You may obtain a copy of the License at
10*3c5114b8SDamjan Jovanovic#
11*3c5114b8SDamjan Jovanovic#    http://www.apache.org/licenses/LICENSE-2.0
12*3c5114b8SDamjan Jovanovic#
13*3c5114b8SDamjan Jovanovic#  Unless required by applicable law or agreed to in writing,
14*3c5114b8SDamjan Jovanovic#  software distributed under the License is distributed on an
15*3c5114b8SDamjan Jovanovic#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*3c5114b8SDamjan Jovanovic#  KIND, either express or implied.  See the License for the
17*3c5114b8SDamjan Jovanovic#  specific language governing permissions and limitations
18*3c5114b8SDamjan Jovanovic#  under the License.
19*3c5114b8SDamjan Jovanovic#
20*3c5114b8SDamjan Jovanovic#**************************************************************
21*3c5114b8SDamjan Jovanovic
22*3c5114b8SDamjan Jovanovic
23*3c5114b8SDamjan Jovanovic
24*3c5114b8SDamjan JovanovicPRJ=..$/..
25*3c5114b8SDamjan JovanovicPRJNAME=connectivity
26*3c5114b8SDamjan JovanovicTARGET=sdbc_postgresql
27*3c5114b8SDamjan Jovanovic
28*3c5114b8SDamjan Jovanovic# --- Settings -----------------------------------------------------
29*3c5114b8SDamjan Jovanovic
30*3c5114b8SDamjan Jovanovic.INCLUDE : $(PRJ)$/makefile.pmk
31*3c5114b8SDamjan Jovanovic.INCLUDE : $(PRJ)$/version.mk
32*3c5114b8SDamjan Jovanovic
33*3c5114b8SDamjan Jovanovic.IF defined(debug) || defined(DEBUG)
34*3c5114b8SDamjan JovanovicANTDEBUG=true
35*3c5114b8SDamjan Jovanovic.ELSE
36*3c5114b8SDamjan JovanovicANTDEBUG=off
37*3c5114b8SDamjan Jovanovic.ENDIF
38*3c5114b8SDamjan Jovanovic
39*3c5114b8SDamjan JovanovicANT_FLAGS+=-Dantdebug=$(ANTDEBUG)
40*3c5114b8SDamjan Jovanovic
41*3c5114b8SDamjan Jovanovic# --- Targets ------------------------------------------------------
42*3c5114b8SDamjan Jovanovic.INCLUDE :  $(PRJ)$/target.pmk
43*3c5114b8SDamjan Jovanovic
44*3c5114b8SDamjan JovanovicALLTAR: ANTBUILD $(MISC)/postgresql.component
45*3c5114b8SDamjan Jovanovic
46*3c5114b8SDamjan Jovanovic$(MISC)/postgresql.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
47*3c5114b8SDamjan Jovanovic        postgresql.component
48*3c5114b8SDamjan Jovanovic    $(XSLTPROC) --nonet --stringparam uri '$(COMPONENTPREFIX_URE_JAVA)sdbc_postgresql.jar' \
49*3c5114b8SDamjan Jovanovic        -o $@ $(SOLARENV)/bin/createcomponent.xslt postgresql.component
50*3c5114b8SDamjan Jovanovic
51