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
38SPREADSHEET_FILES=\
39	$(DESTDIRDEVGUIDEEXAMPLES)$/Spreadsheet$/ExampleAddIn.java \
40	$(DESTDIRDEVGUIDEEXAMPLES)$/Spreadsheet$/ExampleAddIn.ods \
41	$(DESTDIRDEVGUIDEEXAMPLES)$/Spreadsheet$/ExampleDataPilotSource.java \
42	$(DESTDIRDEVGUIDEEXAMPLES)$/Spreadsheet$/GeneralTableSample.java \
43	$(DESTDIRDEVGUIDEEXAMPLES)$/Spreadsheet$/Makefile \
44	$(DESTDIRDEVGUIDEEXAMPLES)$/Spreadsheet$/SpreadsheetDocHelper.java \
45	$(DESTDIRDEVGUIDEEXAMPLES)$/Spreadsheet$/SpreadsheetSample.java \
46	$(DESTDIRDEVGUIDEEXAMPLES)$/Spreadsheet$/ViewSample.java \
47	$(DESTDIRDEVGUIDEEXAMPLES)$/Spreadsheet$/XExampleAddIn.idl \
48	$(DESTDIRDEVGUIDEEXAMPLES)$/Spreadsheet$/DataPilotReadme.txt
49
50DIR_FILE_LIST= \
51	$(SPREADSHEET_FILES) \
52
53DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d))
54DIR_CREATE_FLAG=$(MISC)$/devguide_spreadsheet_dirs_created.txt
55DIR_FILE_FLAG=$(MISC)$/devguide_spreadsheet.txt
56
57#--------------------------------------------------
58# TARGETS
59#--------------------------------------------------
60all : \
61	$(DIR_FILE_LIST) \
62	$(DIR_FILE_FLAG)
63
64#--------------------------------------------------
65# use global rules
66#--------------------------------------------------
67.INCLUDE: $(PRJ)$/util$/odk_rules.pmk
68
69