Get the style color and number just once
[LibreOffice.git] / odk / examples / DevelopersGuide / Components / Thumbs / thumbs.mk
blob07f9bfea9848fb5cd35483e40c34bdbda099da3c
2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 OUT_COMP_CLASS = $(OUT_CLASS)/ComponentThumbsExample
20 OUT_COMP_GEN = $(OUT_MISC)/ComponentThumbsExample
22 COMP_NAME=ImageShrink
23 COMP_RDB_NAME = $(COMP_NAME).uno.rdb
24 COMP_RDB = $(OUT_COMP_GEN)/$(COMP_RDB_NAME)
25 COMP_PACKAGE = $(OUT_BIN)/$(COMP_NAME).$(UNOOXT_EXT)
26 COMP_PACKAGE_URL = $(subst \\,\,"$(COMP_PACKAGE_DIR)$(PS)$(COMP_NAME).$(UNOOXT_EXT)")
27 COMP_JAR_NAME = $(COMP_NAME).uno.jar
28 COMP_JAR = $(OUT_COMP_CLASS)/$(COMP_JAR_NAME)
29 COMP_MANIFESTFILE = $(OUT_COMP_CLASS)/$(COMP_NAME).uno.Manifest
30 COMP_UNOPKG_MANIFEST = $(OUT_COMP_CLASS)/$(COMP_NAME)/META-INF/manifest.xml
31 REGISTERFLAG = $(OUT_MISC)$(PS)devguide_$(COMP_NAME)_register_component.flag
32 COMP_COMPONENTS=$(COMP_NAME).components
34 IDL_PACKAGE=org/openoffice/test
36 IDLFILES = XImageShrink.idl \
37 XImageShrinkFilter.idl \
38 ImageShrink.idl
40 GENCLASSFILES = $(patsubst %.idl,$(OUT_COMP_CLASS)/$(IDL_PACKAGE)/%.class,$(IDLFILES))
41 GENCLASSNAMES = $(patsubst %.idl,$(IDL_PACKAGE)/%.class,$(IDLFILES))
42 GENTYPELIST = $(subst /,.,$(patsubst %.idl,-T$(IDL_PACKAGE)/% ,$(IDLFILES)))
44 APP1_NAME=Thumbs
45 APP1_JAR=$(OUT_COMP_CLASS)/$(APP1_NAME).jar