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
38UCB_FILES=\
39	$(DESTDIRDEVGUIDEEXAMPLES)$/UCB$/data$/data.txt \
40	$(DESTDIRDEVGUIDEEXAMPLES)$/UCB$/ChildrenRetriever.java \
41	$(DESTDIRDEVGUIDEEXAMPLES)$/UCB$/DataStreamComposer.java \
42	$(DESTDIRDEVGUIDEEXAMPLES)$/UCB$/DataStreamRetriever.java \
43	$(DESTDIRDEVGUIDEEXAMPLES)$/UCB$/Helper.java \
44	$(DESTDIRDEVGUIDEEXAMPLES)$/UCB$/Makefile \
45	$(DESTDIRDEVGUIDEEXAMPLES)$/UCB$/MyActiveDataSink.java \
46	$(DESTDIRDEVGUIDEEXAMPLES)$/UCB$/MyInputStream.java \
47	$(DESTDIRDEVGUIDEEXAMPLES)$/UCB$/PropertiesComposer.java \
48	$(DESTDIRDEVGUIDEEXAMPLES)$/UCB$/PropertiesRetriever.java \
49	$(DESTDIRDEVGUIDEEXAMPLES)$/UCB$/ResourceCreator.java \
50	$(DESTDIRDEVGUIDEEXAMPLES)$/UCB$/ResourceManager.java \
51	$(DESTDIRDEVGUIDEEXAMPLES)$/UCB$/ResourceRemover.java
52
53DIR_FILE_LIST= \
54	$(UCB_FILES) \
55
56DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d))
57DIR_CREATE_FLAG=$(MISC)$/devguide_ucb_dirs_created.txt
58DIR_FILE_FLAG=$(MISC)$/devguide_ucb.txt
59
60#--------------------------------------------------
61# TARGETS
62#--------------------------------------------------
63all : \
64	$(DIR_FILE_LIST) \
65	$(DIR_FILE_FLAG)
66
67#--------------------------------------------------
68# use global rules
69#--------------------------------------------------
70.INCLUDE: $(PRJ)$/util$/odk_rules.pmk
71
72