update dev300-m58
[ooovba.git] / odk / examples / basic / makefile.mk
bloba02826efafbc5fd19a9775bee266ab7216465790
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
11 # $Revision: 1.6 $
13 # This file is part of OpenOffice.org.
15 # OpenOffice.org is free software: you can redistribute it and/or modify
16 # it under the terms of the GNU Lesser General Public License version 3
17 # only, as published by the Free Software Foundation.
19 # OpenOffice.org is distributed in the hope that it will be useful,
20 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 # GNU Lesser General Public License version 3 for more details
23 # (a copy is included in the LICENSE file that accompanied this code).
25 # You should have received a copy of the GNU Lesser General Public License
26 # version 3 along with OpenOffice.org. If not, see
27 # <http://www.openoffice.org/license.html>
28 # for a copy of the LGPLv3 License.
30 #*************************************************************************
32 PRJ=..$/..
33 PRJNAME=odk
34 TARGET=copying
36 #----------------------------------------------------------------
37 .INCLUDE: settings.mk
38 .INCLUDE: $(PRJ)$/util$/makefile.pmk
39 #----------------------------------------------------------------
41 #----------------------------------------------------
42 # this makefile is only used for copying the example
43 # files into the SDK
44 #----------------------------------------------------
46 DRAWING_FILES=\
47 $(DESTDIRBASICEXAMPLES)$/drawing$/dirtree.txt \
48 $(DESTDIRBASICEXAMPLES)$/drawing$/importexportofasciifiles.odg
50 FORMSANDCONTROLS_FILES=\
51 $(DESTDIRBASICEXAMPLES)$/forms_and_controls$/beef.wmf \
52 $(DESTDIRBASICEXAMPLES)$/forms_and_controls$/burger.wmf \
53 $(DESTDIRBASICEXAMPLES)$/forms_and_controls$/burger_factory.odt \
54 $(DESTDIRBASICEXAMPLES)$/forms_and_controls$/chicken.wmf \
55 $(DESTDIRBASICEXAMPLES)$/forms_and_controls$/fish.wmf \
56 $(DESTDIRBASICEXAMPLES)$/forms_and_controls$/vegetable.wmf
58 SHEET_FILES=\
59 $(DESTDIRBASICEXAMPLES)$/sheet$/adapting_to_euroland.ods
61 STOCKQUOTEUPDATER_FILES=\
62 $(DESTDIRBASICEXAMPLES)$/stock_quotes_updater$/stock.ods
64 TEXT_FILES=\
65 $(DESTDIRBASICEXAMPLES)$/text$/creating_an_index$/index.odt \
66 $(DESTDIRBASICEXAMPLES)$/text$/creating_an_index$/indexlist.txt \
67 $(DESTDIRBASICEXAMPLES)$/text$/modifying_text_automatically$/changing_appearance.odt \
68 $(DESTDIRBASICEXAMPLES)$/text$/modifying_text_automatically$/inserting_bookmarks.odt \
69 $(DESTDIRBASICEXAMPLES)$/text$/modifying_text_automatically$/replacing_text.odt \
70 $(DESTDIRBASICEXAMPLES)$/text$/modifying_text_automatically$/using_regular_expressions.odt
72 DIR_FILE_LIST= \
73 $(DRAWING_FILES) \
74 $(FORMSANDCONTROLS_FILES) \
75 $(SHEET_FILES) \
76 $(STOCKQUOTEUPDATER_FILES) \
77 $(TEXT_FILES) \
79 DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d))
80 DIR_CREATE_FLAG=$(MISC)$/ex_basic_dirs_created.txt
81 DIR_FILE_FLAG=$(MISC)$/ex_basic_files.txt
83 #--------------------------------------------------
84 # TARGETS
85 #--------------------------------------------------
86 all : \
87 $(DIR_FILE_LIST) \
88 $(DIR_FILE_FLAG)
90 #--------------------------------------------------
91 # use global rules
92 #--------------------------------------------------
93 .INCLUDE: $(PRJ)$/util$/odk_rules.pmk