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 24# MODULE is the name of the module the makefile is located in 25 26# TYPE is an arbitrary name that should denote what is inside this package 27# typical names are "inc", "uiconfig", "xml" etc. 28# "MODULE_TYPE" is the package name 29# the file name of the corresponding makefile should be Package_TYPE.mk 30# SOURCE is the name of the root folder of the package that shall be delivered 31$(eval $(call gb_Package_Package,MODULE_TYPE,$(SRCDIR)/MODULE/SOURCE)) 32 33# add files to the package 34# SOURCE_RELPATH/file.ext is the name of the source file (relative to the root give above) 35# DESTINATION_RELPATH/file.ext is the destination file (relative to $(OUTDIR)) 36$(eval $(call gb_Package_add_file,MODULE_TYPE,DESTINATION_RELPATH/file.ext,SOURCE_RELPATH/file.ext)) 37 38# vim: set noet sw=4 ts=4: 39