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 38DESTSF=$(DESTDIRDEVGUIDEEXAMPLES)$/ScriptingFramework 39SF_FILES=\ 40 $(DESTSF)$/SayHello$/SayHello$/parcel-descriptor.xml \ 41 $(DESTSF)$/SayHello$/SayHello$/SayHello.java \ 42 $(DESTSF)$/SayHello$/Makefile \ 43 $(DESTSF)$/SayHello$/SayHello.odt \ 44 $(DESTSF)$/SayHello$/build.xml \ 45 $(DESTSF)$/SayHello$/META-INF$/manifest.xml \ 46 $(DESTSF)$/ScriptSelector$/ScriptSelector.odt \ 47 $(DESTSF)$/ScriptSelector$/Makefile \ 48 $(DESTSF)$/ScriptSelector$/build.xml \ 49 $(DESTSF)$/ScriptSelector$/META-INF$/manifest.xml \ 50 $(DESTSF)$/ScriptSelector$/ScriptSelector$/container.gif \ 51 $(DESTSF)$/ScriptSelector$/ScriptSelector$/script.gif \ 52 $(DESTSF)$/ScriptSelector$/ScriptSelector$/soffice.gif \ 53 $(DESTSF)$/ScriptSelector$/ScriptSelector$/ScriptSelector.java \ 54 $(DESTSF)$/ScriptSelector$/ScriptSelector$/parcel-descriptor.xml 55 56DIR_FILE_LIST= \ 57 $(SF_FILES) \ 58 59DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d)) 60DIR_CREATE_FLAG=$(MISC)$/devguide_sf_dirs_created.txt 61DIR_FILE_FLAG=$(MISC)$/devguide_sf.txt 62 63#-------------------------------------------------- 64# TARGETS 65#-------------------------------------------------- 66all : \ 67 $(DIR_FILE_LIST) \ 68 $(DIR_FILE_FLAG) 69 70#-------------------------------------------------- 71# use global rules 72#-------------------------------------------------- 73.INCLUDE: $(PRJ)$/util$/odk_rules.pmk 74 75 76