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 # Builds the Component Thumbs of the Developers Guide. 23 24 PRJ=../../../.. 25 SETTINGS=$(PRJ)/settings 26 27 include $(SETTINGS)/settings.mk 28 include $(SETTINGS)/std.mk 29 include $(SETTINGS)/dk.mk 30 31 include thumbs.mk 32 33 SUBDIRS= org/openoffice/test org/openoffice/comp/test 34 35 # Targets 36 .PHONY: ALL 37 ALL : \ 38 $(SUBDIRS) \ 39 ComponentsThumbsExample 40 41 include $(SETTINGS)/stdtarget.mk 42 43 .PHONY : $(SUBDIRS) 44 $(SUBDIRS) : 45 $(MAKE) -C $@ 46 47 org/openoffice/comp/test : org/openoffice/test 48 49 ComponentsThumbsExample : $(COMP_PACKAGE) 50 @echo -------------------------------------------------------------------------------- 51 @echo Please use one of the following commands to execute the example! 52 @echo - 53 @echo $(MAKE) $(APP1_NAME).run 54 @echo -------- 55 @echo The ImageShrink Java component was installed if SDK_AUTO_DEPLOYMENT = YES. 56 @echo You can use this component inside your office installation, see the example 57 @echo description. 58 @echo -------------------------------------------------------------------------------- 59 60 %.run: $(OUT_COMP_CLASS)/%.jar 61 $(SDK_JAVA) -Dcom.sun.star.lib.loader.unopath="$(OFFICE_PROGRAM_PATH)" -jar $< 62 63 .PHONY: clean 64 clean : 65 $(MAKE) -C org/openoffice/test clean 66 $(MAKE) -C org/openoffice/comp/test clean 67 -$(DELRECURSIVE) $(subst /,$(PS),$(OUT_COMP_CLASS)) 68 -$(DELRECURSIVE) $(subst /,$(PS),$(OUT_COMP_GEN)) 69