1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=..$/..$/.. 25PRJNAME=odk 26TARGET=copying 27 28#---------------------------------------------------------------- 29.INCLUDE: settings.mk 30.INCLUDE: $(PRJ)$/util$/makefile.pmk 31#---------------------------------------------------------------- 32 33#---------------------------------------------------- 34# this makefile is only used for copying the example 35# files into the SDK 36#---------------------------------------------------- 37 38CPPBINDING_FILES=\ 39 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/CppBinding$/Makefile \ 40 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/CppBinding$/office_connect.cxx \ 41 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/CppBinding$/office_connect.ini \ 42 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/CppBinding$/office_connectrc \ 43 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/CppBinding$/string_samples.cxx 44 45INTERPROCESSCONN_FILES=\ 46 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/InterprocessConn$/ConnectionAwareClient.java \ 47 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/InterprocessConn$/Makefile \ 48 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/InterprocessConn$/UrlResolver.java 49 50LIFETIME_FILES=\ 51 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/Lifetime$/Makefile \ 52 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/Lifetime$/MyUnoObject.java \ 53 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/Lifetime$/object_lifetime.cxx 54 55SIMPLEBOOTSTRAP_JAVA_FILES=\ 56 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/SimpleBootstrap_java$/SimpleBootstrap_java.java \ 57 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/SimpleBootstrap_java$/manifest.mf \ 58 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/SimpleBootstrap_java$/Makefile 59 60SIMPLEBOOTSTRAP_CPP_FILES=\ 61 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/SimpleBootstrap_cpp$/SimpleBootstrap_cpp.cxx \ 62 $(DESTDIRDEVGUIDEEXAMPLES)$/ProfUNO$/SimpleBootstrap_cpp$/Makefile 63 64DIR_FILE_LIST= \ 65 $(CPPBINDING_FILES) \ 66 $(INTERPROCESSCONN_FILES) \ 67 $(LIFETIME_FILES) \ 68 $(SIMPLEBOOTSTRAP_JAVA_FILES) \ 69 $(SIMPLEBOOTSTRAP_CPP_FILES) 70 71DIR_DIRECTORY_LIST=$(uniq $(DIR_FILE_LIST:d)) 72DIR_CREATE_FLAG=$(MISC)$/devguide_profuno_dirs_created.txt 73DIR_FILE_FLAG=$(MISC)$/devguide_profuno.txt 74 75#-------------------------------------------------- 76# TARGETS 77#-------------------------------------------------- 78all : \ 79 $(DIR_FILE_LIST) \ 80 $(DIR_FILE_FLAG) 81 82#-------------------------------------------------- 83# use global rules 84#-------------------------------------------------- 85.INCLUDE: $(PRJ)$/util$/odk_rules.pmk 86 87$(DESTDIREXAMPLES)$/%$/office_connectrc : $(PRJ)$/examples$/%$/office_connectrc 88 -$(MKDIRHIER) $(@:d) 89 @@-rm -f $@ 90 $(MY_TEXTCOPY) $(MY_TEXTCOPY_SOURCEPRE) $< $(MY_TEXTCOPY_TARGETPRE) $@ 91 92