1#************************************************************************* 2# 3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4# 5# Copyright 2000, 2010 Oracle and/or its affiliates. 6# 7# OpenOffice.org - a multi-platform office productivity suite 8# 9# This file is part of OpenOffice.org. 10# 11# OpenOffice.org is free software: you can redistribute it and/or modify 12# it under the terms of the GNU Lesser General Public License version 3 13# only, as published by the Free Software Foundation. 14# 15# OpenOffice.org is distributed in the hope that it will be useful, 16# but WITHOUT ANY WARRANTY; without even the implied warranty of 17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18# GNU Lesser General Public License version 3 for more details 19# (a copy is included in the LICENSE file that accompanied this code). 20# 21# You should have received a copy of the GNU Lesser General Public License 22# version 3 along with OpenOffice.org. If not, see 23# <http://www.openoffice.org/license.html> 24# for a copy of the LGPLv3 License. 25# 26#************************************************************************* 27 28PRJ=..$/.. 29PRJNAME=odk 30TARGET=copying 31 32#---------------------------------------------------------------- 33.INCLUDE: settings.mk 34.INCLUDE: $(PRJ)$/util$/makefile.pmk 35#---------------------------------------------------------------- 36 37#---------------------------------------------------- 38# this makefile is only used for copying the example 39# files into the SDK 40#---------------------------------------------------- 41 42DRAWING_FILES= \ 43 $(DESTDIRJAVAEXAMPLES)$/Drawing$/SDraw.java \ 44 $(DESTDIRJAVAEXAMPLES)$/Drawing$/Makefile 45 46SPREADSHEET_FILES= \ 47 $(DESTDIRJAVAEXAMPLES)$/Spreadsheet$/SCalc.java \ 48 $(DESTDIRJAVAEXAMPLES)$/Spreadsheet$/EuroAdaption.java \ 49 $(DESTDIRJAVAEXAMPLES)$/Spreadsheet$/ChartTypeChange.java \ 50 $(DESTDIRJAVAEXAMPLES)$/Spreadsheet$/CalcAddins.java \ 51 $(DESTDIRJAVAEXAMPLES)$/Spreadsheet$/CalcAddins.ods \ 52 $(DESTDIRJAVAEXAMPLES)$/Spreadsheet$/XCalcAddins.idl \ 53 $(DESTDIRJAVAEXAMPLES)$/Spreadsheet$/Makefile 54 55TEXT_FILES= \ 56 $(DESTDIRJAVAEXAMPLES)$/Text$/SWriter.java \ 57 $(DESTDIRJAVAEXAMPLES)$/Text$/StyleInitialization.java \ 58 $(DESTDIRJAVAEXAMPLES)$/Text$/TextDocumentStructure.java \ 59 $(DESTDIRJAVAEXAMPLES)$/Text$/TextReplace.java \ 60 $(DESTDIRJAVAEXAMPLES)$/Text$/BookmarkInsertion.java \ 61 $(DESTDIRJAVAEXAMPLES)$/Text$/HardFormatting.java \ 62 $(DESTDIRJAVAEXAMPLES)$/Text$/StyleCreation.java \ 63 $(DESTDIRJAVAEXAMPLES)$/Text$/WriterSelector.java \ 64 $(DESTDIRJAVAEXAMPLES)$/Text$/GraphicsInserter.java \ 65 $(DESTDIRJAVAEXAMPLES)$/Text$/oo_smiley.gif \ 66 $(DESTDIRJAVAEXAMPLES)$/Text$/Makefile 67 68DOCUMENTHANDLING_FILES= \ 69 $(DESTDIRJAVAEXAMPLES)$/DocumentHandling$/DocumentConverter.java \ 70 $(DESTDIRJAVAEXAMPLES)$/DocumentHandling$/DocumentLoader.java \ 71 $(DESTDIRJAVAEXAMPLES)$/DocumentHandling$/DocumentPrinter.java \ 72 $(DESTDIRJAVAEXAMPLES)$/DocumentHandling$/DocumentSaver.java \ 73 $(DESTDIRJAVAEXAMPLES)$/DocumentHandling$/Makefile \ 74 $(DESTDIRJAVAEXAMPLES)$/DocumentHandling$/test$/test1.odt 75 76CONVERTERSERVLET_FILES= \ 77 $(DESTDIRJAVAEXAMPLES)$/ConverterServlet$/ConverterServlet.html \ 78 $(DESTDIRJAVAEXAMPLES)$/ConverterServlet$/ConverterServlet.java \ 79 $(DESTDIRJAVAEXAMPLES)$/ConverterServlet$/web.xml \ 80 $(DESTDIRJAVAEXAMPLES)$/ConverterServlet$/Makefile \ 81 $(DESTDIRJAVAEXAMPLES)$/ConverterServlet$/README 82 83EMBEDDEDOBJECT_FILES= \ 84 $(DESTDIRJAVAEXAMPLES)$/EmbedDocument$/EmbeddedObject$/EmbeddedObject.xcu \ 85 $(DESTDIRJAVAEXAMPLES)$/EmbedDocument$/EmbeddedObject$/OwnEmbeddedObject.java \ 86 $(DESTDIRJAVAEXAMPLES)$/EmbedDocument$/EmbeddedObject$/EditorFrame.java \ 87 $(DESTDIRJAVAEXAMPLES)$/EmbedDocument$/EmbeddedObject$/Makefile \ 88 $(DESTDIRJAVAEXAMPLES)$/EmbedDocument$/EmbeddedObject$/OwnEmbeddedObjectFactory.java 89 90INSPECTOR_FILES= \ 91 $(DESTDIRJAVAEXAMPLES)$/Inspector$/Inspector.jpg \ 92 $(DESTDIRJAVAEXAMPLES)$/Inspector$/InspectorThumbnail.jpg \ 93 $(DESTDIRJAVAEXAMPLES)$/Inspector$/Inspector.uno.xml \ 94 $(DESTDIRJAVAEXAMPLES)$/Inspector$/Inspector.java \ 95 $(DESTDIRJAVAEXAMPLES)$/Inspector$/Makefile \ 96 $(DESTDIRJAVAEXAMPLES)$/Inspector$/TestInspector.java \ 97 $(DESTDIRJAVAEXAMPLES)$/Inspector$/XInstanceInspector.idl \ 98 $(DESTDIRJAVAEXAMPLES)$/Inspector$/InstanceInspector.idl \ 99 $(DESTDIRJAVAEXAMPLES)$/Inspector$/InstanceInspectorTest.odt 100 101NOTESACCESS_FILES= \ 102 $(DESTDIRJAVAEXAMPLES)$/NotesAccess$/NotesAccess.java \ 103 $(DESTDIRJAVAEXAMPLES)$/NotesAccess$/Makefile \ 104 $(DESTDIRJAVAEXAMPLES)$/NotesAccess$/Stocks.nsf 105 106TODO_FILES= \ 107 $(DESTDIRJAVAEXAMPLES)$/ToDo$/ToDo.java \ 108 $(DESTDIRJAVAEXAMPLES)$/ToDo$/ToDo.ods \ 109 $(DESTDIRJAVAEXAMPLES)$/ToDo$/ToDo.uno.xml \ 110 $(DESTDIRJAVAEXAMPLES)$/ToDo$/ToDo.idl \ 111 $(DESTDIRJAVAEXAMPLES)$/ToDo$/XToDo.idl \ 112 $(DESTDIRJAVAEXAMPLES)$/ToDo$/Makefile 113 114MINIMALCOMPONENT_FILES= \ 115 $(DESTDIRJAVAEXAMPLES)$/MinimalComponent$/MinimalComponent.idl \ 116 $(DESTDIRJAVAEXAMPLES)$/MinimalComponent$/MinimalComponent.java\ 117 $(DESTDIRJAVAEXAMPLES)$/MinimalComponent$/MinimalComponent.uno.xml \ 118 $(DESTDIRJAVAEXAMPLES)$/MinimalComponent$/TestMinimalComponent.java\ 119 $(DESTDIRJAVAEXAMPLES)$/MinimalComponent$/Makefile 120 121PROPERTYSET_FILES= \ 122 $(DESTDIRJAVAEXAMPLES)$/PropertySet$/PropTest.java \ 123 $(DESTDIRJAVAEXAMPLES)$/PropertySet$/PropertySet.odt \ 124 $(DESTDIRJAVAEXAMPLES)$/PropertySet$/Makefile 125 126DIR_FILE_LIST= \ 127 $(DRAWING_FILES) \ 128 $(SPREADSHEET_FILES) \ 129 $(TEXT_FILES) \ 130 $(DOCUMENTHANDLING_FILES) \ 131 $(CONVERTERSERVLET_FILES) \ 132 $(EMBEDDEDOBJECT_FILES) \ 133 $(INSPECTOR_FILES) \ 134 $(NOTESACCESS_FILES) \ 135 $(TODO_FILES) \ 136 $(MINIMALCOMPONENT_FILES) \ 137 $(PROPERTYSET_FILES) 138 139DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d)) 140DIR_CREATE_FLAG=$(MISC)$/ex_java_dirs_created.txt 141DIR_FILE_FLAG=$(MISC)$/ex_java_files.txt 142 143#-------------------------------------------------- 144# TARGETS 145#-------------------------------------------------- 146all : \ 147 $(DIR_FILE_LIST) \ 148 $(DIR_FILE_FLAG) 149 150#-------------------------------------------------- 151# use global rules 152#-------------------------------------------------- 153.INCLUDE: $(PRJ)$/util$/odk_rules.pmk 154 155 156