update dev300-m58
[ooovba.git] / odk / examples / java / makefile.mk
blob69f7c8d2cf1a41ba12fb1d07b1db36b92b8ee032
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.9 $
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 $(DESTDIRJAVAEXAMPLES)$/Drawing$/SDraw.java \
48 $(DESTDIRJAVAEXAMPLES)$/Drawing$/Makefile
50 SPREADSHEET_FILES= \
51 $(DESTDIRJAVAEXAMPLES)$/Spreadsheet$/SCalc.java \
52 $(DESTDIRJAVAEXAMPLES)$/Spreadsheet$/EuroAdaption.java \
53 $(DESTDIRJAVAEXAMPLES)$/Spreadsheet$/ChartTypeChange.java \
54 $(DESTDIRJAVAEXAMPLES)$/Spreadsheet$/CalcAddins.java \
55 $(DESTDIRJAVAEXAMPLES)$/Spreadsheet$/CalcAddins.ods \
56 $(DESTDIRJAVAEXAMPLES)$/Spreadsheet$/XCalcAddins.idl \
57 $(DESTDIRJAVAEXAMPLES)$/Spreadsheet$/Makefile
59 TEXT_FILES= \
60 $(DESTDIRJAVAEXAMPLES)$/Text$/SWriter.java \
61 $(DESTDIRJAVAEXAMPLES)$/Text$/StyleInitialization.java \
62 $(DESTDIRJAVAEXAMPLES)$/Text$/TextDocumentStructure.java \
63 $(DESTDIRJAVAEXAMPLES)$/Text$/TextReplace.java \
64 $(DESTDIRJAVAEXAMPLES)$/Text$/BookmarkInsertion.java \
65 $(DESTDIRJAVAEXAMPLES)$/Text$/HardFormatting.java \
66 $(DESTDIRJAVAEXAMPLES)$/Text$/StyleCreation.java \
67 $(DESTDIRJAVAEXAMPLES)$/Text$/WriterSelector.java \
68 $(DESTDIRJAVAEXAMPLES)$/Text$/GraphicsInserter.java \
69 $(DESTDIRJAVAEXAMPLES)$/Text$/oo_smiley.gif \
70 $(DESTDIRJAVAEXAMPLES)$/Text$/Makefile
72 DOCUMENTHANDLING_FILES= \
73 $(DESTDIRJAVAEXAMPLES)$/DocumentHandling$/DocumentConverter.java \
74 $(DESTDIRJAVAEXAMPLES)$/DocumentHandling$/DocumentLoader.java \
75 $(DESTDIRJAVAEXAMPLES)$/DocumentHandling$/DocumentPrinter.java \
76 $(DESTDIRJAVAEXAMPLES)$/DocumentHandling$/DocumentSaver.java \
77 $(DESTDIRJAVAEXAMPLES)$/DocumentHandling$/Makefile \
78 $(DESTDIRJAVAEXAMPLES)$/DocumentHandling$/test$/test1.odt
80 CONVERTERSERVLET_FILES= \
81 $(DESTDIRJAVAEXAMPLES)$/ConverterServlet$/ConverterServlet.html \
82 $(DESTDIRJAVAEXAMPLES)$/ConverterServlet$/ConverterServlet.java \
83 $(DESTDIRJAVAEXAMPLES)$/ConverterServlet$/web.xml \
84 $(DESTDIRJAVAEXAMPLES)$/ConverterServlet$/Makefile \
85 $(DESTDIRJAVAEXAMPLES)$/ConverterServlet$/README
87 EMBEDDEDOBJECT_FILES= \
88 $(DESTDIRJAVAEXAMPLES)$/EmbedDocument$/EmbeddedObject$/EmbeddedObject.xcu \
89 $(DESTDIRJAVAEXAMPLES)$/EmbedDocument$/EmbeddedObject$/OwnEmbeddedObject.java \
90 $(DESTDIRJAVAEXAMPLES)$/EmbedDocument$/EmbeddedObject$/EditorFrame.java \
91 $(DESTDIRJAVAEXAMPLES)$/EmbedDocument$/EmbeddedObject$/Makefile \
92 $(DESTDIRJAVAEXAMPLES)$/EmbedDocument$/EmbeddedObject$/OwnEmbeddedObjectFactory.java
94 INSPECTOR_FILES= \
95 $(DESTDIRJAVAEXAMPLES)$/Inspector$/Inspector.jpg \
96 $(DESTDIRJAVAEXAMPLES)$/Inspector$/InspectorThumbnail.jpg \
97 $(DESTDIRJAVAEXAMPLES)$/Inspector$/Inspector.uno.xml \
98 $(DESTDIRJAVAEXAMPLES)$/Inspector$/Inspector.java \
99 $(DESTDIRJAVAEXAMPLES)$/Inspector$/Makefile \
100 $(DESTDIRJAVAEXAMPLES)$/Inspector$/TestInspector.java \
101 $(DESTDIRJAVAEXAMPLES)$/Inspector$/XInstanceInspector.idl \
102 $(DESTDIRJAVAEXAMPLES)$/Inspector$/InstanceInspector.idl \
103 $(DESTDIRJAVAEXAMPLES)$/Inspector$/InstanceInspectorTest.odt
105 NOTESACCESS_FILES= \
106 $(DESTDIRJAVAEXAMPLES)$/NotesAccess$/NotesAccess.java \
107 $(DESTDIRJAVAEXAMPLES)$/NotesAccess$/Makefile \
108 $(DESTDIRJAVAEXAMPLES)$/NotesAccess$/Stocks.nsf
110 TODO_FILES= \
111 $(DESTDIRJAVAEXAMPLES)$/ToDo$/ToDo.java \
112 $(DESTDIRJAVAEXAMPLES)$/ToDo$/ToDo.ods \
113 $(DESTDIRJAVAEXAMPLES)$/ToDo$/ToDo.uno.xml \
114 $(DESTDIRJAVAEXAMPLES)$/ToDo$/ToDo.idl \
115 $(DESTDIRJAVAEXAMPLES)$/ToDo$/XToDo.idl \
116 $(DESTDIRJAVAEXAMPLES)$/ToDo$/Makefile
118 MINIMALCOMPONENT_FILES= \
119 $(DESTDIRJAVAEXAMPLES)$/MinimalComponent$/MinimalComponent.idl \
120 $(DESTDIRJAVAEXAMPLES)$/MinimalComponent$/MinimalComponent.java\
121 $(DESTDIRJAVAEXAMPLES)$/MinimalComponent$/MinimalComponent.uno.xml \
122 $(DESTDIRJAVAEXAMPLES)$/MinimalComponent$/TestMinimalComponent.java\
123 $(DESTDIRJAVAEXAMPLES)$/MinimalComponent$/Makefile
125 PROPERTYSET_FILES= \
126 $(DESTDIRJAVAEXAMPLES)$/PropertySet$/PropTest.java \
127 $(DESTDIRJAVAEXAMPLES)$/PropertySet$/PropertySet.odt \
128 $(DESTDIRJAVAEXAMPLES)$/PropertySet$/Makefile
130 DIR_FILE_LIST= \
131 $(DRAWING_FILES) \
132 $(SPREADSHEET_FILES) \
133 $(TEXT_FILES) \
134 $(DOCUMENTHANDLING_FILES) \
135 $(CONVERTERSERVLET_FILES) \
136 $(EMBEDDEDOBJECT_FILES) \
137 $(INSPECTOR_FILES) \
138 $(NOTESACCESS_FILES) \
139 $(TODO_FILES) \
140 $(MINIMALCOMPONENT_FILES) \
141 $(PROPERTYSET_FILES)
143 DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d))
144 DIR_CREATE_FLAG=$(MISC)$/ex_java_dirs_created.txt
145 DIR_FILE_FLAG=$(MISC)$/ex_java_files.txt
147 #--------------------------------------------------
148 # TARGETS
149 #--------------------------------------------------
150 all : \
151 $(DIR_FILE_LIST) \
152 $(DIR_FILE_FLAG)
154 #--------------------------------------------------
155 # use global rules
156 #--------------------------------------------------
157 .INCLUDE: $(PRJ)$/util$/odk_rules.pmk