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 = reportbuilder
26TARGET= rpt_java_css_metadata
27PACKAGE = com$/sun$/star$/report$/function$/metadata
28
29# --- Settings -----------------------------------------------------
30.INCLUDE: settings.mk
31#----- compile .java files -----------------------------------------
32
33.IF "$(SYSTEM_JFREEREPORT)" == "YES"
34EXTRAJARFILES = $(LIBBASE_JAR) $(LIBFORMULA_JAR)
35.ELSE
36.INCLUDE :  $(SOLARBINDIR)/jfreereport_version.mk
37JARFILES += \
38	libbase-$(LIBBASE_VERSION).jar                      \
39	libformula-$(LIBFORMULA_VERSION).jar
40.ENDIF
41
42JAVAFILES       :=	AuthorFunction.java \
43					AuthorFunctionDescription.java \
44			        TitleFunction.java \
45					TitleFunctionDescription.java \
46					MetaDataFunctionCategory.java
47
48COPYFILES := $(CLASSDIR)$/$(PACKAGE)$/category.properties \
49				 $(CLASSDIR)$/$(PACKAGE)$/Title-Function.properties\
50				$(CLASSDIR)$/$(PACKAGE)$/category_en_US.properties \
51                $(CLASSDIR)$/$(PACKAGE)$/Author-Function.properties \
52				$(CLASSDIR)$/$(PACKAGE)$/Author-Function_en_US.properties \
53				$(CLASSDIR)$/$(PACKAGE)$/Title-Function_en_US.properties
54
55ALLTAR : $(COPYFILES)
56# --- Targets ------------------------------------------------------
57.INCLUDE :  target.mk
58
59$(COPYFILES): $$(@:f)
60	+$(MKDIRHIER) $(CLASSDIR)$/$(PACKAGE)
61    +$(COPY) $< $@
62
63