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=..$/..$/.. 25PRJNAME=odk 26TARGET=copying 27 28#---------------------------------------------------------------- 29.INCLUDE: settings.mk 30.INCLUDE: $(PRJ)$/util$/makefile.pmk 31#---------------------------------------------------------------- 32 33#---------------------------------------------------- 34# this makefile is only used for copying the example 35# files into the SDK 36#---------------------------------------------------- 37 38DATABASE_FILES=\ 39 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/CodeSamples.java \ 40 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/Makefile \ 41 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/OpenQuery.java \ 42 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/RowSet.java \ 43 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/RowSetEventListener.java \ 44 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/Sales.java \ 45 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/SalesMan.java \ 46 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/sdbcx.java 47 48DATABASEDRIVERSKELETON_FILES=\ 49 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/How_to_write_my_own_driver.txt \ 50 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/Makefile \ 51 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/OSubComponent.hxx \ 52 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/OTypeInfo.hxx \ 53 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/propertyids.cxx \ 54 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/propertyids.hxx \ 55 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SConnection.cxx \ 56 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SConnection.hxx \ 57 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SDatabaseMetaData.cxx \ 58 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SDatabaseMetaData.hxx \ 59 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SDriver.cxx \ 60 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SDriver.hxx \ 61 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/skeleton.xml \ 62 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SPreparedStatement.cxx \ 63 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SPreparedStatement.hxx \ 64 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SResultSet.cxx \ 65 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SResultSet.hxx \ 66 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SResultSetMetaData.cxx \ 67 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SResultSetMetaData.hxx \ 68 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SServices.cxx \ 69 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SStatement.cxx \ 70 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SStatement.hxx 71 72DIR_FILE_LIST= \ 73 $(DATABASE_FILES) \ 74 $(DATABASEDRIVERSKELETON_FILES) 75 76DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d)) 77DIR_CREATE_FLAG=$(MISC)$/devguide_database_dirs_created.txt 78DIR_FILE_FLAG=$(MISC)$/devguide_database.txt 79 80#-------------------------------------------------- 81# TARGETS 82#-------------------------------------------------- 83all : \ 84 $(DIR_FILE_LIST) \ 85 $(DIR_FILE_FLAG) 86 87#-------------------------------------------------- 88# use global rules 89#-------------------------------------------------- 90.INCLUDE: $(PRJ)$/util$/odk_rules.pmk 91 92