xref: /AOO41X/main/odk/examples/basic/makefile.mk (revision 7871dc3ea494bf86c742e1f4dfc9c6e20f5bcb2a)
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
38DRAWING_FILES=\
39    $(DESTDIRBASICEXAMPLES)$/drawing$/dirtree.txt \
40    $(DESTDIRBASICEXAMPLES)$/drawing$/importexportofasciifiles.odg
41
42FORMSANDCONTROLS_FILES=\
43    $(DESTDIRBASICEXAMPLES)$/forms_and_controls$/beef.wmf \
44    $(DESTDIRBASICEXAMPLES)$/forms_and_controls$/burger.wmf \
45    $(DESTDIRBASICEXAMPLES)$/forms_and_controls$/burger_factory.odt \
46    $(DESTDIRBASICEXAMPLES)$/forms_and_controls$/chicken.wmf \
47    $(DESTDIRBASICEXAMPLES)$/forms_and_controls$/fish.wmf \
48    $(DESTDIRBASICEXAMPLES)$/forms_and_controls$/vegetable.wmf
49
50SHEET_FILES=\
51    $(DESTDIRBASICEXAMPLES)$/sheet$/adapting_to_euroland.ods
52
53STOCKQUOTEUPDATER_FILES=\
54    $(DESTDIRBASICEXAMPLES)$/stock_quotes_updater$/stock.ods
55
56TEXT_FILES=\
57    $(DESTDIRBASICEXAMPLES)$/text$/creating_an_index$/index.odt \
58    $(DESTDIRBASICEXAMPLES)$/text$/creating_an_index$/indexlist.txt \
59    $(DESTDIRBASICEXAMPLES)$/text$/modifying_text_automatically$/changing_appearance.odt \
60    $(DESTDIRBASICEXAMPLES)$/text$/modifying_text_automatically$/inserting_bookmarks.odt \
61    $(DESTDIRBASICEXAMPLES)$/text$/modifying_text_automatically$/replacing_text.odt \
62    $(DESTDIRBASICEXAMPLES)$/text$/modifying_text_automatically$/using_regular_expressions.odt
63
64DIR_FILE_LIST= \
65    $(DRAWING_FILES) \
66    $(FORMSANDCONTROLS_FILES) \
67    $(SHEET_FILES) \
68    $(STOCKQUOTEUPDATER_FILES) \
69    $(TEXT_FILES) \
70
71DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d))
72DIR_CREATE_FLAG=$(MISC)$/ex_basic_dirs_created.txt
73DIR_FILE_FLAG=$(MISC)$/ex_basic_files.txt
74
75#--------------------------------------------------
76# TARGETS
77#--------------------------------------------------
78all : \
79    $(DIR_FILE_LIST) \
80    $(DIR_FILE_FLAG)
81
82#--------------------------------------------------
83# use global rules
84#--------------------------------------------------
85.INCLUDE: $(PRJ)$/util$/odk_rules.pmk
86
87
88