xref: /aoo41x/main/solenv/inc/extension_pre.mk (revision 2afa2055)
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
24EXTENSIONDIR*:=$(MISC)/$(EXTENSIONNAME)
25
26COMPONENT_CONFIGDIR*:=.
27COMPONENT_CONFIGDEST*:=registry/data
28COMPONENT_CONFIGDESTSCHEMA*:=registry/schema
29
30.IF "$(COMPONENT_COPYONLY)"==""
31DESCRIPTION:=$(EXTENSIONDIR)/description.xml
32DESCRIPTION_SRC*:=description.xml
33
34COMPONENT_MANIFEST*:=$(EXTENSIONDIR)/META-INF/manifest.xml
35MANIFEST_SRC*:=manifest.xml
36
37PACKLICS*:=$(EXTENSIONDIR)/registration/LICENSE
38COMPONENT_LIC_TEMPL*:=registration/LICENSE
39
40#TODO:  check ZIP9TARGET for previous use!
41common_build_zip=
42MANIFEST_DEPS=	$(PACKLICS) $(DESCRIPTION) $(COMPONENT_FILES) $(COMPONENT_LIBRARIES) $(COMPONENT_JARFILES) $(COMPONENT_MERGED_XCU) $(EXTENSION_PACKDEPS)
43ZIP9DEPS=		$(PACKLICS) $(DESCRIPTION) $(COMPONENT_XCU) $(COMPONENT_FILES) $(COMPONENT_LIBRARIES) $(COMPONENT_MANIFEST) $(COMPONENT_JARFILES) $(COMPONENT_MERGED_XCU) $(EXTENSION_PACKDEPS)
44ZIP9TARGET=		$(EXTENSION_ZIPNAME)
45ZIP9DIR=		$(EXTENSIONDIR)
46ZIP9EXT=		.oxt
47ZIP9FLAGS=-r
48ZIP9LIST=		*
49.ENDIF			# "$(COMPONNENT_COPYONLY)"==""
50
51