Mesa: remove Package_inc

Change-Id: Ie87b9b2d7dc87ee60c072a2cf80cda5b191d1209
This commit is contained in:
Michael Stahl
2013-05-06 17:43:54 +02:00
parent e264ff550f
commit 6b2ce087e1
13 changed files with 4 additions and 30 deletions

View File

@@ -9,10 +9,4 @@
$(eval $(call gb_Module_Module,Mesa))
ifeq ($(SYSTEM_MESA_HEADERS),NO)
$(eval $(call gb_Module_add_targets,Mesa,Package_inc))
endif
# vim: set noet sw=4:

View File

@@ -1,23 +0,0 @@
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Package_Package,Mesa_inc,$(SRCDIR)/Mesa/inc))
$(eval $(call gb_Package_add_file,Mesa_inc,inc/GL/glext.h,glext.h))
$(eval $(call gb_Package_add_file,Mesa_inc,inc/GL/gl.h,gl.h))
$(eval $(call gb_Package_add_file,Mesa_inc,inc/GL/gl_mangle.h,gl_mangle.h))
$(eval $(call gb_Package_add_file,Mesa_inc,inc/GL/glu.h,glu.h))
$(eval $(call gb_Package_add_file,Mesa_inc,inc/GL/glu_mangle.h,glu_mangle.h))
$(eval $(call gb_Package_add_file,Mesa_inc,inc/GL/glxext.h,glxext.h))
$(eval $(call gb_Package_add_file,Mesa_inc,inc/GL/glx.h,glx.h))
$(eval $(call gb_Package_add_file,Mesa_inc,inc/GL/glx_mangle.h,glx_mangle.h))
$(eval $(call gb_Package_add_file,Mesa_inc,inc/GL/vms_x_fix.h,vms_x_fix.h))
$(eval $(call gb_Package_add_file,Mesa_inc,inc/GL/wglext.h,wglext.h))
# vim: set noet sw=4:

View File

@@ -78,7 +78,10 @@ gb_LinkTarget__use_mesa_headers :=
else
define gb_LinkTarget__use_mesa_headers
$(eval $(call gb_LinkTarget_use_package,$(1),Mesa_inc))
$(call gb_LinkTarget_set_include,$(1),\
-I$(SRCDIR)/Mesa/inc \
$$(INCLUDE) \
)
endef