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
38BASICANDDIALOGS_FILES=\
39	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/FirstStepsBasic.odt
40
41CREATINGDIALOGS_FILES=\
42	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/CreatingDialogs$/SampleDialog.java \
43	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/CreatingDialogs$/CreatingDialogs.odt \
44	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/CreatingDialogs$/Makefile
45
46TOOLKITCONTROLS_FILES=\
47	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/ToolkitControls$/Makefile \
48	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/ToolkitControls$/ToolkitControls.odt \
49	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/ToolkitControls$/ToolkitControls$/dialog.xlb \
50	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/ToolkitControls$/ToolkitControls$/FileDialog.xba \
51	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/ToolkitControls$/ToolkitControls$/FileDialogDlg.xdl \
52	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/ToolkitControls$/ToolkitControls$/MultiPage.xba \
53	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/ToolkitControls$/ToolkitControls$/MultiPageDlg.xdl \
54	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/ToolkitControls$/ToolkitControls$/ProgressBar.xba \
55	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/ToolkitControls$/ToolkitControls$/ProgressBarDlg.xdl \
56	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/ToolkitControls$/ToolkitControls$/script.xlb \
57	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/ToolkitControls$/ToolkitControls$/ScrollBar.xba \
58	$(DESTDIRDEVGUIDEEXAMPLES)$/BasicAndDialogs$/ToolkitControls$/ToolkitControls$/ScrollBarDlg.xdl
59
60DIR_FILE_LIST= \
61	$(BASICANDDIALOGS_FILES) \
62	$(CREATINGDIALOGS_FILES) \
63	$(TOOLKITCONTROLS_FILES)
64
65DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d))
66DIR_CREATE_FLAG=$(MISC)$/devguide_basicanddialogs_dirs_created.txt
67DIR_FILE_FLAG=$(MISC)$/devguide_basicanddialogs.txt
68
69#--------------------------------------------------
70# TARGETS
71#--------------------------------------------------
72all : \
73	$(DIR_FILE_LIST) \
74	$(DIR_FILE_FLAG)
75
76#--------------------------------------------------
77# use global rules
78#--------------------------------------------------
79.INCLUDE: $(PRJ)$/util$/odk_rules.pmk
80
81