2003-06-10 04:28:51 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-04-10 10:45:30 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
|
|
|
# Copyright 2008 by Sun Microsystems, Inc.
|
2003-06-10 04:28:51 -05:00
|
|
|
#
|
2008-04-10 10:45:30 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2003-06-10 04:28:51 -05:00
|
|
|
#
|
2008-04-10 10:45:30 -05:00
|
|
|
# $RCSfile: makefile.mk,v $
|
2003-06-10 04:28:51 -05:00
|
|
|
#
|
2008-04-10 10:45:30 -05:00
|
|
|
# $Revision: 1.6 $
|
2003-06-10 04:28:51 -05:00
|
|
|
#
|
2008-04-10 10:45:30 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2003-06-10 04:28:51 -05:00
|
|
|
#
|
2008-04-10 10:45:30 -05:00
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
2003-06-10 04:28:51 -05:00
|
|
|
#
|
2008-04-10 10:45:30 -05:00
|
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
2003-06-10 04:28:51 -05:00
|
|
|
#
|
2008-04-10 10:45:30 -05:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
2003-06-10 04:28:51 -05:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
PRJ=..$/..$/..
|
|
|
|
PRJNAME=odk
|
|
|
|
TARGET=copying
|
|
|
|
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
.INCLUDE: settings.mk
|
|
|
|
.INCLUDE: $(PRJ)$/util$/makefile.pmk
|
|
|
|
#----------------------------------------------------------------
|
|
|
|
|
|
|
|
#----------------------------------------------------
|
|
|
|
# this makefile is only used for copying the example
|
|
|
|
# files into the SDK
|
|
|
|
#----------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
OFFICEDEV_FILES=\
|
|
|
|
$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/ContextMenuInterceptor.java \
|
|
|
|
$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/Makefile \
|
|
|
|
$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/MenuElement.java \
|
|
|
|
$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/Number_Formats.java \
|
|
|
|
$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/OfficeConnect.java
|
|
|
|
|
|
|
|
DESTCLIPBOARD=$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/Clipboard
|
|
|
|
CLIPBOARD_FILES=\
|
|
|
|
$(DESTCLIPBOARD)$/Clipboard.java \
|
|
|
|
$(DESTCLIPBOARD)$/ClipboardListener.java \
|
|
|
|
$(DESTCLIPBOARD)$/ClipboardOwner.java \
|
|
|
|
$(DESTCLIPBOARD)$/Makefile \
|
|
|
|
$(DESTCLIPBOARD)$/TextTransferable.java
|
|
|
|
|
|
|
|
DESTDESKTOPENV=$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/DesktopEnvironment
|
|
|
|
DESKTOPENV_FILES=\
|
|
|
|
$(DESTDESKTOPENV)$/nativelib$/unix$/exports.dxp \
|
|
|
|
$(DESTDESKTOPENV)$/nativelib$/unix$/Makefile \
|
|
|
|
$(DESTDESKTOPENV)$/nativelib$/unix$/nativeview.c \
|
|
|
|
$(DESTDESKTOPENV)$/nativelib$/unix$/nativeview.h \
|
|
|
|
$(DESTDESKTOPENV)$/nativelib$/windows$/exports.dxp \
|
|
|
|
$(DESTDESKTOPENV)$/nativelib$/windows$/Makefile \
|
|
|
|
$(DESTDESKTOPENV)$/nativelib$/windows$/nativeview.c \
|
|
|
|
$(DESTDESKTOPENV)$/nativelib$/windows$/nativeview.h \
|
|
|
|
$(DESTDESKTOPENV)$/CustomizeView.java \
|
|
|
|
$(DESTDESKTOPENV)$/Desk.java \
|
|
|
|
$(DESTDESKTOPENV)$/DocumentView.java \
|
|
|
|
$(DESTDESKTOPENV)$/FunctionHelper.java \
|
|
|
|
$(DESTDESKTOPENV)$/Install.txt \
|
|
|
|
$(DESTDESKTOPENV)$/Interceptor.java \
|
|
|
|
$(DESTDESKTOPENV)$/IOnewayLink.java \
|
|
|
|
$(DESTDESKTOPENV)$/IShutdownListener.java \
|
|
|
|
$(DESTDESKTOPENV)$/JavaWindowPeerFake.java \
|
|
|
|
$(DESTDESKTOPENV)$/Makefile \
|
|
|
|
$(DESTDESKTOPENV)$/NativeView.java \
|
|
|
|
$(DESTDESKTOPENV)$/OfficeConnect.java \
|
|
|
|
$(DESTDESKTOPENV)$/OnewayExecutor.java \
|
|
|
|
$(DESTDESKTOPENV)$/StatusListener.java \
|
|
|
|
$(DESTDESKTOPENV)$/StatusView.java \
|
|
|
|
$(DESTDESKTOPENV)$/ViewContainer.java
|
|
|
|
|
|
|
|
DESTASCIIFILTER=$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/FilterDevelopment$/AsciiFilter
|
|
|
|
ASCIIFILTER_FILES=\
|
|
|
|
$(DESTASCIIFILTER)$/AsciiReplaceFilter.java \
|
|
|
|
$(DESTASCIIFILTER)$/FilterOptions.java \
|
|
|
|
$(DESTASCIIFILTER)$/Makefile \
|
|
|
|
$(DESTASCIIFILTER)$/TypeDetection.xcu
|
|
|
|
|
|
|
|
DESTFILTERDETECTION=$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/FilterDevelopment$/FlatXmlFilterDetection
|
|
|
|
FILTERDETECTION_FILES=\
|
|
|
|
$(DESTFILTERDETECTION)$/fdcomp.cxx \
|
|
|
|
$(DESTFILTERDETECTION)$/filterdetect.cxx \
|
|
|
|
$(DESTFILTERDETECTION)$/filterdetect.hxx \
|
2005-01-31 09:36:07 -06:00
|
|
|
$(DESTFILTERDETECTION)$/FlatXmlTypeDetection.uno.xml \
|
|
|
|
$(DESTFILTERDETECTION)$/FlatXmlTypeDetection.xcu \
|
2003-06-10 04:28:51 -05:00
|
|
|
$(DESTFILTERDETECTION)$/Makefile
|
|
|
|
|
|
|
|
DESTFLATXMLCPP=$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/FilterDevelopment$/FlatXmlFilter_cpp
|
|
|
|
FLATXMLCPP_FILES=\
|
|
|
|
$(DESTFLATXMLCPP)$/FlatXml.cxx \
|
|
|
|
$(DESTFLATXMLCPP)$/FlatXmlFilter_cpp.uno.xml \
|
|
|
|
$(DESTFLATXMLCPP)$/Makefile \
|
2005-01-31 09:36:07 -06:00
|
|
|
$(DESTFLATXMLCPP)$/FlatXmlFilter_cpp.xcu
|
2003-06-10 04:28:51 -05:00
|
|
|
|
|
|
|
DESTFLATXMLJAVA=$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/FilterDevelopment$/FlatXmlFilter_java
|
|
|
|
FLATXMLJAVA_FILES=\
|
|
|
|
$(DESTFLATXMLJAVA)$/Makefile \
|
2005-01-31 09:36:07 -06:00
|
|
|
$(DESTFLATXMLJAVA)$/FlatXmlFilter_java.xcu \
|
2003-06-10 04:28:51 -05:00
|
|
|
$(DESTFLATXMLJAVA)$/FlatXml.java
|
|
|
|
|
|
|
|
DESTLINGUISTIC=$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/Linguistic
|
|
|
|
LINGUISTIC_FILES=\
|
|
|
|
$(DESTLINGUISTIC)$/LinguisticExamples.java \
|
|
|
|
$(DESTLINGUISTIC)$/Makefile \
|
|
|
|
$(DESTLINGUISTIC)$/OneInstanceFactory.java \
|
|
|
|
$(DESTLINGUISTIC)$/PropChgHelper.java \
|
|
|
|
$(DESTLINGUISTIC)$/PropChgHelper_Hyph.java \
|
|
|
|
$(DESTLINGUISTIC)$/PropChgHelper_Spell.java \
|
|
|
|
$(DESTLINGUISTIC)$/SampleHyphenator.java \
|
|
|
|
$(DESTLINGUISTIC)$/SampleSpellChecker.java \
|
|
|
|
$(DESTLINGUISTIC)$/SampleThesaurus.java \
|
|
|
|
$(DESTLINGUISTIC)$/XHyphenatedWord_impl.java \
|
|
|
|
$(DESTLINGUISTIC)$/XMeaning_impl.java \
|
|
|
|
$(DESTLINGUISTIC)$/XPossibleHyphens_impl.java \
|
|
|
|
$(DESTLINGUISTIC)$/XSpellAlternatives_impl.java
|
|
|
|
|
|
|
|
DESTPATHSETTINGS=$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/PathSettings
|
|
|
|
PATHSETTINGS_FILES=\
|
|
|
|
$(DESTPATHSETTINGS)$/Makefile \
|
|
|
|
$(DESTPATHSETTINGS)$/PathSettingsTest.java
|
|
|
|
|
|
|
|
DESTPATHSUBSTITUTION=$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/PathSubstitution
|
|
|
|
PATHSUBSTITUTION_FILES=\
|
|
|
|
$(DESTPATHSUBSTITUTION)$/Makefile \
|
|
|
|
$(DESTPATHSUBSTITUTION)$/PathSubstitutionTest.java
|
|
|
|
|
|
|
|
DESTTERMINATIONTEST=$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/TerminationTest
|
|
|
|
TERMINATION_FILES=\
|
|
|
|
$(DESTTERMINATIONTEST)$/Makefile \
|
|
|
|
$(DESTTERMINATIONTEST)$/TerminateListener.java \
|
|
|
|
$(DESTTERMINATIONTEST)$/TerminationTest.java
|
|
|
|
|
|
|
|
DESTDISABLECOMMANDS=$(DESTDIRDEVGUIDEEXAMPLES)$/OfficeDev$/DisableCommands
|
|
|
|
DISABLECOMMANDS_FILES=\
|
|
|
|
$(DESTDISABLECOMMANDS)$/Makefile \
|
|
|
|
$(DESTDISABLECOMMANDS)$/DisableCommandsTest.java
|
|
|
|
|
2003-08-27 10:45:06 -05:00
|
|
|
DIR_FILE_LIST= \
|
2003-06-10 04:28:51 -05:00
|
|
|
$(OFFICEDEV_FILES) \
|
|
|
|
$(CLIPBOARD_FILES) \
|
|
|
|
$(DESKTOPENV_FILES) \
|
|
|
|
$(ASCIIFILTER_FILES) \
|
|
|
|
$(FILTERDETECTION_FILES) \
|
|
|
|
$(FLATXMLCPP_FILES) \
|
|
|
|
$(FLATXMLJAVA_FILES) \
|
|
|
|
$(LINGUISTIC_FILES) \
|
|
|
|
$(PATHSETTINGS_FILES) \
|
|
|
|
$(PATHSUBSTITUTION_FILES) \
|
|
|
|
$(TERMINATION_FILES) \
|
|
|
|
$(DISABLECOMMANDS_FILES)
|
|
|
|
|
2003-08-27 10:45:06 -05:00
|
|
|
DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d))
|
|
|
|
DIR_CREATE_FLAG=$(MISC)$/devguide_officedev_dirs_created.txt
|
|
|
|
DIR_FILE_FLAG=$(MISC)$/devguide_officedev.txt
|
2003-06-10 04:28:51 -05:00
|
|
|
|
|
|
|
#--------------------------------------------------
|
|
|
|
# TARGETS
|
|
|
|
#--------------------------------------------------
|
|
|
|
all : \
|
2003-08-27 10:45:06 -05:00
|
|
|
$(DIR_FILE_LIST) \
|
|
|
|
$(DIR_FILE_FLAG)
|
2003-06-10 04:28:51 -05:00
|
|
|
|
|
|
|
#--------------------------------------------------
|
|
|
|
# use global rules
|
|
|
|
#--------------------------------------------------
|
|
|
|
.INCLUDE: $(PRJ)$/util$/odk_rules.pmk
|
|
|
|
|