1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 # Copyright 2008 by Sun Microsystems, Inc.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # $RCSfile: makefile.mk,v $
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 #*************************************************************************
36 #----------------------------------------------------------------
38 .INCLUDE
: $(PRJ
)$/util
$/makefile.pmk
39 #----------------------------------------------------------------
41 #----------------------------------------------------
42 # this makefile is only used for copying the example
44 #----------------------------------------------------
48 $(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/ContextMenuInterceptor.java \
49 $(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/Makefile \
50 $(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/MenuElement.java \
51 $(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/Number_Formats.java \
52 $(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/OfficeConnect.java
54 DESTCLIPBOARD
=$(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/Clipboard
56 $(DESTCLIPBOARD
)$/Clipboard.java \
57 $(DESTCLIPBOARD
)$/ClipboardListener.java \
58 $(DESTCLIPBOARD
)$/ClipboardOwner.java \
59 $(DESTCLIPBOARD
)$/Makefile \
60 $(DESTCLIPBOARD
)$/TextTransferable.java
62 DESTDESKTOPENV
=$(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/DesktopEnvironment
64 $(DESTDESKTOPENV
)$/nativelib
$/unix
$/exports.dxp \
65 $(DESTDESKTOPENV
)$/nativelib
$/unix
$/Makefile \
66 $(DESTDESKTOPENV
)$/nativelib
$/unix
$/nativeview.c \
67 $(DESTDESKTOPENV
)$/nativelib
$/unix
$/nativeview.h \
68 $(DESTDESKTOPENV
)$/nativelib
$/windows
$/exports.dxp \
69 $(DESTDESKTOPENV
)$/nativelib
$/windows
$/Makefile \
70 $(DESTDESKTOPENV
)$/nativelib
$/windows
$/nativeview.c \
71 $(DESTDESKTOPENV
)$/nativelib
$/windows
$/nativeview.h \
72 $(DESTDESKTOPENV
)$/CustomizeView.java \
73 $(DESTDESKTOPENV
)$/Desk.java \
74 $(DESTDESKTOPENV
)$/DocumentView.java \
75 $(DESTDESKTOPENV
)$/FunctionHelper.java \
76 $(DESTDESKTOPENV
)$/Install.txt \
77 $(DESTDESKTOPENV
)$/Interceptor.java \
78 $(DESTDESKTOPENV
)$/IOnewayLink.java \
79 $(DESTDESKTOPENV
)$/IShutdownListener.java \
80 $(DESTDESKTOPENV
)$/JavaWindowPeerFake.java \
81 $(DESTDESKTOPENV
)$/Makefile \
82 $(DESTDESKTOPENV
)$/NativeView.java \
83 $(DESTDESKTOPENV
)$/OfficeConnect.java \
84 $(DESTDESKTOPENV
)$/OnewayExecutor.java \
85 $(DESTDESKTOPENV
)$/StatusListener.java \
86 $(DESTDESKTOPENV
)$/StatusView.java \
87 $(DESTDESKTOPENV
)$/ViewContainer.java
89 DESTASCIIFILTER
=$(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/FilterDevelopment
$/AsciiFilter
91 $(DESTASCIIFILTER
)$/AsciiReplaceFilter.java \
92 $(DESTASCIIFILTER
)$/FilterOptions.java \
93 $(DESTASCIIFILTER
)$/Makefile \
94 $(DESTASCIIFILTER
)$/TypeDetection.xcu
96 DESTFILTERDETECTION
=$(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/FilterDevelopment
$/FlatXmlFilterDetection
97 FILTERDETECTION_FILES
=\
98 $(DESTFILTERDETECTION
)$/fdcomp.
cxx \
99 $(DESTFILTERDETECTION
)$/filterdetect.
cxx \
100 $(DESTFILTERDETECTION
)$/filterdetect.hxx \
101 $(DESTFILTERDETECTION
)$/FlatXmlTypeDetection.uno.xml \
102 $(DESTFILTERDETECTION
)$/FlatXmlTypeDetection.xcu \
103 $(DESTFILTERDETECTION
)$/Makefile
105 DESTFLATXMLCPP
=$(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/FilterDevelopment
$/FlatXmlFilter_cpp
107 $(DESTFLATXMLCPP
)$/FlatXml.
cxx \
108 $(DESTFLATXMLCPP
)$/FlatXmlFilter_cpp.uno.xml \
109 $(DESTFLATXMLCPP
)$/Makefile \
110 $(DESTFLATXMLCPP
)$/FlatXmlFilter_cpp.xcu
112 DESTFLATXMLJAVA
=$(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/FilterDevelopment
$/FlatXmlFilter_java
114 $(DESTFLATXMLJAVA
)$/Makefile \
115 $(DESTFLATXMLJAVA
)$/FlatXmlFilter_java.xcu \
116 $(DESTFLATXMLJAVA
)$/FlatXml.java
118 DESTLINGUISTIC
=$(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/Linguistic
120 $(DESTLINGUISTIC
)$/LinguisticExamples.java \
121 $(DESTLINGUISTIC
)$/Makefile \
122 $(DESTLINGUISTIC
)$/OneInstanceFactory.java \
123 $(DESTLINGUISTIC
)$/PropChgHelper.java \
124 $(DESTLINGUISTIC
)$/PropChgHelper_Hyph.java \
125 $(DESTLINGUISTIC
)$/PropChgHelper_Spell.java \
126 $(DESTLINGUISTIC
)$/SampleHyphenator.java \
127 $(DESTLINGUISTIC
)$/SampleSpellChecker.java \
128 $(DESTLINGUISTIC
)$/SampleThesaurus.java \
129 $(DESTLINGUISTIC
)$/XHyphenatedWord_impl.java \
130 $(DESTLINGUISTIC
)$/XMeaning_impl.java \
131 $(DESTLINGUISTIC
)$/XPossibleHyphens_impl.java \
132 $(DESTLINGUISTIC
)$/XSpellAlternatives_impl.java
134 DESTPATHSETTINGS
=$(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/PathSettings
136 $(DESTPATHSETTINGS
)$/Makefile \
137 $(DESTPATHSETTINGS
)$/PathSettingsTest.java
139 DESTPATHSUBSTITUTION
=$(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/PathSubstitution
140 PATHSUBSTITUTION_FILES
=\
141 $(DESTPATHSUBSTITUTION
)$/Makefile \
142 $(DESTPATHSUBSTITUTION
)$/PathSubstitutionTest.java
144 DESTTERMINATIONTEST
=$(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/TerminationTest
146 $(DESTTERMINATIONTEST
)$/Makefile \
147 $(DESTTERMINATIONTEST
)$/TerminateListener.java \
148 $(DESTTERMINATIONTEST
)$/TerminationTest.java
150 DESTDISABLECOMMANDS
=$(DESTDIRDEVGUIDEEXAMPLES
)$/OfficeDev
$/DisableCommands
151 DISABLECOMMANDS_FILES
=\
152 $(DESTDISABLECOMMANDS
)$/Makefile \
153 $(DESTDISABLECOMMANDS
)$/DisableCommandsTest.java
158 $(DESKTOPENV_FILES
) \
159 $(ASCIIFILTER_FILES
) \
160 $(FILTERDETECTION_FILES
) \
161 $(FLATXMLCPP_FILES
) \
162 $(FLATXMLJAVA_FILES
) \
163 $(LINGUISTIC_FILES
) \
164 $(PATHSETTINGS_FILES
) \
165 $(PATHSUBSTITUTION_FILES
) \
166 $(TERMINATION_FILES
) \
167 $(DISABLECOMMANDS_FILES
)
169 DIR_DIRECTORY_LIST
=$(uniq
$(DIR_FILE_LIST
:d
))
170 DIR_CREATE_FLAG
=$(MISC
)$/devguide_officedev_dirs_created.txt
171 DIR_FILE_FLAG
=$(MISC
)$/devguide_officedev.txt
173 #--------------------------------------------------
175 #--------------------------------------------------
180 #--------------------------------------------------
182 #--------------------------------------------------
183 .INCLUDE
: $(PRJ
)$/util
$/odk_rules.pmk