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#**************************************************************
21OUT_COMP_CLASS = $(OUT_CLASS)/ComponentThumbsExample
22OUT_COMP_GEN = $(OUT_MISC)/ComponentThumbsExample
23
24COMP_NAME=ImageShrink
25COMP_RDB_NAME = $(COMP_NAME).uno.rdb
26COMP_RDB = $(OUT_COMP_GEN)/$(COMP_RDB_NAME)
27COMP_PACKAGE = $(OUT_BIN)/$(COMP_NAME).$(UNOOXT_EXT)
28COMP_PACKAGE_URL = $(subst \\,\,"$(COMP_PACKAGE_DIR)$(PS)$(COMP_NAME).$(UNOOXT_EXT)")
29COMP_JAR_NAME = $(COMP_NAME).uno.jar
30COMP_JAR = $(OUT_COMP_CLASS)/$(COMP_JAR_NAME)
31COMP_MANIFESTFILE = $(OUT_COMP_CLASS)/$(COMP_NAME).uno.Manifest
32COMP_UNOPKG_MANIFEST = $(OUT_COMP_CLASS)/$(COMP_NAME)/META-INF/manifest.xml
33REGISTERFLAG = $(OUT_MISC)$(PS)devguide_$(COMP_NAME)_register_component.flag
34COMP_COMPONENTS=$(COMP_NAME).components
35
36IDL_PACKAGE=org/openoffice/test
37
38IDLFILES = XImageShrink.idl \
39	XImageShrinkFilter.idl \
40	ImageShrink.idl
41
42GENCLASSFILES = $(patsubst %.idl,$(OUT_COMP_CLASS)/$(IDL_PACKAGE)/%.class,$(IDLFILES))
43GENCLASSNAMES = $(patsubst %.idl,$(IDL_PACKAGE)/%.class,$(IDLFILES))
44GENTYPELIST = $(subst /,.,$(patsubst %.idl,-T$(IDL_PACKAGE)/% ,$(IDLFILES)))
45GENURDFILES = $(patsubst %.idl,$(OUT_COMP_GEN)/%.urd,$(IDLFILES))
46
47APP1_NAME=Thumbs
48APP1_JAR=$(OUT_COMP_CLASS)/$(APP1_NAME).jar
49