merge the formfield patch from ooo-build
[ooovba.git] / odk / examples / DevelopersGuide / Database / makefile.mk
blobe86fdd5eca54fab3439ab174bb948227317462b9
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.6 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..$/..
33 PRJNAME=odk
34 TARGET=copying
36 #----------------------------------------------------------------
37 .INCLUDE: settings.mk
38 .INCLUDE: $(PRJ)$/util$/makefile.pmk
39 #----------------------------------------------------------------
41 #----------------------------------------------------
42 # this makefile is only used for copying the example
43 # files into the SDK
44 #----------------------------------------------------
46 DATABASE_FILES=\
47 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/CodeSamples.java \
48 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/Makefile \
49 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/OpenQuery.java \
50 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/RowSet.java \
51 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/RowSetEventListener.java \
52 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/Sales.java \
53 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/SalesMan.java \
54 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/sdbcx.java
56 DATABASEDRIVERSKELETON_FILES=\
57 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/How_to_write_my_own_driver.txt \
58 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/Makefile \
59 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/OSubComponent.hxx \
60 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/OTypeInfo.hxx \
61 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/propertyids.cxx \
62 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/propertyids.hxx \
63 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SConnection.cxx \
64 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SConnection.hxx \
65 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SDatabaseMetaData.cxx \
66 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SDatabaseMetaData.hxx \
67 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SDriver.cxx \
68 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SDriver.hxx \
69 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/skeleton.xml \
70 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SPreparedStatement.cxx \
71 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SPreparedStatement.hxx \
72 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SResultSet.cxx \
73 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SResultSet.hxx \
74 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SResultSetMetaData.cxx \
75 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SResultSetMetaData.hxx \
76 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SServices.cxx \
77 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SStatement.cxx \
78 $(DESTDIRDEVGUIDEEXAMPLES)$/Database$/DriverSkeleton$/SStatement.hxx
80 DIR_FILE_LIST= \
81 $(DATABASE_FILES) \
82 $(DATABASEDRIVERSKELETON_FILES)
84 DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d))
85 DIR_CREATE_FLAG=$(MISC)$/devguide_database_dirs_created.txt
86 DIR_FILE_FLAG=$(MISC)$/devguide_database.txt
88 #--------------------------------------------------
89 # TARGETS
90 #--------------------------------------------------
91 all : \
92 $(DIR_FILE_LIST) \
93 $(DIR_FILE_FLAG)
95 #--------------------------------------------------
96 # use global rules
97 #--------------------------------------------------
98 .INCLUDE: $(PRJ)$/util$/odk_rules.pmk