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