Update ooo320-m1
[ooovba.git] / odk / examples / DevelopersGuide / Components / makefile.mk
blob2e1927f56af3fced78d40c37cb59ce2d7ab5181c
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.6 $
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 DESTJOBSADDON=$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/Addons$/JobsAddon
47 JOBSADDON_FILES=\
48 $(DESTJOBSADDON)$/Addons.xcu \
49 $(DESTJOBSADDON)$/AsyncJob.java \
50 $(DESTJOBSADDON)$/Jobs.xcu \
51 $(DESTJOBSADDON)$/Makefile
53 DESTPROTOCOLHANDLERADDONCPP=$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/Addons$/ProtocolHandlerAddon_cpp
54 PROTOCOLHANLDERADDONCPP_FILES=\
55 $(DESTPROTOCOLHANDLERADDONCPP)$/addon.cxx \
56 $(DESTPROTOCOLHANDLERADDONCPP)$/addon.hxx \
57 $(DESTPROTOCOLHANDLERADDONCPP)$/Addons.xcu \
58 $(DESTPROTOCOLHANDLERADDONCPP)$/component.cxx \
59 $(DESTPROTOCOLHANDLERADDONCPP)$/Makefile \
60 $(DESTPROTOCOLHANDLERADDONCPP)$/ProtocolHandler.xcu \
61 $(DESTPROTOCOLHANDLERADDONCPP)$/ProtocolHandlerAddon_cpp.uno.xml
63 DESTPROTOCOLHANDLERADDONJAVA=$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/Addons$/ProtocolHandlerAddon_java
64 PROTOCOLHANLDERADDONJAVA_FILES=\
65 $(DESTPROTOCOLHANDLERADDONJAVA)$/Addons.xcu \
66 $(DESTPROTOCOLHANDLERADDONJAVA)$/Makefile \
67 $(DESTPROTOCOLHANDLERADDONJAVA)$/ProtocolHandler.xcu \
68 $(DESTPROTOCOLHANDLERADDONJAVA)$/ProtocolHandlerAddon.java \
69 $(DESTPROTOCOLHANDLERADDONJAVA)$/ProtocolHandlerAddon_java.uno.xml
71 CPPCOMPONENT_FILES=\
72 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/CppComponent.uno.xml \
73 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/Makefile \
74 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/service1_impl.cxx \
75 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/service2_impl.cxx \
76 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/TestCppComponent.cxx \
77 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/SimpleComponent.odt \
78 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/CppComponent$/some.idl
80 JAVACOMPONENT_FILES=\
81 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/Makefile \
82 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/TestComponentA.java \
83 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/TestComponentB.java \
84 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/TestServiceProvider.java \
85 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/TestJavaComponent.java \
86 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/XSomethingA.idl \
87 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/XSomethingB.idl \
88 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/SomethingA.idl \
89 $(DESTDIRDEVGUIDEEXAMPLES)$/Components$/JavaComponent$/SomethingB.idl
91 DESTTHUMBS=$(DESTDIRDEVGUIDEEXAMPLES)$/Components$/Thumbs
92 THUMBS_FILES=\
93 $(DESTTHUMBS)$/org$/openoffice$/comp$/test$/ImageShrink.java \
94 $(DESTTHUMBS)$/org$/openoffice$/comp$/test$/Thumbs.java \
95 $(DESTTHUMBS)$/org$/openoffice$/comp$/test$/Makefile \
96 $(DESTTHUMBS)$/org$/openoffice$/test$/ImageShrink.idl \
97 $(DESTTHUMBS)$/org$/openoffice$/test$/XImageShrink.idl \
98 $(DESTTHUMBS)$/org$/openoffice$/test$/XImageShrinkFilter.idl \
99 $(DESTTHUMBS)$/org$/openoffice$/test$/Makefile \
100 $(DESTTHUMBS)$/thumbs.mk \
101 $(DESTTHUMBS)$/Makefile
104 DIR_FILE_LIST= \
105 $(JOBSADDON_FILES) \
106 $(PROTOCOLHANLDERADDONCPP_FILES) \
107 $(PROTOCOLHANLDERADDONJAVA_FILES) \
108 $(CPPCOMPONENT_FILES) \
109 $(JAVACOMPONENT_FILES) \
110 $(THUMBS_FILES)
112 DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d))
113 DIR_CREATE_FLAG=$(MISC)$/devguide_components_dirs_created.txt
114 DIR_FILE_FLAG=$(MISC)$/devguide_components.txt
116 #--------------------------------------------------
117 # TARGETS
118 #--------------------------------------------------
119 all : \
120 $(DIR_FILE_LIST) \
121 $(DIR_FILE_FLAG)
123 #--------------------------------------------------
124 # use global rules
125 #--------------------------------------------------
126 .INCLUDE: $(PRJ)$/util$/odk_rules.pmk