1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28PRJ=..$/..$/..
29PRJNAME=odk
30TARGET=copying
31
32#----------------------------------------------------------------
33.INCLUDE: settings.mk
34.INCLUDE: $(PRJ)$/util$/makefile.pmk
35#----------------------------------------------------------------
36
37#----------------------------------------------------
38# this makefile is only used for copying the example
39# files into the SDK
40#----------------------------------------------------
41
42FORMS_FILES=\
43	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/BooleanValidator.java \
44	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ButtonOperator.java \
45	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ComponentTreeTraversal.java \
46	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ControlLock.java \
47	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ControlValidation.java \
48	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ControlValidator.java \
49	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/DataAwareness.java \
50	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/DateValidator.java \
51	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/DocumentBasedExample.java \
52	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/DocumentHelper.java \
53	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/DocumentType.java \
54	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/DocumentViewHelper.java \
55	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/FLTools.java \
56	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/FormLayer.java \
57	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/GridFieldValidator.java \
58	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/InteractionRequest.java \
59	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/KeyGenerator.java \
60	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ListSelectionValidator.java \
61	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/Makefile \
62	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/NumericValidator.java \
63	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ProgrammaticScriptAssignment.odt \
64	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/SalesFilter.java \
65	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/SingleControlValidation.java \
66	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/SpreadsheetDocument.java \
67	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/SpreadsheetValueBinding.java \
68	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/SpreadsheetView.java \
69	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/TableCellTextBinding.java \
70	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/TextValidator.java \
71	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/TimeValidator.java \
72	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/UNO.java \
73	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ValueBinding.java \
74	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/URLHelper.java \
75	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/HsqlDatabase.java \
76	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/RowSet.java \
77	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/WaitForInput.java
78
79DIR_FILE_LIST= \
80	$(FORMS_FILES)
81
82DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d))
83DIR_CREATE_FLAG=$(MISC)$/devguide_forms_dirs_created.txt
84DIR_FILE_FLAG=$(MISC)$/devguide_forms.txt
85
86#--------------------------------------------------
87# TARGETS
88#--------------------------------------------------
89all : \
90	$(DIR_FILE_LIST) \
91	$(DIR_FILE_FLAG)
92
93#--------------------------------------------------
94# use global rules
95#--------------------------------------------------
96.INCLUDE: $(PRJ)$/util$/odk_rules.pmk
97
98