summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-02-27 00:17:12 +0100
committerMichael Stahl <mstahl@redhat.com>2013-02-27 01:33:19 +0100
commitba8372449befc6c534ab9596d7a3fd1e66884d61 (patch)
tree3720f36a01abb91820156a5b9d4417e72fa6bdb0 /registry
parent836bde622df9cf0c50b598abe80bccda05d36be5 (diff)
registry: new ZipPackage_registry_odk_headers
Change-Id: I0730e0a354ec952cdb67d1b22067ab59c86334c0
Diffstat (limited to 'registry')
-rw-r--r--registry/Library_reg.mk2
-rw-r--r--registry/Module_registry.mk2
-rw-r--r--registry/Package_inc.mk43
-rw-r--r--registry/ZipPackage_registry_odk_headers.mk45
4 files changed, 47 insertions, 45 deletions
diff --git a/registry/Library_reg.mk b/registry/Library_reg.mk
index 375f162a5a91..1c79a0048191 100644
--- a/registry/Library_reg.mk
+++ b/registry/Library_reg.mk
@@ -29,7 +29,7 @@ $(eval $(call gb_Library_Library,reg))
$(eval $(call gb_Library_set_soversion_script,reg,3,$(SRCDIR)/registry/util/reg.map))
$(eval $(call gb_Library_use_packages,reg,\
- registry_inc \
+ registry_odk_headers \
))
$(eval $(call gb_Library_add_defs,reg,\
diff --git a/registry/Module_registry.mk b/registry/Module_registry.mk
index 0ad522678c7c..fce6fa434594 100644
--- a/registry/Module_registry.mk
+++ b/registry/Module_registry.mk
@@ -28,7 +28,7 @@ $(eval $(call gb_Module_Module,registry))
$(eval $(call gb_Module_add_targets,registry,\
Library_reg \
- Package_inc \
+ ZipPackage_registry_odk_headers \
))
ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
diff --git a/registry/Package_inc.mk b/registry/Package_inc.mk
deleted file mode 100644
index 6d67701bf73e..000000000000
--- a/registry/Package_inc.mk
+++ /dev/null
@@ -1,43 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-# Version: MPL 1.1 / GPLv3+ / LGPLv3+
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License or as specified alternatively below. You may obtain a copy of
-# the License at http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# Major Contributor(s):
-# Copyright (C) 2012 David Ostrovsky <d.ostrovsky@gmx.de> (initial developer)
-#
-# All Rights Reserved.
-#
-# For minor contributions see the git repository.
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
-# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
-# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
-# instead of those above.
-
-$(eval $(call gb_Package_Package,registry_inc,$(SRCDIR)/registry/inc/registry))
-
-$(eval $(call gb_Package_add_file,registry_inc,inc/registry/reader.h,reader.h))
-$(eval $(call gb_Package_add_file,registry_inc,inc/registry/reader.hxx,reader.hxx))
-$(eval $(call gb_Package_add_file,registry_inc,inc/registry/reflread.hxx,reflread.hxx))
-$(eval $(call gb_Package_add_file,registry_inc,inc/registry/refltype.hxx,refltype.hxx))
-$(eval $(call gb_Package_add_file,registry_inc,inc/registry/reflwrit.hxx,reflwrit.hxx))
-$(eval $(call gb_Package_add_file,registry_inc,inc/registry/regdllapi.h,regdllapi.h))
-$(eval $(call gb_Package_add_file,registry_inc,inc/registry/registry.h,registry.h))
-$(eval $(call gb_Package_add_file,registry_inc,inc/registry/registry.hxx,registry.hxx))
-$(eval $(call gb_Package_add_file,registry_inc,inc/registry/regtype.h,regtype.h))
-$(eval $(call gb_Package_add_file,registry_inc,inc/registry/types.h,types.h))
-$(eval $(call gb_Package_add_file,registry_inc,inc/registry/version.h,version.h))
-$(eval $(call gb_Package_add_file,registry_inc,inc/registry/writer.h,writer.h))
-$(eval $(call gb_Package_add_file,registry_inc,inc/registry/writer.hxx,writer.hxx))
-
-# vim: set noet sw=4 ts=4:
diff --git a/registry/ZipPackage_registry_odk_headers.mk b/registry/ZipPackage_registry_odk_headers.mk
new file mode 100644
index 000000000000..ca0d7388e139
--- /dev/null
+++ b/registry/ZipPackage_registry_odk_headers.mk
@@ -0,0 +1,45 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License or as specified alternatively below. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 David Ostrovsky <d.ostrovsky@gmx.de> (initial developer)
+#
+# All Rights Reserved.
+#
+# For minor contributions see the git repository.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+
+$(eval $(call gb_ZipPackage_ZipPackage,registry_odk_headers,$(SRCDIR)/registry/inc/registry))
+
+$(eval $(call gb_ZipPackage_add_files,registry_odk_headers,inc/registry,include/registry,\
+ reader.h \
+ reader.hxx \
+ reflread.hxx \
+ refltype.hxx \
+ reflwrit.hxx \
+ regdllapi.h \
+ registry.h \
+ registry.hxx \
+ regtype.h \
+ types.h \
+ version.h \
+ writer.h \
+ writer.hxx \
+))
+
+# vim: set noet sw=4 ts=4: