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*cdf0e10cSrcweirDESTJOBSADDON=$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/Addons$/JobsAddon
43*cdf0e10cSrcweirJOBSADDON_FILES=\
44*cdf0e10cSrcweir	$(DESTJOBSADDON)$/Addons.xcu \
45*cdf0e10cSrcweir	$(DESTJOBSADDON)$/AsyncJob.java \
46*cdf0e10cSrcweir	$(DESTJOBSADDON)$/Jobs.xcu \
47*cdf0e10cSrcweir	$(DESTJOBSADDON)$/Makefile
48*cdf0e10cSrcweir
49*cdf0e10cSrcweirDESTPROTOCOLHANDLERADDONCPP=$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/Addons$/ProtocolHandlerAddon_cpp
50*cdf0e10cSrcweirPROTOCOLHANLDERADDONCPP_FILES=\
51*cdf0e10cSrcweir	$(DESTPROTOCOLHANDLERADDONCPP)$/addon.cxx \
52*cdf0e10cSrcweir	$(DESTPROTOCOLHANDLERADDONCPP)$/addon.hxx \
53*cdf0e10cSrcweir	$(DESTPROTOCOLHANDLERADDONCPP)$/Addons.xcu \
54*cdf0e10cSrcweir	$(DESTPROTOCOLHANDLERADDONCPP)$/component.cxx \
55*cdf0e10cSrcweir	$(DESTPROTOCOLHANDLERADDONCPP)$/Makefile \
56*cdf0e10cSrcweir	$(DESTPROTOCOLHANDLERADDONCPP)$/ProtocolHandler.xcu \
57*cdf0e10cSrcweir	$(DESTPROTOCOLHANDLERADDONCPP)$/ProtocolHandlerAddon_cpp.uno.xml
58*cdf0e10cSrcweir
59*cdf0e10cSrcweirDESTPROTOCOLHANDLERADDONJAVA=$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/Addons$/ProtocolHandlerAddon_java
60*cdf0e10cSrcweirPROTOCOLHANLDERADDONJAVA_FILES=\
61*cdf0e10cSrcweir	$(DESTPROTOCOLHANDLERADDONJAVA)$/Addons.xcu \
62*cdf0e10cSrcweir	$(DESTPROTOCOLHANDLERADDONJAVA)$/Makefile \
63*cdf0e10cSrcweir	$(DESTPROTOCOLHANDLERADDONJAVA)$/ProtocolHandler.xcu \
64*cdf0e10cSrcweir	$(DESTPROTOCOLHANDLERADDONJAVA)$/ProtocolHandlerAddon.java \
65*cdf0e10cSrcweir	$(DESTPROTOCOLHANDLERADDONJAVA)$/ProtocolHandlerAddon_java.uno.xml
66*cdf0e10cSrcweir
67*cdf0e10cSrcweirCPPCOMPONENT_FILES=\
68*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/CppComponent.uno.xml \
69*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/Makefile \
70*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/service1_impl.cxx \
71*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/service2_impl.cxx \
72*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/TestCppComponent.cxx \
73*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/SimpleComponent.odt \
74*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/some.idl
75*cdf0e10cSrcweir
76*cdf0e10cSrcweirJAVACOMPONENT_FILES=\
77*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/Makefile \
78*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/TestComponentA.java \
79*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/TestComponentB.java \
80*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/TestServiceProvider.java \
81*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/TestJavaComponent.java \
82*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/XSomethingA.idl \
83*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/XSomethingB.idl \
84*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/SomethingA.idl \
85*cdf0e10cSrcweir	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/SomethingB.idl
86*cdf0e10cSrcweir
87*cdf0e10cSrcweirDESTTHUMBS=$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/Thumbs
88*cdf0e10cSrcweirTHUMBS_FILES=\
89*cdf0e10cSrcweir	$(DESTTHUMBS)$/org$/openoffice$/comp$/test$/ImageShrink.java \
90*cdf0e10cSrcweir	$(DESTTHUMBS)$/org$/openoffice$/comp$/test$/Thumbs.java \
91*cdf0e10cSrcweir	$(DESTTHUMBS)$/org$/openoffice$/comp$/test$/Makefile \
92*cdf0e10cSrcweir	$(DESTTHUMBS)$/org$/openoffice$/test$/ImageShrink.idl \
93*cdf0e10cSrcweir	$(DESTTHUMBS)$/org$/openoffice$/test$/XImageShrink.idl \
94*cdf0e10cSrcweir	$(DESTTHUMBS)$/org$/openoffice$/test$/XImageShrinkFilter.idl \
95*cdf0e10cSrcweir	$(DESTTHUMBS)$/org$/openoffice$/test$/Makefile \
96*cdf0e10cSrcweir	$(DESTTHUMBS)$/thumbs.mk \
97*cdf0e10cSrcweir	$(DESTTHUMBS)$/Makefile
98*cdf0e10cSrcweir
99*cdf0e10cSrcweir
100*cdf0e10cSrcweirDIR_FILE_LIST= \
101*cdf0e10cSrcweir	$(JOBSADDON_FILES) \
102*cdf0e10cSrcweir	$(PROTOCOLHANLDERADDONCPP_FILES) \
103*cdf0e10cSrcweir	$(PROTOCOLHANLDERADDONJAVA_FILES) \
104*cdf0e10cSrcweir	$(CPPCOMPONENT_FILES) \
105*cdf0e10cSrcweir	$(JAVACOMPONENT_FILES) \
106*cdf0e10cSrcweir	$(THUMBS_FILES)
107*cdf0e10cSrcweir
108*cdf0e10cSrcweirDIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d))
109*cdf0e10cSrcweirDIR_CREATE_FLAG=$(MISC)$/devguide_components_dirs_created.txt
110*cdf0e10cSrcweirDIR_FILE_FLAG=$(MISC)$/devguide_components.txt
111*cdf0e10cSrcweir
112*cdf0e10cSrcweir#--------------------------------------------------
113*cdf0e10cSrcweir# TARGETS
114*cdf0e10cSrcweir#--------------------------------------------------
115*cdf0e10cSrcweirall : \
116*cdf0e10cSrcweir	$(DIR_FILE_LIST) \
117*cdf0e10cSrcweir	$(DIR_FILE_FLAG)
118*cdf0e10cSrcweir
119*cdf0e10cSrcweir#--------------------------------------------------
120*cdf0e10cSrcweir# use global rules
121*cdf0e10cSrcweir#--------------------------------------------------
122*cdf0e10cSrcweir.INCLUDE: $(PRJ)$/util$/odk_rules.pmk
123*cdf0e10cSrcweir
124