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
38FORMS_FILES=\
39	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/BooleanValidator.java \
40	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ButtonOperator.java \
41	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ComponentTreeTraversal.java \
42	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ControlLock.java \
43	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ControlValidation.java \
44	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ControlValidator.java \
45	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/DataAwareness.java \
46	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/DateValidator.java \
47	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/DocumentBasedExample.java \
48	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/DocumentHelper.java \
49	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/DocumentType.java \
50	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/DocumentViewHelper.java \
51	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/FLTools.java \
52	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/FormLayer.java \
53	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/GridFieldValidator.java \
54	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/InteractionRequest.java \
55	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/KeyGenerator.java \
56	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ListSelectionValidator.java \
57	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/Makefile \
58	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/NumericValidator.java \
59	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ProgrammaticScriptAssignment.odt \
60	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/SalesFilter.java \
61	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/SingleControlValidation.java \
62	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/SpreadsheetDocument.java \
63	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/SpreadsheetValueBinding.java \
64	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/SpreadsheetView.java \
65	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/TableCellTextBinding.java \
66	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/TextValidator.java \
67	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/TimeValidator.java \
68	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/UNO.java \
69	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/ValueBinding.java \
70	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/URLHelper.java \
71	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/HsqlDatabase.java \
72	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/RowSet.java \
73	$(DESTDIRDEVGUIDEEXAMPLES)$/Forms$/WaitForInput.java
74
75DIR_FILE_LIST= \
76	$(FORMS_FILES)
77
78DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d))
79DIR_CREATE_FLAG=$(MISC)$/devguide_forms_dirs_created.txt
80DIR_FILE_FLAG=$(MISC)$/devguide_forms.txt
81
82#--------------------------------------------------
83# TARGETS
84#--------------------------------------------------
85all : \
86	$(DIR_FILE_LIST) \
87	$(DIR_FILE_FLAG)
88
89#--------------------------------------------------
90# use global rules
91#--------------------------------------------------
92.INCLUDE: $(PRJ)$/util$/odk_rules.pmk
93
94