1*b1cdbd2cSJim Jagielski#**************************************************************
2*b1cdbd2cSJim Jagielski#
3*b1cdbd2cSJim Jagielski#  Licensed to the Apache Software Foundation (ASF) under one
4*b1cdbd2cSJim Jagielski#  or more contributor license agreements.  See the NOTICE file
5*b1cdbd2cSJim Jagielski#  distributed with this work for additional information
6*b1cdbd2cSJim Jagielski#  regarding copyright ownership.  The ASF licenses this file
7*b1cdbd2cSJim Jagielski#  to you under the Apache License, Version 2.0 (the
8*b1cdbd2cSJim Jagielski#  "License"); you may not use this file except in compliance
9*b1cdbd2cSJim Jagielski#  with the License.  You may obtain a copy of the License at
10*b1cdbd2cSJim Jagielski#
11*b1cdbd2cSJim Jagielski#    http://www.apache.org/licenses/LICENSE-2.0
12*b1cdbd2cSJim Jagielski#
13*b1cdbd2cSJim Jagielski#  Unless required by applicable law or agreed to in writing,
14*b1cdbd2cSJim Jagielski#  software distributed under the License is distributed on an
15*b1cdbd2cSJim Jagielski#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*b1cdbd2cSJim Jagielski#  KIND, either express or implied.  See the License for the
17*b1cdbd2cSJim Jagielski#  specific language governing permissions and limitations
18*b1cdbd2cSJim Jagielski#  under the License.
19*b1cdbd2cSJim Jagielski#
20*b1cdbd2cSJim Jagielski#**************************************************************
21*b1cdbd2cSJim Jagielski
22*b1cdbd2cSJim Jagielski
23*b1cdbd2cSJim Jagielski
24*b1cdbd2cSJim JagielskiPRJ=..$/..$/..
25*b1cdbd2cSJim JagielskiPRJNAME=odk
26*b1cdbd2cSJim JagielskiTARGET=copying
27*b1cdbd2cSJim Jagielski
28*b1cdbd2cSJim Jagielski#----------------------------------------------------------------
29*b1cdbd2cSJim Jagielski.INCLUDE: settings.mk
30*b1cdbd2cSJim Jagielski.INCLUDE: $(PRJ)$/util$/makefile.pmk
31*b1cdbd2cSJim Jagielski#----------------------------------------------------------------
32*b1cdbd2cSJim Jagielski
33*b1cdbd2cSJim Jagielski#----------------------------------------------------
34*b1cdbd2cSJim Jagielski# this makefile is only used for copying the example
35*b1cdbd2cSJim Jagielski# files into the SDK
36*b1cdbd2cSJim Jagielski#----------------------------------------------------
37*b1cdbd2cSJim Jagielski
38*b1cdbd2cSJim JagielskiDESTJOBSADDON=$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/Addons$/JobsAddon
39*b1cdbd2cSJim JagielskiJOBSADDON_FILES=\
40*b1cdbd2cSJim Jagielski	$(DESTJOBSADDON)$/Addons.xcu \
41*b1cdbd2cSJim Jagielski	$(DESTJOBSADDON)$/AsyncJob.java \
42*b1cdbd2cSJim Jagielski	$(DESTJOBSADDON)$/Jobs.xcu \
43*b1cdbd2cSJim Jagielski	$(DESTJOBSADDON)$/Makefile
44*b1cdbd2cSJim Jagielski
45*b1cdbd2cSJim JagielskiDESTPROTOCOLHANDLERADDONCPP=$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/Addons$/ProtocolHandlerAddon_cpp
46*b1cdbd2cSJim JagielskiPROTOCOLHANLDERADDONCPP_FILES=\
47*b1cdbd2cSJim Jagielski	$(DESTPROTOCOLHANDLERADDONCPP)$/addon.cxx \
48*b1cdbd2cSJim Jagielski	$(DESTPROTOCOLHANDLERADDONCPP)$/addon.hxx \
49*b1cdbd2cSJim Jagielski	$(DESTPROTOCOLHANDLERADDONCPP)$/Addons.xcu \
50*b1cdbd2cSJim Jagielski	$(DESTPROTOCOLHANDLERADDONCPP)$/component.cxx \
51*b1cdbd2cSJim Jagielski	$(DESTPROTOCOLHANDLERADDONCPP)$/Makefile \
52*b1cdbd2cSJim Jagielski	$(DESTPROTOCOLHANDLERADDONCPP)$/ProtocolHandler.xcu \
53*b1cdbd2cSJim Jagielski	$(DESTPROTOCOLHANDLERADDONCPP)$/ProtocolHandlerAddon_cpp.uno.xml
54*b1cdbd2cSJim Jagielski
55*b1cdbd2cSJim JagielskiDESTPROTOCOLHANDLERADDONJAVA=$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/Addons$/ProtocolHandlerAddon_java
56*b1cdbd2cSJim JagielskiPROTOCOLHANLDERADDONJAVA_FILES=\
57*b1cdbd2cSJim Jagielski	$(DESTPROTOCOLHANDLERADDONJAVA)$/Addons.xcu \
58*b1cdbd2cSJim Jagielski	$(DESTPROTOCOLHANDLERADDONJAVA)$/Makefile \
59*b1cdbd2cSJim Jagielski	$(DESTPROTOCOLHANDLERADDONJAVA)$/ProtocolHandler.xcu \
60*b1cdbd2cSJim Jagielski	$(DESTPROTOCOLHANDLERADDONJAVA)$/ProtocolHandlerAddon.java \
61*b1cdbd2cSJim Jagielski	$(DESTPROTOCOLHANDLERADDONJAVA)$/ProtocolHandlerAddon_java.uno.xml
62*b1cdbd2cSJim Jagielski
63*b1cdbd2cSJim JagielskiCPPCOMPONENT_FILES=\
64*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/CppComponent.uno.xml \
65*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/Makefile \
66*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/service1_impl.cxx \
67*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/service2_impl.cxx \
68*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/TestCppComponent.cxx \
69*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/SimpleComponent.odt \
70*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/some.idl
71*b1cdbd2cSJim Jagielski
72*b1cdbd2cSJim JagielskiJAVACOMPONENT_FILES=\
73*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/Makefile \
74*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/TestComponentA.java \
75*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/TestComponentB.java \
76*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/TestServiceProvider.java \
77*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/TestJavaComponent.java \
78*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/XSomethingA.idl \
79*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/XSomethingB.idl \
80*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/SomethingA.idl \
81*b1cdbd2cSJim Jagielski	$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/SomethingB.idl
82*b1cdbd2cSJim Jagielski
83*b1cdbd2cSJim JagielskiDESTTHUMBS=$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/Thumbs
84*b1cdbd2cSJim JagielskiTHUMBS_FILES=\
85*b1cdbd2cSJim Jagielski	$(DESTTHUMBS)$/org$/openoffice$/comp$/test$/ImageShrink.java \
86*b1cdbd2cSJim Jagielski	$(DESTTHUMBS)$/org$/openoffice$/comp$/test$/Thumbs.java \
87*b1cdbd2cSJim Jagielski	$(DESTTHUMBS)$/org$/openoffice$/comp$/test$/Makefile \
88*b1cdbd2cSJim Jagielski	$(DESTTHUMBS)$/org$/openoffice$/test$/ImageShrink.idl \
89*b1cdbd2cSJim Jagielski	$(DESTTHUMBS)$/org$/openoffice$/test$/XImageShrink.idl \
90*b1cdbd2cSJim Jagielski	$(DESTTHUMBS)$/org$/openoffice$/test$/XImageShrinkFilter.idl \
91*b1cdbd2cSJim Jagielski	$(DESTTHUMBS)$/org$/openoffice$/test$/Makefile \
92*b1cdbd2cSJim Jagielski	$(DESTTHUMBS)$/thumbs.mk \
93*b1cdbd2cSJim Jagielski	$(DESTTHUMBS)$/Makefile
94*b1cdbd2cSJim Jagielski
95*b1cdbd2cSJim Jagielski
96*b1cdbd2cSJim JagielskiDIR_FILE_LIST= \
97*b1cdbd2cSJim Jagielski	$(JOBSADDON_FILES) \
98*b1cdbd2cSJim Jagielski	$(PROTOCOLHANLDERADDONCPP_FILES) \
99*b1cdbd2cSJim Jagielski	$(PROTOCOLHANLDERADDONJAVA_FILES) \
100*b1cdbd2cSJim Jagielski	$(CPPCOMPONENT_FILES) \
101*b1cdbd2cSJim Jagielski	$(JAVACOMPONENT_FILES) \
102*b1cdbd2cSJim Jagielski	$(THUMBS_FILES)
103*b1cdbd2cSJim Jagielski
104*b1cdbd2cSJim JagielskiDIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d))
105*b1cdbd2cSJim JagielskiDIR_CREATE_FLAG=$(MISC)$/devguide_components_dirs_created.txt
106*b1cdbd2cSJim JagielskiDIR_FILE_FLAG=$(MISC)$/devguide_components.txt
107*b1cdbd2cSJim Jagielski
108*b1cdbd2cSJim Jagielski#--------------------------------------------------
109*b1cdbd2cSJim Jagielski# TARGETS
110*b1cdbd2cSJim Jagielski#--------------------------------------------------
111*b1cdbd2cSJim Jagielskiall : \
112*b1cdbd2cSJim Jagielski	$(DIR_FILE_LIST) \
113*b1cdbd2cSJim Jagielski	$(DIR_FILE_FLAG)
114*b1cdbd2cSJim Jagielski
115*b1cdbd2cSJim Jagielski#--------------------------------------------------
116*b1cdbd2cSJim Jagielski# use global rules
117*b1cdbd2cSJim Jagielski#--------------------------------------------------
118*b1cdbd2cSJim Jagielski.INCLUDE: $(PRJ)$/util$/odk_rules.pmk
119*b1cdbd2cSJim Jagielski
120